本插件的诞生源于缺乏一款优质的税收管理插件。它旨在解决经济失衡的问题,帮助玩家更好地平衡游戏内的经济体系。该插件采用基本的税率分级制度来征收税款,并提供了易于理解的命令列表和配置文件。
本插件提供三种税率等级。您可以修改每个玩家符合特定税率等级的条件。默认情况下,税率等级设置如下:
- 低等:处于低税率等级的用户拥有 $0 至 $10,000 不等的资金。当您选择征收税款时,他们将缴纳 5% 的税款。
- 中等:处于中等税率等级的用户拥有 $0 至 $50,000 不等的资金。当您选择征收税款时,他们将缴纳 10% 的税款。
- 高等:处于高等税率等级的用户拥有超过 $50,000 的资金。在征收税款时,他们将缴纳 20% 的税款。
您可以配置每个税率等级所需的金额以及对应的税率百分比。
安装说明
- 在安装 Taxes 之前,您必须已安装 Vault。
- 您还需要一个兼容 Vault 的经济类插件。
- 将插件放入您的 plugins 文件夹中。
- 运行服务器以生成配置文件。
- 根据需要修改配置文件,然后重新加载服务器。
配置说明
general:
# 所有税款存入的账户。
account: ServerAccount
# 插件是否应自动每日向账户征税?如果未启用,仍可通过 /tax collect 命令手动征收税款。
AutoChargeDaily: false
taxbrackets:
# 各税率等级的税率。(百分比 / 100)
high: 0.20
middle: 0.10
low: 0.05
requirements:
# 被视为处于某税率等级的最低货币数量。
high: 50000
middle: 10000
low: 0
maxtaxes:
# 每个税率等级可征收的最大税额。
high: 25000
middle: 5000
low: 2000
命令
本插件提供三个命令。第一个是:
- /tax
- 不带任何参数时,所有玩家均可使用此命令。它将告知玩家其余额、税率等级、税率百分比、应纳税额及税务状态。状态可通过权限节点进行更改。
- /tax collect
- 拥有 taxes.collect 权限节点的玩家可以使用此命令。这将收集所有具有“适用(Applicable)”状态的玩家的税款。仅在使用此命令时才会征收税款。如果您希望实现自动化系统,请寻找能够从控制台自动执行命令的插件。此命令仅对在线玩家征收税款。
- /tax reload
权限节点
- taxes.exempt:使玩家免于缴纳税款。
- taxes.collect:允许玩家使用 /tax collect 命令。
- taxes.reload:允许玩家使用 /tax reload 命令。
建议
我始终欢迎针对改进本插件的建议。我为该插件规划了更多功能。您可以通过评论/工单提出建议。:)
This plugin comes from the lack of a decent plugin for taxes. It was created to deal with an unbalanced economy where you need to level things out a bit. It utilizes a basic tax bracket idea when charging taxes and has an easy to follow command list / configuration file.
This plugin offers three tax brackets. You can modify what qualifies each player to be in a tax bracket. From the start, the tax brackets are set up like so:
- Low: Users in the lower tax bracket have anywhere from $0 to $10,000. They are taxed 5% whenever you choose to collect taxes.
- Middle: Users in the middle tax bracket have anywhere from $0 to $50,000. They are taxed 10% whenever you choose to collect taxes.
- High: Users in the high tax bracket have more than $50,000. They are taxed 20% when taxes are collected.
You can configure the money required for each tax bracket and the tax percentage.
Installation Instructions
- Before you install Taxes, you must have Vault.
- You must also have a Vault Compatible Economy plugin.
- Drop the plugin into your plugins folder.
- Run and let the config generate.
- Modify the Config to your liking, reload the server.
Configuration
general:
#Account all taxes go into.
account: ServerAccount
# Should the plugin automatically charge accounts daily? If not, taxes can still be collected with /tax collect
AutoChargeDaily: false
taxbrackets:
# Tax rates for each tax bracket. (Percentage / 100)
high: 0.20
middle: 0.10
low: 0.05
requirements:
# Minimum amount of currency to be considered inside of a tax bracket.
high: 50000
middle: 10000
low: 0
maxtaxes:
# The maximum amount each bracket can be taxed.
high: 25000
middle: 5000
low: 2000
Commands
This plugin offers three commands. The first one is:
- /tax
- Without any arguments, this is usable by every player. This will tell them their balance, tax bracket, tax percent, tax amount due, tax status. The status can be changed with permission nodes.
- /tax collect
- Anyone with the taxes.collect permission node will be able to use this. This will collect all taxes from players who have the 'Applicable' status. Taxes are only collected when this command is used. If you want an automated system, find a plugin that automatically runs commands from console. This will only collect taxes from online players.
- /tax reload
- Reloads the taxes configuration.
Permission Nodes
- taxes.exempt: This will make the player exempt from paying taxes.
- taxes.collect: This allows the player to use the /tax collect command.
- taxes.reload: Allows the player to use /tax reload.
Suggestions
I am always open for suggestions toward improving the plugin. I have more things planned for the plugin. You may use the comments / tickets to make a suggestion. :)
评论 0
登录后参与评分
还没有评论,来抢沙发吧