bManager
bManager 模组是一款 Minecraft 模组,允许玩家在游戏中访问数据库并根据用户定义的规则显示玩家信息。这款模组是服务器管理员收集关于玩家的重要信息(如他们的角色、金钱等)的有力工具。借助此模组,管理员可以轻松检查玩家的情况。
配置选项
-
JDBC URL : 指向您数据库的 Java 数据库连接 (JDBC) URL。请勿包含用户名和密码。
-
Username 和 Password : 您的数据库用户名和密码。不建议使用 'root'
-
用作索引的数据 : 选择用于查询时作为索引的数据。
- 客户端实体 UUID : 客户端 UUID
- 玩家名称: 玩家名称
- 默认值: 玩家名称
-
仅匹配玩家 : 如果关闭此开关,则匹配任何实体。(默认:开启)
-
用作索引的列名 : 数据库中索引列的名称。(默认值:id)
-
自定义玩家信息显示 JSON : 详见下文部分。
自定义玩家信息显示 JSON
此选项是一个字符串选项。提供的字符串必须是一个仅包含列表的字符串。对于列表中的每个元素,格式如下所示。
{'table':'[要查询的表]','row':'[列名]',show:['[前缀]','[后缀]']}
它应该看起来像这样:
[前缀] 数据 [后缀]
键位绑定
待办事项
最后
这是我第一次制作模组,也是第一次写描述。我也不是英语母语者。如果有错误,请指出错误,我会进行修正。
bManager
The bManager mod is a Minecraft mod that allows players to access the database in-game and display player information based on user-defined rules. This mod is a powerful tool for server admins to gather important information about players, such as their roles, money, and more. With the help of this mod, admins can easily check players .
Config Options
-
JDBC URL : A Java Database Connectivity URL to your database. Don't include username and password.
-
Username and Password :Your database username and password. Not recommand to use 'root'
-
Data used as an index :Select a data to use as index when querying.
- Client entity UUID : Client UUID
- Player name: Player name
- Default:Player Name
-
Only match players : Match any entity if this switch is off.(Default:On)
-
Column name used as index : The name of index column in database.(Default:id)
-
Custom player info display JSON : See more in the section below.
Custom Player info display JSON
This option is a string option.The given string must be a string contain only a List.For each elements in the List,format as below.
{'table':'[Table to query]','row':'[Column name]',show:['[Prefix]','[Suffix]']}
It should look like this:
[Prefix] data [Suffix]
Keybindings
- Main Key:Default:Right Ctrl.
TODO
- Translation keys for other languages
Last
It is my first time to make a mod and also my first time to write a description.I'm also not a native English speaker .If there are mistakes,please point out the mistakes and I will correct it.
评论 0
登录后参与评分
还没有评论,来抢沙发吧