You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No, just a new feature, add a taxes system would be great, like real life it self. Also gives the plugin a nice touch.
Describe the solution you'd like
Personally, I would like it this way (of course it all depends on the developer):
The seller: When the seller sells an item and a player buys it, the seller will receive less money than the sale price of the item.
Example: I sell 1 apple for 50 coins, but I have 15% tax because I have the "marketplace.tax.15percent" permission, so when a player buys the apple from me, I will get 42,5 coins.
The buyer: Almost the same as the seller but in reverse. In this case, it would be a discount instead of a tax. The working method will be the same.
Example: I buy 1 apple that was set at 50 coins, if I don't have permission to get a discount, that's it, the apple is purchased at 50 coins. But if I have a discount permission "marketplace.disscount.5percent", I bought the apple for 47.5 coins.
Configuration file:
So, we have the idea, but how it will be displayed in the configuration files, so that the user can customize their taxes and discounts.
Here's an example:
// Taxes and discounts:
Taxes:
CustomNameForThisTax:
Permission: "marketplace.tax.[CustomName]
// Taxes would be calculated on percentages
TaxInput: #AnInteger, example 15
Discounts:
CustomNameForThisDisccount:
Permission: "marketplace.disccount.[CustomName]
// The discount would be calculated in percentages
TaxInput: #AnInteger, example 5
Example of tax permissions: marketplace.tax. [CustomName]
Discount permissions example: marketplace.disscount. [CustomName]
Wish you the best, ThatOverPowered
The text was updated successfully, but these errors were encountered:
Feature related to a problem ?
No, just a new feature, add a taxes system would be great, like real life it self. Also gives the plugin a nice touch.
Describe the solution you'd like
Personally, I would like it this way (of course it all depends on the developer):
The seller: When the seller sells an item and a player buys it, the seller will receive less money than the sale price of the item.
Example: I sell 1 apple for 50 coins, but I have 15% tax because I have the "marketplace.tax.15percent" permission, so when a player buys the apple from me, I will get 42,5 coins.
The buyer: Almost the same as the seller but in reverse. In this case, it would be a discount instead of a tax. The working method will be the same.
Example: I buy 1 apple that was set at 50 coins, if I don't have permission to get a discount, that's it, the apple is purchased at 50 coins. But if I have a discount permission "marketplace.disscount.5percent", I bought the apple for 47.5 coins.
Configuration file:
So, we have the idea, but how it will be displayed in the configuration files, so that the user can customize their taxes and discounts.
Here's an example:
// Taxes and discounts:
Taxes:
CustomNameForThisTax:
Permission: "marketplace.tax.[CustomName]
// Taxes would be calculated on percentages
TaxInput: #AnInteger, example 15
Discounts:
CustomNameForThisDisccount:
Permission: "marketplace.disccount.[CustomName]
// The discount would be calculated in percentages
TaxInput: #AnInteger, example 5
Example of tax permissions: marketplace.tax. [CustomName]
Discount permissions example: marketplace.disscount. [CustomName]
The text was updated successfully, but these errors were encountered: