MoneyOnDeath
A simple Bukkit plugin that controls what happens to your money on death.
This is my first plugin so please bear with me if it looks amateurish. I made this plugin to be used on my server. In the server we are aiming for realism, and I noticed that in Bukkit there aren't any simple plugins currently for handling player balances on death. I went ahead and spent a few hours programming this, and decided to share it just in case others are looking for a simple way to loose handle their money upon death,
Features
- Remove all player balance on death
- Deduct balance by percentage
- Deduct balance by specific amount
- PVP mode (Deducted money will transfer to killer)
- Toggle OP (Enable or disable for OP's)
The plugin makes use of Vault so it should support vault economies. Our server makes use of Jobs Reborn and it works like a charm! I did not add any permissions since I did not need it for my server or saw the point. All I wanted was to loose all player money on death, I just expanded on that a little bit.
Installation: Just drag it into your plugins folder then you're good to go!
Getting Started: As an OP type /DeathMoney helpto get started
For more information orif you encounter any problems go to my GitHub repo.
Please feel free to contribute if you wanna :D
And since this is my very first plugin, feedback would be much appreciated!
Works on 1.12
-
View User Profile
-
Send Message
Posted Jul 3, 2017Hey, just letting you know that the plugin works on my server. But, I want players to lose a percent of their money on death (5%). However, when I run the command /deathmoney percent 5 it gives me an error that says, "Invalid amount for percentage". I don't understand. It's really frustrating. I was wondering what could be causing this. Is there a certain way I need to input this that I don't know about? If so, it should be more clear.
-
View User Profile
-
Send Message
Posted Jul 3, 2017Also I found the config and I set up the values in there but they don't work in game. The only things that work is the clear function and the amount function which are the two I'd prefer not to use.
-
View User Profile
-
Send Message
Posted Jul 4, 2017In reply to ificouldflyinNO:
Sorry about that. I'll check it out. Make sure everything working. Then I'll update it. Should be taken care of pretty soon.
Thanks for trying out the plugin!
-
View User Profile
-
Send Message
Posted Jul 4, 2017In reply to ificouldflyinNO:
I have fixed the problem. My bad.
It should be working fine now :D
You can download it here (Might still be under review)
If you encounter any more problems, please create an issue at the GitHub repo. :D
And if you have any suggestions please do tell!
-
View User Profile
-
Send Message
Posted Jul 5, 2017In reply to tjakoen:
-
View User Profile
-
Send Message
Posted Jul 6, 2017In reply to ificouldflyinNO:
Thanks for liking the plugin. I rounded it off to the nearest dollar because in my server economy cents aren't really used. But I understand that I should make it more generic.
I'll be updating the plugin soon since this was my first plugin and the codes really messy.
I'll be sure to add that on the next minor update.
Anyways,
Thank you!