PlayerTally

描述
PlayerTally 允许服务器管理员(op)给予玩家“点数”。目前这些点数尚未实现任何功能,但得分最高的玩家的皮肤将显示在特殊头颅上,用于标识当天、当周、当月等时段内得分最高的玩家。
[编辑]现在,1.2.1 版本要求你稍微编辑配置文件,并以特定方式创建数据库/表。对于配置文件,我已清晰标注所有需要编辑的变量(例如 “MySQLDataBase” 和 “MySQLUsername”)。你可以为数据库、表以及所有变量命名为你想要的名称。对于表,列的顺序必须按照特定方式排列。必须包含以下七列:
Player_NameVariable , Player_UUIDVariable, PointsTotal , PointsDay, PointsWeek, PointsMonth, PointsYear (第一列为 varChar,第二列为 text 字段,其余均为 int)
功能
- 添加命令 /pt,用于控制 PlayerTally 的大多数方面
- 让得分最高玩家的皮肤出现在特殊头颅上
命令
- /pt :显示 PlayerTally 的子命令
依赖与兼容性
无
安装方法
- 将此插件放入你的 plugins 文件夹
- 重启服务器
- 编辑配置文件以匹配你的 SQL 服务器
- 添加表的格式
- 重启服务器
更新日志
1.2:
- 从数据包改为使用 SQL 1.1:
- 刚刚发布
待办事项
我将继续根据需求扩展此插件。如果你有任何建议或想法,请在评论区留言,我可能会将其加入。
PlayerTally

Description
PlayerTally allows op on the server the ability to give players "points". Points currently do anything at the moment, but the player with the highest score's skin will appear on special heads that are designated to find the player with Highest score for That Day/ The Week, That Month ect.
[EDIT]Now, 1.2.1 will require you to edit the config a little and create the database/table a certain way. For the config, I have clearly labeled all the variables that need to be edited (E.G. "MySQLDataBase" and "MySQLUsername")You can name the database,table and all the variables to be whatever you want. For the table, the order of column have to be a certain way. There has to be seven columns like so:
Player_NameVariable , Player_UUIDVariable, PointsTotal , PointsDay, PointsWeek, PointsMonth, PointsYear (First one is a varChar, the second is a text field, the rest are all int)
Features
- Adds the command /pt which controls most aspects of PlayerTally
- Have the skin of the player with the highest score appear on a special heads.
Commands
- /pt : Shows sub commands for PlayerTally
Dependencies and Compatibility
none
How to Install
- Drop this plugin into you plugins folder
- Restart your server
- Edit the config to match your SQL server
- Add the Table Formatting
- Restart you server
ChangeLog
1.2:
- Changed from packets to SQL 1.1:
- Just released
To-Do
I will add on to this plugin whatever seems needed. If you have an idea for what I could add, post in the comments and I may add it.
下载 PlayerTally
下载 PlayerTally
下载 PlayerTally
下载 PlayerTally
下载 PlayerTally
下载 PlayerTally
下载 PlayerTally
更新了代码。
修复了事件。
精简了代码。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧