你好,这是我的第一个插件。它名为 Player Warning。当你发现玩家违反了规则,但又不想对其进行临时或永久封禁时,可以使用该插件向玩家发出警告。
命令
- /plw - 主命令。
- /plwhelp - 显示帮助页面
- /plwcheck [玩家名称] - 显示某玩家的警告记录。
- /plwarn [玩家名称] [原因] - 为玩家发出警告并说明原因。
- /plwunwarn [玩家名称] [原因] - 删除玩家的某条警告。
[] 中的内容为必填项。
权限
- plw.help
- plw.warn
- plw.check
- plw.unwarn
- plw.admin
- 默认值: op
- 子权限:
- plw.help: true
- plw.warn: true
- plw.check: true
- plw.unwarn: true
- plw.default:
- 默认值: true
- 子权限:
- plw.help: true
- plw.warn: false
- plw.check: true
- plw.unwarn: false
更新日志
3.4.0 - 迟来的更新;抱歉各位,这个版本我准备了很久,一直忘了发布。此外,我也尝试对命令进行了更多优化,现在终于发布了。
3.3.0 - 修复了 plugin.yml 的错误
3.2.0 - 更改了名称。
3.1.0 - 你现在可以为一条警告原因输入最多 11 个单词,你不需要再使用下划线了。
3.0.0 - 现在可以正常工作了。移除了配置文件中的命令,并将 config 文件替换为 warnings.yml 文件,你可以在其中查看所有的警告记录。
2.1.2-3.0.0 - 修复了一些 Bug。
2.1.1 - 我想我找到了那个问题,希望已经修复了。
2.1.0 - 添加了一些额外代码,希望能消灭更多的 Bug。也希望一切能正常运行。至于我具体添加了什么,我自己也不太确定。:D
2.0.0 - 添加了一些命令,希望能解决一些 Bug。
1.1.2 - 修复了一些 Bug(即之前显示的那些错误)
1.1.1 - 无新内容(更新)
1.1.0 - 添加了 config.yml 文件。警告上限可以在配置文件中通过游戏内命令 /fwconfig limit [#] 进行修改。
1.0.0 - 无变化
规划
暂无计划
其他说明
注意:我将在每年年初更新我的所有插件。我会优先更新那些不需要大规模代码更改的插件。目前我还不确定哪些插件需要进行大规模代码更新。
Hello this is my first plugin. It is called Player Warning. It allows you to warn a player if the they have broken a rule and you don't want to temp/perm ban them.
Commands
- /plw - Main command.
- /plwhelp - Displays the help page
- /plwcheck [Player name] - Displays the warnings of a player.
- /plwarn [Player Name] [reason] - Gives a reason the player is warned.
- /plwunwarn [Player name] [reason] - Deletes a warning from a player.
[] are required.
Permissions
- plw.help
- plw.warn
- plw.check
- plw.unwarn
- plw.admin
- default: op
- children:
- plw.help: true
- plw.warn: true
- plw.check: true
- plw.unwarn: true
- plw.default:
- default: true
- children:
- plw.help: true
- plw.warn: false
- plw.check: true
- plw.unwarn: false
Change Log
3.4.0 - LONG OVER DUE; sorry guys but I have had this for a while and good not remember to get it out and also was trying to work on the commands a little more, but here it is.
3.3.0 - Fixed plugin.yml error
3.2.0 - Changed the name.
3.1.0 - You can now have up to 11 words for one reason you don't need the underscore anymore.
3.0.0 - It works now. the config commands were taking out and the config file has been replaced with the warnings.yml file which you can find any warnings in it.
2.1.2-3.0.0 - Bug fixes.
2.1.1 - Think I found thou problem, hoped I fixed.
2.1.0 - Added some extra code and have hopefully killed a few more bugs. Hoped I get it working too. I am also not to for sure what I added. :D
2.0.0 - Add some commands and have hopefully killed a few bugs.
1.1.2 - Killed a few bugs (The errors that have been showing up)
1.1.1 - Nothing New (update)
1.1.0 - Added config.yml file. Warning limit can be changed in the config file and in game with /fwconfig limit [#]
1.0.0 - Nothing
Planning
nothing
Other Notes
Note: I will update all my plugins at the beginning of the year. I will update the ones that don'f require major code change first. At the current time I have no ideas of which ones will require major code update
评论 0
登录后参与评分
还没有评论,来抢沙发吧