PlayerTally

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