Related Commands
About 435 wordsAbout 1 min
CommandsServer ManagementModel Creation
2025-02-05
The Yes Steve Model mod also provides a number of commands. Most of these commands require OP 2 permissions to execute.
All commands have an in-game hint function. All model IDs and player IDs can be intelligently suggested.
Main Commands
These commands can be executed on both the server and the client.
/ysm model reload
Reload all model files: It will also synchronize the model files to all client players at the same time./ysm model set <player> <model_id> <texture_id> [ignore_auth]
Assign a specific model and texture to a player. The lastignore_auth
parameter is optional. When set to true, it will ignore the model authorization and force the model to be assigned to the player./ysm play <player> <animation_name>
Force a player to play an animation./ysm play <player> stop
Clear the animation that was previously forced to be played by the player./ysm auth <player> all
Authorize all models to a player./ysm auth <player> clear
Clear all authorized models for a player./ysm auth <player> add <model_id>
Authorize a specific model to a player./ysm auth <player> remove <model_id>
Remove the authorization of a specific model for a player./ysm export <model_id> [extra_info]
Export a model to the YSM exclusive model format. You can also add additional information./ysm ping
Test the connectivity between the client and the server. If the message "The server mod and the client version are inconsistent" appears, you can execute this command. This command has no permission requirements./ysm molang execute <player> <expr>
Execute molang on a specified player. It can be used in multiplayer games, but the execution result will not be printed.
Client Commands
These commands are only executed on the client and are used by model creators to debug animations.
/ysmclient molang execute <expr>
Execute a molang expression on the local player and output the result to the chat box./ysmclient molang watch add [pre|post] <name> <expr>
Add a molang expression to the custom debug screen, which will be calculated and updated in real time.pre
is executed before the animation is updated, andpost
is executed after the animation is updated.- In versions 2.2.2 and earlier, you need to press
Alt
+B
twice to enter the custom debug screen. - In versions 2.3.0 and later, you only need to press
Alt
+B
once to enter the custom debug screen.
/ysmclient molang watch remove <name>
Remove a previously added molang expression./ysmclient molang watch clear
Clear all previously added molang expressions.