功能:
- 按可配置的固定间隔向分组和玩家发放工资。
- 设置发放工资的间隔时间。
- 设置每个分组的薪资标准
- 设置每个用户的薪资标准
- 设置人气奖金,根据在线玩家数量给予奖励。
- 每次发放工资时,玩家的屏幕上都会显示一张精美的工资单。
- 默认的工资发放间隔为 1 Minecraft 天(1200 秒)
- 使用 Vault 处理权限和经济系统。
兼容性
本插件已在 craftbukkit [1.4.5][1.3.2]、[1.3.1]、[1.2.5]、[1.2.4]、[1.2.3] 和 [1.1] 版本上测试通过。
您必须安装最新的 Vault 插件 版本,因为 wiipay 依赖它来处理经济系统和权限。
下载
点击此处 下载 wiipay
命令:
- /wiipay interval <interval in seconds> : 设置两次支付之间的间隔(以秒为单位)
- /wiipay setgroup <groupname> <salary> : 设置该组成员将获得的薪资。
- /wiipay setuser <username> <salary> : 设置该用户每次支付时将获得的薪资。
- /wiipay list : 显示所有已配置的分組及其薪资。
- /wiipay pay <number of payments> : 手动执行 1 次或多次 wiipay 支付周期。
用法:
用户:
要设置单个玩家的薪资,请使用: /wiipay setuser <username> <salary>
分组:
此插件不会创建分组,而是允许您为现有分组设置薪资。您需要使用 permissionsEx 或其他由 Vault 支持的权限管理器来创建用户分组(如 admin、mod、builder 等)。然后使用 wiipay 的 /wiipay setgroup <groupname> <salary> 命令来为该组设置薪资。
配置
您可以在配置文件中编辑由命令设置的所有变量:wiipay.yml。您还可以在配置文件中设置服务器名称。
以下是本页顶部截图对应的 wiipay.yml 示例:
servername: minecrafters.nl # 您的服务器名称。
currency: euros # 您的货币名称。
interval: 1200 # wiipay 支付之间的秒数。
bonus-per-player: 0 # 每次支付时,每位在线玩家每人获得的欧元数量。
show-payslip: true # 如果希望在发生支付时向用户显示工资单,请设置为 true。
show-details: true # true: 显示按分组划分的薪资明细;false: 仅显示薪资总额。
工资:
组: # 指定组成员的工资,组名必须在你的权限插件中存在。
builder: 100.0
kilobuilder: 240.0
玩家: # 该名称玩家的工资。
wiigor: 10.0
背景介绍:
WiiPay 是由 Wiigor 为 Minecraft Alliance(minecrafters.nl 和 minecarts.nl)制作的 Minecraft Bukkit 插件。
像许多服务器一样,minecrafters.nl 需要一个自动系统来定期向玩家发放金钱。由于我找不到可用的插件,或者找到的插件过于复杂、存在缺陷或效率低下,我决定从零开始编写一个。
我对该系统有3点要求:
- 配置应简单直接。(不要有大量具有复杂语法的相似命令)
- 系统应高效,不会在重载时卡住。(不像一些替代性的定时支付插件那样占用资源)
- 保持简洁(只有一个计时器/仅在线玩家获得工资)
待办事项:
- -改进此插件页面。
- -添加 /wiipay help 命令以显示可用命令。
功能请求
- -为每个用户和每个组添加变量,以指示谁将支付该组/用户的工资。
- -添加设置此变量的命令:例如 /wiipay setgrouppayer <组名> <支付者的账户名>
不做列表:
- -为离线玩家提供支付功能。
- -添加复杂的命令/功能。
更新日志:
- 2012-12-08 1.1 - 针对 Java 6 编译(兼容 Java 6 和 7)。已在 1.4.5 上测试。
- 2012-12-08 1.0 - 已损坏 - 请勿使用。因缺少库文件而被移除。
- 2012-11-16 beta 0.9 - 更新以适配 CraftBukkit 1.4.5
- 2012-10-09 beta 0.8 - 移除了通过 Vault 从经济插件获取货币名称的新功能,因为存在不兼容问题。
- 使插件在重载时停止任务。(更耐重载)
- 使命令更具鲁棒性,如果语法错误会给出格式更美观的错误消息
- 在最新版本上编译并测试(CraftBukkit 1.3.2 R1.0, Vault 1.2.19 以及 Iconomy 6.0 和 7.0)
- /wiipay pay 现在可以执行多次。通过指定执行次数。所有数量将相乘。
- 压缩代码以获得更好的性能。
- 2012-09-23 beta 0.7 - Wiipay 将尝试获取你在经济插件中配置的货币名称。
- 2012-07-23 beta 0.6 - 现在支持负工资。以红色显示负值,并显示“你支付”。
- 在 config.yml 中添加属性 show-payslip: true/false:用于开启或关闭显示工资单。
- 在 config.yml 中添加属性 show-details: true/false:用于开启或关闭在工资单上显示详细信息。
- 2012-05-28 - beta 0.5 - 在配置文件中添加了货币变量,以便管理员可以设置自己的货币名称。
(如果你已有配置文件,必须手动添加货币变量)
- 添加了人气奖金系统,以奖励服务器满员的玩家。
- 2012-03-26 - beta 0.4 - 在 wiipay.yml 中添加了变量 servername,以便在工资单上显示自定义服务器名称。
- 针对 Java 1.6 编译,以兼容运行 Java 1.6 的用户。
- 2012-03-24 - beta 0.3 - 发布于 BukkitDev。
Features:
- pay groups and players at a regular configurable interval.
- set the interval between payments.
- set the salary per group
- set the salary per user
- set a popularity bonus, awarding players for the number of players online.
- a nice payslip is displayed on the players screen every time a payment occurs.
- the default payment interval is 1 minecraft day (1200 seconds)
- Uses Vault for permissions and economy handling.
Compatibility
This plugin has been tested to work on craftbukkit [1.4.5][1.3.2], [1.3.1], [1.2.5], [1.2.4], [1.2.3] [1.1].
You must install the latest Vault plugin version, since wiipay uses it for economy and permissions.
Download
Click here to download wiipay
Commands:
- /wiipay interval <interval in seconds> : Set the interval in seconds between payments
- /wiipay setgroup <groupname> <salary> : Set the salary members of this group will receive.
- /wiipay setuser <username> <salary> : Set the salary this user will receive every payment.
- /wiipay list : Show all configured groups and their salaries.
- /wiipay pay <number of payments> : Execute 1 or more wiipay days manually.
Usage:
users:
To set the salary of individual players use: /wiipay setuser <username> <salary>
groups:
This plugin does not create groups, it lets you set an salary for existing groups. You need to create user groups (like admin,mod,builder etc) with permissionsEx or another permissions manager that is supported by Vault. Then use the /wiipay setgroup <groupname> <salary> command of wiipay to set the salary for that group.
Configuration
You can edit all variables set by commands in the config file: wiipay.yml. You can also set a server name in the config file.
example wiipay.yml that belongs to the screenshot on top of this page:
servername: minecrafters.nl # The name of your server.
currency: euros # The name of your currency.
interval: 1200 # The number of seconds between wiipay payments.
bonus-per-player: 0 # The number of euros every player gets for every player online during a payment.
show-payslip: true # Set to true if the payslip should be shown to the users when payment occurs.
show-details: true #true: Show a breakdown of the salary per group or false: show only the salary total.
salary:
group: # The salary of members of the listed group names, the group names must exist in your permissions plugin.
builder: 100.0
kilobuilder: 240.0
player: # The salary of the player with this name.
wiigor: 10.0
Background:
WiiPay is a Minecraft bukkit Plugin Made By Wiigor for the Minecraft Alliance. (minecrafters.nl and minecarts.nl)
Like many servers minecrafters.nl needed an automated system to grant players money at regular intervals.
Since i couldnt find a working plugin anymore or the plugins if found were very complex, faulty or inefficient I decided to write one from scratch.
I had 3 requirements for this system:
- It should be straightforward and simple to configure. (not loads of similar commands that have a complex syntax)
- The system should be efficient and not some hog that keeps hanging when I reload. (Like some alternative timed pay plugins do)
- It will be kept simple (only one timer/ only online players get paid)
Todo:
- -improve this plugin page.
- -make a /wiipay help command to show the possible commands.
feature requests
- -add a variable per user and per group to indicate who will pay the salary of the group/user.
- -make a command for settings this variable: like /wiipay setgrouppayer <group_name> <acount_name_of_payer>
Wont do list:
- -make payment facilities for offine players.
- -add complex commands/facilities.
Changelog:
- 2012-12-08 1.1 - Compiled for java 6 (will work on java 6 and 7) Tested on 1.4.5
- 2012-12-08 1.0 - broken - Do not use Removed because of missing library file: .
- 2012-11-16 beta 0.9 - updated for craftbukkit 1.4.5
- 2012-10-09 beta 0.8 - removed the new feature of taking the currency name from economy plugin thorugh vault, due to incompatiblities of these.
- made the plugin stop the task when reloading. (more reload proof)
-made the commands more resilient, will give a nicer formatted error message if wrong syntax
-compiled and tested on the latest versions (craftbukkit 1.3.2 R1.0, Vault 1.2.19 and iconomy 6.0 and 7.0)
-/wiipay pay can now be executed more than one time. by giving the number of executions. All quantities will be multiplied.
-compressed the code for even better performance.
- 2012-09-23 beta 0.7 -Wiipay will try to take the currency name you have configured in your economy plugin.
- 2012-07-23 beta 0.6 -negative salaries now possible. Displays negative values in a red and displays " You Pay".
-added property show-payslip: true/false to config.yml: this turns on or off the showing of the payslip.
-added property show-details: true/false to config.yml: this turns on or off the showing of details on the payslip.
- 2012-05-28 - beta 0.5 - added currency variable to config file so admins can set their own currency name.
(you must manually add the currency variable it if you already had a config file)
- added a popularity bonus system to reward players for the server being filled.
- 2012-03-26 - beta 0.4 - added variable servername to wiipay.yml so a custom servername can be set for display on the payslip.
- compiled on java 1.6 for compatibility with people running their servers on java 1.6
- 2012-03-24 - beta 0.3 - posted on bukkitdev.
评论 0
登录后参与评分
还没有评论,来抢沙发吧