JOPHWarn - 警告玩家的绝佳方式!
它的作用是什么?
JOPHWarn 是一个简单的插件,用于警告玩家关于破坏、偷窃、说脏话或其他任何行为。
它具有哪些功能?
- 使用 /warn <playername> warning 命令警告玩家
- 你可以查看任何玩家的警告记录
- 你可以定义在踢出用户之前需要多少警告次数
- 你可以定义在封禁用户之前需要多少警告次数
- 你可以使用命令清除用户的所有警告(见下文)
- 6 个自定义命令功能
- 所有警告都会显示在控制台中并写入 server.log 文件
- 拥有特定权限节点的玩家会在收到警告时收到通知
- 为警告添加时间戳
- 如果用户已经有警告记录,系统会询问你是否要改为进行违规处理(infract)
命令
- /warn PLAYERNAME WARNING-TEXT-HERE -警告用户
- /warnings view PLAYERNAME - 显示用户的警告记录以及是谁警告了他们
- /warnings clear PLAYERNAME - 清除玩家的所有警告
- /infract PLAYERNAME WARNING-TEXT-HERE -对违规行为进行处理
- /infractions view PLAYERNAME - 显示用户的违规记录以及是谁对其进行了违规处理
- /infractions clear PLAYERNAME - 清除玩家的所有违规记录
- /confirm - 当你警告一个已有警告记录的用户时,系统会询问你是要继续警告还是改为进行违规处理,此命令用于确认选择
- /deny - 当你警告一个已有警告记录的用户时,系统会询问你是要继续警告还是改为进行违规处理,此命令用于拒绝/取消操作
查看和清除用户的警告/违规记录时区分大小写
权限
- JOPHWarn.warn -允许玩家警告其他用户
- JOPHWarn.view - 允许玩家查看其他用户的警告记录
- JOPHWarn.warnings.clearall - 允许玩家清除某个玩家的所有警告
- JOPHWarn.notify - 拥有此权限的任何人在有玩家被警告时会收到通知
- JOPHWarn.infract -允许玩家对其他用户进行违规处理
- JOPHWarn.infractions.view - 允许玩家查看其他用户的违规记录
- JOPHWarn.infractions.clearall - 允许玩家清除某个玩家的所有违规记录
配置文件
################################################ # JOPHWarn Config # #################################################当玩家被警告/违规时通知所有拥有 JOPHWarn.notify 权限的人 notifyadmins: true
#启用踢出功能? enablekick: true #玩家被踢出前可累积的最大违规次数 kickafter: 3 #踢出消息
kickmessage: '慢点,你要被banz0rd了'
#是否启用封禁功能? enableban: true #在多少次违规后封禁? banafter: 10 #封禁消息 banmessage: '您已达到允许的最大违规次数'
################################################ # JOPHWarn 自定义命令 # ################################################
#!!!!! %p 将被替换为玩家的名字 !!!!!# #!!!!! %w 将被替换为警告原因 !!!!!# #自定义命令用于违规行为,而非警告 #是否启用自定义命令1? enablecustom1: false #在...之后执行自定义命令: custom1infractions: 5 #自定义命令1(使用 %p 代表玩家) custom1command: 'tempban%p1d'
#是否启用自定义命令2? enablecustom2: false #在...之后执行自定义命令2 custom2infractions: 2 #自定义命令2(使用 %p 代表玩家) custom2command: 'jail%pjailname'
#是否启用自定义命令3? enablecustom3: false #在...之后执行自定义命令3? custom3infractions: 1337 #自定义命令3(使用 %p 代表玩家) custom3command: 'deop%p'
#启用自定义命令4? enablecustom4: false #在之后执行自定义命令4 custom4infractions: 1337 #自定义命令4(使用 %p 表示玩家) custom4command: 'jail%pjailname2'
#是否启用自定义命令5? enablecustom5: false #在之后执行自定义命令5 custom5infractions: 1337 #自定义命令5(使用 %p 表示玩家) custom5command: 'jail%pjailname3'
#启用自定义命令6? enablecustom6: false #在之后执行自定义命令 6 custom6infractions: 1337 #自定义命令 6(使用 %p 代表玩家) custom6command: 'jail%pjailname4'
截图
在此处查看我的源代码 here
JOPHWarn - The awesome way to warn users!
What it does?
JOPHWarn is a simple plugin that is used to warn players about griefing, stealing, swearing or anything and everything.
What features does it have?
- Warn players with /warn <playername> warning
- You can view the warnings of any player
- You can define how many warnings before a user is kicked
- You can define how many warnings before a user is banned
- You can clear all of a user's warnings using a command (see below)
- 6 custom command features
- All warnings show in the console and go in your server.log file
- Players with a perm node can be notified on warnings
- Adds timestamps to warnings
- If a user already has warnings, it asks if you want to infract instead
Commands
- /warn PLAYERNAME WARNING-TEXT-HERE -warns a user
- /warnings view PLAYERNAME - shows the users warnings and who warned them
- /warnings clear PLAYERNAME - clears all of the player's warnings
- /infract PLAYERNAME WARNING-TEXT-HERE -infracts a user
- /infractions view PLAYERNAME - shows the users infractions and who infracted them
- /infractions clear PLAYERNAME - clears all of the player's infractions
- /confirm - used when you warn a user and they already have warnings, when you're asked if you want to infract instead or warn
- /deny - used when you warn a user and they already have warnings, when you're asked if you want to infract instead or warn
Viewing and clearing a user's warns/infractions is case sensitive
Permissions
- JOPHWarn.warn - Allows players to warn other users
- JOPHWarn.view - Allows players to view other users warnings
- JOPHWarn.warnings.clearall - Allows a player to clear all of a players warnings
- JOPHWarn.notify - Anyone with this permission will get notified when a player is warned
- JOPHWarn.infract - Allows players to give infractions to other users
- JOPHWarn.infractions.view - Allows players to view other users infractions
- JOPHWarn.infractions.clearall - Allows a player to clear all of a players infractions
Config
################################################ # JOPHWarn Config # #################################################Notify all people with JOPHWarn.notify when a player is warned/infracted notifyadmins: true
#Enable kick feature? enablekick: true #The maximum amount of infractions a players gets before they are kicked kickafter: 3 #kick message kickmessage: 'Slowdown,youaregonnagetbanz0rd'
#enable ban feature? enableban: true #ban after how many infractions? banafter: 10 #Ban message banmessage: 'Youhavereachedthemaximumallowedinfractions'
################################################ # JOPHWarn Custom Commands # ################################################
#!!!!! %p will be replaced with the players name !!!!!# #!!!!! %w will be replaced with the warn reason !!!!!# # Custom commands are for infractions, not warnings #enable customcommand1? enablecustom1: false #execute custom command after: custom1infractions: 5 #custom command1 (use %p for player) custom1command: 'tempban%p1d'
#enable custom command2? enablecustom2: false #execute custom 2 after custom2infractions: 2 #custom2 command (use %p for player) custom2command: 'jail%pjailname'
#enable custom command3? enablecustom3: false #execute custom custom 3 after? custom3infractions: 1337 #custom3 command (use %p for player) custom3command: 'deop%p'
#enable custom command4? enablecustom4: false #execute custom 4 after custom4infractions: 1337 #custom4 command (use %p for player) custom4command: 'jail%pjailname2'
#enable custom command5? enablecustom5: false #execute custom 5 after custom5infractions: 1337 #custom5 command (use %p for player) custom5command: 'jail%pjailname3'
#enable custom command6? enablecustom6: false #execute custom 6 after custom6infractions: 1337 #custom6 command (use %p for player) custom6command: 'jail%pjailname4'
Screenshots
Find my source code here
下载 JOPHWarn
下载 JOPHWarn
下载 JOPHWarn
下载 JOPHWarn
下载 JOPHWarn
下载 JOPHWarn
下载 JOPHWarn
下载 JOPHWarn
下载 JOPHWarn
下载 JOPHWarn
修复了离线警告的问题,向已有警告的玩家发出警告以及其他一些内容
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
评论 0
登录后参与评分
还没有评论,来抢沙发吧