这个插件是我一个多月前制作的,它为新手玩家(或者说那些不太小心的玩家)提供了一段加入服务器后的保护期,在此期间他们死亡时不会掉落物品或经验值。我最初产生这个想法是因为在我的服务器上,有玩家反复死亡,但我不想为所有人开启“保留物品”功能,因为我觉得这样会让那些已经熟悉游戏、技术娴熟的玩家过于轻松。
命令:
/kiojtoggle:切换保护功能的开启或关闭状态。
/kiojreset:重置某位玩家的保护期。
/kiojsettime:设置某位玩家的保护期时长。
/kiojquery:查询某位玩家的保护期剩余时间。
权限节点:
普通非管理员玩家无需任何权限,插件开箱即用;但若需使用配置插件的命令,则需要相应的权限节点:
kiojtoggle:kioj.toggle
kiojreset:kioj.reset
kiojsettime:kioj.settime
kiojquery:kioj.query
配置文件选项:
在 KeepInventoryOnJoin/config.yml 中可以自定义多个参数:
inventoryCountdownInSeconds:新玩家获得保护期的秒数。
firstJoinSound:当新玩家加入服务器且其保护期开始时播放的音效。
此外,还可以在 KeepInventoryOnJoin/lang.yml 中自定义提示信息。
演示视频见我的 YouTube 频道:
This plugin that I made a bit over a month ago, gives new players, or well, silly ones, a grace period after they join, where they won't drop their items, or xp when they die. I originally got the idea to do this, when I had players on my server dying over and over again, but I didn't want to enable keep inventory for everyone, since I felt that would make it too easy for players that are already established, and skilled at what they do.
Commands:
/kiojtoggle: Toggle the protection on or off.
/kiojreset: Reset the grace period for a player.
/kiojsettime: Set the grace period for a player.
/kiojquery: Query the time for a player.
Permission nodes:
None needed for any non-admin players, the plugin will work for them out of the box, however for commands to configure the plugin, permission nodes will be required:
kiojtoggle: kioj.toggle
kiojreset: kioj.reset
kiojsettime: kioj.settime
kiojquery: kioj.query
Config options:
Several values can be customised under KeepInventoryOnJoin/config.yml
inventoryCountdownInSeconds: How much time in seconds, do new players get for their grace period.
firstJoinSound: The sound to play when a new player joins, and their grace period starts.
Messages can also be customised under KeepInventoryOnJoin/lang.yml
Demonstrated on my YouTube channel:
评论 0
登录后参与评分
还没有评论,来抢沙发吧