服务端版本 Paper1.18.2
找一个能设置每个世界禁止某些命令的插件
找一个能设置每个世界禁止某些命令的插件
[未知之域]CommandBan——更好的禁止指令插件![全版本]
https://www.mcbbs.net/thread-789681-1-1.html
(出处: Minecraft(我的世界)中文论坛)
https://www.mcbbs.net/thread-789681-1-1.html
(出处: Minecraft(我的世界)中文论坛)
https://www.spigotmc.org/resourc ... rld-1-7-1-19.97003/
站外,但是严格切题“世界指令限制”
站外,但是严格切题“世界指令限制”
如果是JAVA的话,可以使用CrT,安装后启动游戏会生成一个scripts的文件夹。以禁止kill和give为例,新建一个.zs文件:
import crafttweaker.events.IEventManager;
import crafttweaker.event.CommandEvent;
events.onCommand(function(event as CommandEvent) {
if (!event.commandSender.world.remote) {
if (event.command.name == "gamemode" && (event.parameters in "1" || event.parameters in "creative")) {
event.cancel();
}
}
if (event.command.name == "kill" || event.command.name == "give") {
event.cancal();
}
});
附CrT链接:https://crt.imc.wiki/Zen/
import crafttweaker.events.IEventManager;
import crafttweaker.event.CommandEvent;
events.onCommand(function(event as CommandEvent) {
if (!event.commandSender.world.remote) {
if (event.command.name == "gamemode" && (event.parameters in "1" || event.parameters in "creative")) {
event.cancel();
}
}
if (event.command.name == "kill" || event.command.name == "give") {
event.cancal();
}
});
附CrT链接:https://crt.imc.wiki/Zen/
https://www.spigotmc.org/resourc ... %94%EF%B8%8F.77112/
这个挺好用的。还能禁止tab补全
这个挺好用的。还能禁止tab补全
禁止世界命令(CommandBlocker)插件
http://www.minecraftxz.com/CommandBlocker/
适用版本:1.16.X 1.15.X 1.14.X 1.13.X 1.12 1.11 1.10 1.9 1.8 1.7.10
http://www.minecraftxz.com/CommandBlocker/
适用版本:1.16.X 1.15.X 1.14.X 1.13.X 1.12 1.11 1.10 1.9 1.8 1.7.10