PlayerStatusSigns - 让告示牌告诉你谁在线、谁离线
版本:v0.4.1
PlayerStatusSigns (PSS) 允许用户创建告示牌,当玩家登录、登出或输入 /afk 时,告示牌内容会自动更改。
PSS 支持语言翻译:只需编辑 “lang” 文件即可修改 PSS 显示的任何文本。
PSS 已翻译成法语、巴西葡萄牙语、荷兰语、西班牙语和波兰语。
PSS 支持并已在 PermissionsEx 上经过测试。PSS 也支持默认的 Bukkit Permissions!并且将支持与之一致的任何权限插件。PSS 还初步支持 Permissions 2.7.4 和 3.1.x,但尚未针对这些版本进行测试。
为了适应告示牌的显示空间,长度为 15 或 16 个字符的用户名将不会着色。
制作玩家状态告示牌: 您必须首先拥有相应的权限(如果使用了权限插件),或者具有 OP 权限(如果未使用权限插件)。
只需在第一行创建带有 "[PSS]"(不含引号)的告示牌,并在第二行输入玩家名称。如果该玩家当前在线,您可以使用部分名称匹配;如果该玩家不在线,则必须 完整 且 大小写正确 地拼写出其确切名称。
图解说明
如果您翻译了此插件,若您能将您的语言文件发送给我以便我在本帖子中与他人分享,我将不胜感激。
功能:
- 创建告示牌以显示玩家上线或离线。
- 告示牌还会追踪使用 /afk 命令并具有相应权限的用户。
- 支持翻译。
- 支持 PermissionsEx、Permission 2/3、Bukkit Permissions,并默认回退至 OP
命令:
- /afk (on|off) - 设置使用该命令的玩家对应的告示牌显示为 AFK 或在线。
- /pss <选项> - 调试/管理员命令,请对 <选项> 使用以下参数
选项
- save - 将内存中的当前告示牌保存到告示牌文件中。
- load - 从告示牌文件加载并覆盖内存中的当前告示牌。
- check - 遍历内存中的所有告示牌,并移除任何已消失的告示牌。
- dump - 以美观的聊天刷屏形式打印内存中当前告示牌的表示内容。
权限:
- pss.* - 允许访问所有 PSS 命令
- pss.create.* - 包含 pss.create 和 pss.create.other
- pss.create - 用于为自己创建 PSS 告示牌所需的权限
- pss.create.other - 用于为任意玩家创建 PSS 告示牌所需的权限
- pss.afk - 用于使用 /afk 命令所需的权限
- pss.admin - 用于使用 /pss 命令所需的权限
PSS 由 @Parrothead 建议
PlayerStatusSigns - Have a sign tell you who is on and off
Version: v0.4.1
PlayerStatusSigns (PSS) lets users create signs that will change when players log in, our, or go /afk.
PSS supports language translation: Simply edit the "lang" file to change anything PSS says..
PSS has been translated into French, Brazilian Portuguese, Dutch, Spanish, and Polish.
PSS supports and is tested with PermissionsEx. PSS also supports default Bukkit Permissions! And will support any permissions plugin that does the same. PSS also tentatively supports Permissions 2.7.4 and 3.1.x, but is not tested against these.
Usernames 15 or 16 characters in length will not be colored in order to fit them on the sign.
To create a PSS sign: You must first have the appropriate permission (if a permissions plugin is being used), or have ops (if a permissions plugin is not being used).
Simply create a sign with "[PSS]" (without quotes) in the first line, and a player name in the second. If that player is currently online, you may use partial name matching, if they are not you must spell their exact name out completely and caps-correct.
A visual explanation
If you translate this plugin I would be very grateful if you would send me your lang file so that I may share it with others in this post.
Features:
- Create signs to show when a player is on or off.
- Signs also track users who use /afk and have permission to do so.
- Supports translation.
- Supports PermissionsEx, Permission 2/3, Bukkit Permissions, and defaults to OP
Commands:
- /afk (on|off) - Sets the signs of the player who uses this command to show AFK, or Online.
- /pss <option> - Debugging/admin command use following for <option>
options
- save - Saves the current signs in memory to the signs file.
- load - Loads from the signs file and over-writes the current signs in memory.
- check - Runs through all signs in memory and removes any signs that are now missing.
- dump - Prints a lovely chat spam representation of the current signs in memory.
Permissions:
- pss.* - Allows access to all pss commands
- pss.create.* - Implies pss.create and pss.create.other
- pss.create - Needed to create a PSS sign for one's self
- pss.create.other - Needed to create a PSS sign for any player
- pss.afk - Needed to use /afk
- pss.admin - Needed to use the /pss command
PSS was suggested by @Parrothead
评论 0
登录后参与评分
还没有评论,来抢沙发吧