CashControl
=== THIS IS ALI CAMLIBEL ===
What is CashControl?
CashControl is an extremely lightweight plugin that allows you to control every aspect of the economy for both monsters and players. It will give you the power to let your players kill monsters for money or even kill players for money.
Features
- Gain money by killing different monsters {Configurable}
- Gain money by killing players {Configurable}
- Killing monsters can either give you a constant rate of cash (Chicken = $5) or a random number in between 2 numbers (Chicken = $5-10). Meaning that there can be decimals. {Configurable}
- Killing players can either give you a constant rate of cash (Player a = $5) or a random number in between 2 numbers (Player a = $5-10). Meaning that there can be decimals. {Configurable}
- A new stealing function where if player a kills player b, player a gains an amount of cash and player b loses that same amount. {Configurable}
- A new fining function where if player a kills player b, player a will lose money. {Configurable}
- Players can gain a percentage of someone's balance. If you set it in the config as 50% and some player has 100, then the killer will get 50. {Configurable}
Plugin Setup
- Download Vault.jar
- Download CashControl.jar and put it into your 'Plugins' folder.
- Start your server up.
- Close server and go into CashControl folder and configure.
- Enjoy!
Permissions
- cashcontrol.playerkill (Group that gains cash from killing players)
- cashcontrol.monsterkill (Group that gains cash from killing monsters)
Configuration
Configuration can be found here.
Upcoming Features
- The ability to add a delay to the players that already killed each other. So in other words, if player a killed player b, then with this upcoming feature, they can not gain any money by killing each other until the delay is over {Configurable}
Those are the only features that I can think of to come, comment for some suggestions you might want. Have fun!
Bugs
None yet!
Yes. I tested on 2 players that are OP. And I have only 1 set to true, which is constant amount.
Players don't get gold when killing them.
CONSOLE: [SEVERE] Could not pass event PlayerDeathEvent to CashControl v1.0
I have finished up all your requests, all I need to do is test it with another player.
@vvv16
Sweet idea. I would love to see this implemented. And by the way dude, your English was almost spotless. Lol I find it funny when people say that and they are perfectly fine.
Can you make that a Player lose money when he's killed by another Player ? And the killer would earn the same amount that the victim lose. (money stolen) (sorry for my bad English, i'm french)
@Lucky78
I will be adding this feature in about two or three days. Thanks for the suggestion!
@erthrock
Permissions has been added, enjoy!
Just curious, can this be used to set a negative amount to "fine" players for kill other players? If not this would be a good addition.
seems good, but let me know when you add permissions