介绍
Client Execution
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)
you can also use /commandlock and /commandunlock to stop players running specific commands. For example, /commandlock @a me will stop anyone running /me (however, it would also block a /message, since it just checks if the entered command starts with any of the locks). command locks are reset on relog
Notes for the plugin version:
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!
the permission nodes for command locking are client_execution.commandlock and client_execution.commandunlock
常见问题
Client Execution 支持哪些 Minecraft 版本?
Client Execution 支持 Minecraft Java 版 1.20–26.3,共 24 个版本,可用的加载器:Fabric / Paper / Spigot。下载时注意选择和你游戏版本一致的文件。
Client Execution 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Paper / Spigot,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
Nettakrim 的其他作品
查看全部 →Spyglass Astronomy
在交互性更强、经过改良的夜空中绘制属于你自己的星座。 沉浸式重制太空天空盒,加入行星和更加绚丽的星空。
Signed Paintings
Display web images as vanilla-like paintings using signs, Scale images automatically for a pixelated look!
Plane Advancements
Rearranges Advancements to make better use of space, and look a little more like the old Acheivements
Fishing Ruler
Measure distances with the fishing rod and know if you can fish up treasure!
评论
登录后评论和评分