-
-
Notifications
You must be signed in to change notification settings - Fork 22
[FEAT]: Enable Server_Account to collect tax % from transactions #130
Description
Feature Description
Hi,
I would like to request a feature that allows the server or admin account to collect a fixed percentage of tax (e.g., 20%) from all transactions, rather than having the tax applied as an additional amount to the deposit or withdrawal.
Requested Behavior:
Deposit Tax: When a player deposits money, the tax should be deducted from the deposited amount, and the remaining amount should be deposited into the player's account. For example, if a player deposits 300 with a 20% tax, the server account should collect 60 (20% of 300) as tax, and the player’s account should receive 240.
Withdrawal Tax: When a player withdraws money, the tax should be deducted from the withdrawn amount, and the remaining amount should be provided to the player. For example, if a player withdraws 300 with a 20% tax, the server account should collect 60 (20% of 300) as tax, and the player should receive 240.
Additional Information:
The current behavior seems to be adding the tax to the amount, which is not the desired outcome.
The intention is to have the server or admin account collect the tax as a fee rather than affecting the deposit or withdrawal amounts directly.
Please let me know if this feature can be added or if there are any existing settings that can achieve this functionality.
Thank you!
`
The New Economy v0.1.2.0
Author: creatorfromhell
License: https://github.com/TheNewEconomy/EconomyCore/blob/main/license.md
Core:
config-version: 2
Offline: true
Debugging:
Mode: Detailed
Region:
Mode: world
MultiRegion: false
DefaultRegion: world
GroupRealms: true
DisabledRegions:
- ExampleWorld
SharedRegions:
ExampleRegion: test
Server:
Geyser: .
RandomUUID: false
ImportItems: false
MobDrop: true
ExperienceGain: false
Name: Main Server
Account:
Enabled: true
Name: Server_Account
Balance: 500
Commands:
LimitCurrency: false
Top:
Format: true
Refresh: 1200
Exclusions:
- ^town-.*
- ^nation-.*
- ^faction-.*
- ^towny-.*
Pay:
Offline: true
Radius: 0
Update:
#Should TNE check for updates?
Check: true
Notify: true
Transactions:
Format: M, d y
Timezone: US/Eastern
Tracking:
Enabled: true
Amount: '00'
History:
Refresh: 1200
Conversion:
Tax:
Enabled: true
Rate: 0.5%
Deposit:
Tax:
Enabled: true
Rate: 0.5%
Pay:
Tax:
Enabled: true
Sender: 50%
Receiver: 0.0
Withdraw:
Tax:
Enabled: true
Rate: 0.5%
ServerID: d0673080-fab4-47ba-8c53-fe5fbef7e937
`
Reasoning
the ability to deduct a fixed percentage of tax from transactions (such as deposits and withdrawals) allows for more accurate financial management and enhances the server's economic realism. For example, if a player deposits 300 units of currency and a 20% tax is applied, the server would collect 60 units as tax, and the player would see 240 units deposited. This method of tax collection ensures that the server can maintain its revenue model and manage player transactions effectively.