Have object authority for all players on multiplayer server?

They are addforces to a rigidbody.

Here is the code for it

    [Command]
        void CmdShoot()
{
BallRigidBody.AddForce((PlayerBody.transform.forward) * ShotPowerCurrent, ForceMode.Impulse);
            BallRigidBody.AddForce((PlayerBody.transform.up) * ShotHeight, ForceMode.Impulse);
}