VotifierCount
Votifier Count 帮助服务器向投票数达到一定数量的玩家发放奖励。
插件已完全重写!
功能
- 向投票数达到一定数量的玩家发放奖励。
- 统计玩家的投票数
安装
- 将 votifier_count.jar 复制到 /plugins 文件夹中
- 重要提示!这是一个插件,但不是监听器。
- 安装最新版本的 DataManagerAPI 此处(必需)
- 启动和停止服务器
- 编辑文件 "plugins/VotifierCount/config.yml"。
配置文件:"plugins/VotifierCount/config.yml"
示例:
</p><div><div><pre><span>重置次数</span><span>:</span> <span>永不</span> <span>(</span><span>距离下次重置还有多久?</span><span>)</span>
<span>奖励</span><span>:</span>
<span>每次</span><span>:</span>
<span>'3'</span><span>:</span> <span>//当玩家每投票3次时</span>
commands:
- say <player> has votes 5 times and earned $300 ! //these commands will be executed
- 'eco give <player> 300 '
description:
- '&bGet $300 every 3 votes!' //the description
'5': //when a player votes every 5 times
commands:
- say <player> has voted 5 times and earned $1000 !
- 'eco give <player> 1000 '
description:
- '&b每获得 5 票即可领取 $1000!'
'100':
description:
- '&c每投票 100 次即可获得 $100000!'
achieve:
'50': //当玩家达到 50 票时
commands: //执行以下命令
- say <player> has reached 50 votes and earned $10000 !
- 'eco give <player> 10000 '
description:
- '&cYou get $10000 when you reach 50 votes!' //投票描述的文本
'100': //当玩家达到 100 票时
commands:
- say <player> has reached 100 votes and earned $100000 !
- 'eco give <player> 100000 '
save-data: true //如果您不使用 MySQL,请保持此项为 true!
//如果您使用 MySQL,只需一个服务器负责保存数据即可。如果使用 MySQL,请在您选择的服务器上保持此项为 true。
权限
- votifiercount.votes - 允许玩家访问 /votes 命令
- votifiercount.topvotes - 允许玩家访问 /topvotes 命令
- votifiercount.resetvotes - 允许玩家访问 /resetvotes 命令
命令
- /votes [player] - 查看特定玩家或您自己的票数。
- /resetvotes - 重置所有票数!(仅限管理员操作)
- /vchelp - 显示帮助信息
- /topvotes - 显示票数最高的玩家的 IGN 和票数
- /vcversion - 显示此插件的版本号
MySQL
- MySQL 的主机/端口/密码由 DataManagerAPI 管理
- 阅读 此文档 以获取有关使用 MySQL 的更多详细信息!
如有任何问题,欢迎私信我。
错误报告
请使用以下格式给我发送私信:
MySQL enabled:
Link to error log:
Version of VotifierCount:
DataManagerAPI的版本:
VotifierCount
Votifier Count helps servers to give rewards to the players whose votes have reached a certain amount.
PLUGIN TOTALLY REWRITTEN!
Features
- give rewards to the players who votes have reached a certain amount.
- counts player's votes
Installation
- Copy the votifier_count.jar to the /plugins folder
- IMPORTANT! This is a plugin but NOT a listener.
- Install the latest version of DataManagerAPI here (required)
- Start and stop the server
- Edit the file "plugins/VotifierCount/config.yml".
Configuration file :"plugins/VotifierCount/config.yml"
Sample:
resets: never (how long until the next reset?)
rewards:
every:
'3': //when a player votes every 3 times
commands:
- say <player> has votes 5 times and earned $300 ! //these commands will be executed
- 'eco give <player> 300 '
description:
- '&bGet $300 every 3 votes!' //the description
'5': //when a player votes every 5 times
commands:
- say <player> has voted 5 times and earned $1000 !
- 'eco give <player> 1000 '
description:
- '&bGet $1000 every 5 votes!'
'100':
description:
- '&cYou get $100000 when you vote every 100 times!'
achieve:
'50': //When a player reaches 50 votes
commands: //executes these commands
- say <player> has reached 50 votes and earned $10000 !
- 'eco give <player> 10000 '
description:
- '&cYou get $10000 when you reach 50 votes!' //the description of the vote
'100': //When a player reaches 100 votes
commands:
- say <player> has reached 100 votes and earned $100000 !
- 'eco give <player> 100000 '
save-data: true //Keep this true if you are NOT using MySQL!
//If you are using MySQL, only one server needs to handle data saving. Keep this true on one server you choose if using MySQL.
Permissions
- votifiercount.votes - Allows players to access the command /votes
- votifiercount.topvotes - Allows players to access the command /topvotes
- votifiercount.resetvotes - Allows players to access the command /resetvotes
Commands
- /votes [player] - Checks votes of a specific player or yourself.
- /resetvotes - Resets ALL the votes! (Only ops can do this)
- /vchelp - Displays help
- /topvotes - Displays top voters' IGN and No. of votes
- /vcversion - Displays the version of this plugin
MySQL
- The MySQL host/port/password is managed with DataManagerAPI
- Read this for more details on using MySQL!
If you have any problems, feel free to pm me.
Bug reports
Send me a PM using the following format:
MySQL enabled:
Link to error log:
Version of VotifierCount:
Version of DataManagerAPI:
评论 0
登录后参与评分
还没有评论,来抢沙发吧