Client Execution
The Client Execution modification opens new possibilities for interaction between server and client, allowing execution of client-side commands directly from the server.
Core Functionality
This mod adds a special command /executeclient with the following syntax: /executeclient <targets> <command>. You don't need to include the slash at the beginning of the command - the system adds it automatically. For example, the command /executeclient @r soup:random will execute the client-side command /soup:random from Souper Secret Settings mod, while /executeclient @p /calc will launch the WorldEdit command //calc.
Important Features
The mod needs to be installed on both server and client, though having the mod only on one side shouldn't cause crashes. All commands are executed as if entered by the player themselves, which means - for server-side commands to work, the player must have appropriate access permissions. The permission level for the /executeclient command itself is the same as for the standard /execute command.
For Plugin Versions
In the plugin version, the permission node client_execution.executeclient is used. Important difference: the command only works with specifically mentioned player names and the @a selector. For example, /executeclient Steve soup:random will work correctly, but variations with @p or constructs like /execute as Steve run executeclient @s soup:random will not.