Tub 的状态插件

<br/>
<i>如果您有任何问题,请加入 Discord!</i>
这是一个适用于 Spigot/Paper 服务器的 Minecraft 插件,允许玩家设置自己的状态,该状态将显示在标签页列表以及游戏内玩家头顶上方。
功能
-
使用 /status <状态> 设置自己的状态
-
使用 /status remove 移除你的状态
-
使用 /status &3<状态> 通过格式化代码(例如用于着色)来设置状态(详见 /status help colorcodes)
-
使用 /status <玩家> <状态> 设置其他玩家的状态(需要 StatusPlugin.admin.setStatus 权限)
-
使用 /status remove <玩家> 移除其他玩家的状态(需要 StatusPlugin.admin.setStatus 权限)
-
使用 /status reload 从文件重新加载所有状态(需要 StatusPlugin.admin.reload 权限)(可由控制台执行)
-
使用 /status help colors 查看所有可用颜色代码的列表
-
使用 /status info 查看插件相关信息
-
使用 /status setmaxlength <length> 设置状态的最大长度(需要 StatusPlugin.admin.setMaxlength 权限)
-
使用 /status resetmaxlength 命令将状态的最大长度重置为默认值(15)(需要 StatusPlugin.admin.resetMaxlength 权限)
(状态中的颜色代码不计入字符限制)
-
每个玩家的状态都会保存到文件中,因此他们重新加入服务器时会保留自己的状态。
-
插件支持 PlaceholderAPI v2.11.5
- 插件每 600 游戏刻(30 秒)重新加载一次状态,以便占位符能够自行更新。
-
插件现在新增了一个占位符 %tubsstatusplugin_status_playername%(请将 playername 替换为实际的玩家名称,这很明显。)
-
%tubsstatusplugin_status%
-
群组模式
- 在配置文件中启用群组模式,并为玩家预配置好可用的群组
- 玩家无法设置完全自定义的状态,但可以使用预配置的某个群组。
-
在配置文件中设置状态的开头和结尾字符
-
该插件支持 LuckPerms v5.4
权限
StatusPlugin.setStatus: 允许玩家设置自己的状态并移除它。(默认值:true)
StatusPlugin.group.set: 允许玩家将状态设置为群体状态。(默认值:true)
StatusPlugin.admin.setStatus: 允许玩家设置和移除其他玩家的状态。(默认值:false)
StatusPlugin.admin.reload: 允许玩家重新加载所有状态。(默认值:false)
StatusPlugin.admin.setMaxlength: 允许玩家设置状态的最大长度。(默认值:false)
StatusPlugin.admin.resetMaxlength: 允许玩家将状态的最大长度重置为默认值。(默认值:false)
StatusPlugin.formatting.color: 允许玩家在状态中使用颜色代码。(默认值:false)
StatusPlugin.formatting.bold: 允许玩家在状态中使用加粗格式。(默认值:false)
StatusPlugin.formatting.italic: 允许玩家在状态中使用斜体格式。(默认值:false)
StatusPlugin.formatting.underlined: 允许玩家在状态中使用下划线格式。(默认值:false)
StatusPlugin.formatting.strikethrough: 允许玩家在状态中使用删除线格式。(默认值:false)
StatusPlugin.formatting.magic: 允许玩家在状态中使用混淆格式。(默认值:false)
安装
要安装此插件,只需下载 .jar 文件并将其放入服务器的 plugins 文件夹中。然后重启服务器即可。
支持
如果您遇到任何问题,请提交报告。如果您有任何建议,欢迎提交 Issue。
如果您有其他插件建议,可以通过 Discord 联系我:tubyoub
贡献
我目前没有计划让其他协作者参与本项目,但如果您有任何建议,欢迎提交 Issue。
许可证
本项目基于 [MIT License](LICENSE 授权。

Tub's Status Plugin

<br/>
<i>Please join the Discord if you have questions!</i>
This is a Minecraft plugin for Spigot/Paper servers that allows players to set their own status, which is displayed in the tab list and above their heads in-game.
Features
- Set your own status with
/status <status>
- Remove your status with
/status remove
- Set status with formatting codes (for example to color them) with
/status &3<status> (/status help colorcodes)`
- Set other players' statuses with
/status <player> <status> (requires StatusPlugin.admin.setStatus permission)
- Remove other players' statuses with
/status remove <player> (requires StatusPlugin.admin.setStatus permission)
- Reload all statuses from file with
/status reload (requires StatusPlugin.admin.reload permission) (Can be executed by console)
- View a list of all available color codes with
/status help colors
- View info about the plugin with
/status info
- Set a maximum length for statuses with
/status setmaxlength <length> (requires StatusPlugin.admin.setMaxlength permission)
- Reset the maximum length of statuses to default (
15) with /status resetmaxlength (requires StatusPlugin.admin.resetMaxlength permission)
(Color codes in statuses are not counted towards the character limit)
- The status of every player is saved to a file, so they will keep their status when they rejoin the server.
- The Plugin supports
PlaceholderAPI v2.11.5
- The Plugin reloads statuses every 600 Game Ticks (30seconds) so the Placeholders can update themselves.
- The Plugin now got a Placeholder
%tubsstatusplugin_status_playername% (playname should be changed out for the real Playername, Duuuh.)
- %tubsstatusplugin_status%
- Groupmode
- turn on Group Mode in the Config and preconfigure set Groups for Players
- A Player will not be able to set a fully custom status but he can use one of the preconfigured Groups.
- Set the opening and closing Characters from the status in the config
- The Plugin Supports
LuckPerms v5.4
- The Plugin supports LuckPerms prefix and suffix.
Permissions
StatusPlugin.setStatus: Allows a player to set their own status and remove it. (default: true)
StatusPlugin.group.set: Allows players to set their status as a group status. (default: true)
StatusPlugin.admin.setStatus: Allows a player to set and remove other players' statuses. (default: false)
StatusPlugin.admin.reload: Allows a player to reload all statuses.(default: false)
StatusPlugin.admin.setMaxlength: Allows a player to set the maximum length of statuses. (default: false)
StatusPlugin.admin.resetMaxlength: Allows a player to reset the maximum length of statuses to default. (default: false)
StatusPlugin.formatting.color: Allows a player to use color codes in their status. (default: false)
StatusPlugin.formatting.bold: Allows a player to use bold formatting in their status. (default: false)
StatusPlugin.formatting.italic: Allows a player to use italic formatting in their status. (default: false)
StatusPlugin.formatting.underlined: Allows a player to use underlined formatting in their status. (default: false)
StatusPlugin.formatting.strikethrough: Allows a player to use strikethrough formatting in their status. (default: false)
StatusPlugin.formatting.magic: Allows a player to use obfuscated formatting in their status. (default: false)
Installation
To install the plugin, simply download the .jar file and place it in your server's plugins folder. Then, restart your server.
Support
If you have any issues, please report. And if u have any suggestions, feel free to open an issue.
If you have any further plugin suggestions you can contact me via discord: tubyoub
Contributing
I currently have no plans to get co-contributer's on this project, but if you have any suggestions, feel free to open an issue
License
This project is licensed under the [MIT License](LICENSE.

评论 0
登录后参与评分
还没有评论,来抢沙发吧