-
-
Notifications
You must be signed in to change notification settings - Fork 51
The cpm command
Note
This is the server-side CPM command see the client-side /cpmclient
command here
Usage /cpm setskin [-f|-t|-r] <target> <base64 model>
Flags:
- -f: Force set model, player can't change their own model.
- -t: Temporary model, set model will be cleared when the player logs out.
- -r: Reset model, remove server set model
Target: the player to set the model to
Base64 model: model exported with the Base64 option.
See: Base64 exports
Subcommands:
Usage: /cpm safety recommend <enable>
Enable sending safety settings recommendations. The options can be set using the set command.
Usage: /cpm safety set <option> <value>
Set recommended safety settings
Controls the kick users without the mod feature.
Subcommands:
Usage: /cpm kick enable <kick time>
Kick users without the mod installed, after the kick time (in ticks).
Usage: /cpm kick disable
Disable the kick feature
Usage: /cpm kick message <message...>
Set the kick message
Usage: /cpm scaling <scaling option>
Subcommands:
Usage: /cpm scaling <scaling option> limit [player] <max>
or /cpm scaling <scaling option> limit [player] <min> <max>
Set the scaling limit for scaling option
. Optionally can be set per player using the player argument, leave empty for global setting.
Usage: /cpm scaling <scaling option> enabled [player] <enable>
Enable scaling for scaling option
. Optionally can be set per player using the player argument, leave empty for global setting.
Usage: /cpm scaling <scaling option> method [player] <method>
Set the scaling method for scaling option
.
Supported options:
-
disable
method acts like if the scaling mod isn't installed. -
default
pick the server default scaler. -
attribute
use vanilla attributes -
pehkui
use the Pehkui to scale (when installed) - See the scaling page for other supported mods.
Usage: /cpm scaling reset <player>
Reset the scaling for the selected player.
Usage: /cpm animate <target> <animation name> [value (0-255)]
Play the animation for the target player(s).
Value: 0: reset pose/gesture, 1: play pose/gesture, for layers value: 0-255, toggle: 0-1 or leave empty to switch state.
Usage: /cpm effects <effect> <options...>
Available effects:
-
invisible_glow <true/false>
: Enable rendering the glowing layers for invisible players. On by default. Only has an effect after re-logging.
Usage: /cpm detect <target> <animation name> [value (0-255)]
Detect if the given animation is playing
If the value
parameter is present then the command checks if the animation value is equal to the parameter
Customizable Player Models Wiki