一个简单的小功能,禁止在别人的领地创建领地。
放置熊孩子操作导致地皮主人损失。
|
构建环境:
- skript: 因为是Skript脚本,所以安装Skript是必须的。
- PlotSquared:目前只写了这种地皮插件,如果需要其他地皮兼容可以联系我。
- PlaceholderAPI:安装后输入/papi ecloud download PlotSquared下载模块,再输入/papi reload 加载新下载的模块。
- TabooSK:怀黑的附属插件,帮助SK获取PAPI变量。
复制代码
|
安装脚本:
| 把脚本本体扔进./plugins/skript/scripts |
|
下载源文件:
源码:
查看的同时请留下一波素质森林!
- on skript start:
- send "PlotBanRescreate 成功加载" to the console
- on server stop:
- send "PlotBanRescreate 成功卸载" to the console
- #正文
- on command "res create":
- if world is "plot":
- set {_dipi} to placeholder "plotsquared_currentplot_owner" with player
- if {_dipi} is not player:
- cancel the event
- send "&7[&c!&7] &c你只能在自己的地皮创建领地"
复制代码
|
|
|