作者:rebot | 分类:模组
Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11
平台: paper spigot
标签: utility
required on both server and client (although it shouldnt crash anything if only client/only server has it)
adds a new command /executeclient for running client only commands from the server
the syntax is /executeclient <targets> <command>
the / is automatically included, eg /executeclient @r soup:random runs /soup:random from Souper Secret Settings (as long as the client has it installed), and /executeclient @p /calc would run //calc from WorldEdit
it runs the command as if the client typed it themselves, so it can also run server side commands, but only if the player running the command has the permission level needed for that command. (the command itself has the same permission level as /execute)
the permission node is client_execution.executeclient, and it only works with specifically mentioned players and @a - so /executeclient Steve soup:random works, but /executeclient @p soup:random or /execute as Steve run executeclient @s soup:random do not! this is an important difference!
请登录后举报
暂无评论,抢个沙发吧~