XPCash
XPCash
XPCash is a really simple-to-use plugin, so there's not much to talk about it...
I mean, it only does one thing. It let's your players get server money for their XP.
I published it, because I noticed that there were no plugins offering that feature.
When the player uses the command "/xpcash", they get some cash.
How much you ask? Well, the exchange rate is 1 dollar per XP level, so for example if someone had level 25 and used the command, he would get 25$.
You see? It's that simple.
Required dependencies
- Vault
- An economy plugin compatible with Vault
Commands and Permissions
Command | Function | Permission |
---|---|---|
/xpcash | Buys server cash for sender's XP | xpcash.buy |
Config Values
Name | Function |
---|---|
PurchaseSuccesful | The message that tells you how much cash you've just purchased. |
NewBalance | Tehe message that tells you your balance after the purchase. |
NotEnoughtXP | The error message that appears when you don't have enough XP. |
To-do list:
- Add configurable exchange rates
- Add an ON/OFF command.
Is there a real reason why you wouldnt add a config option to control how much each level is worth? :P like this but i feel 10 levels is worth more then $10 eco money..... lol
Simple? Maybe. But it's obvious that it's smarter to just do the command each time they hit level one. Experience is tiered, in that the higher your level, the more you need to level up, as is the norm. So it kind of makes this program a bit flawed.
If possible, I'd recommend making it so that you make the value of the money equivalent to the orbs of exp. Just an opinion.