Sets the current value of the indicated mode type to the passed value.
type
Player instance
The new value for the type