RefundManager
RefundManager
Description
We all know that accidents happen. And it's even more unfortunate when it happens to the players. Those accidental nukes and smites. Antioch. Vindictive staff. "What's this command do...?"
Now make your staff happy with an easy to use refund system! One of the most time-consuming and stressful tasks for staff is player refunds, which could result in item duplication, incorrect refunds or dishonesty. The RefundManager plugin records inventory when a player dies, giving the staff a quick and easy way to refund inventory to a player.
Features
- Records player death information such as location, death reason and inventory
- Optionally turn off inventory drops on death to avoid duplication by unscrupulous players
- Don’t record death information for specified worlds
- Simple in-game staff and player commands
Commands/Permissions
Command | Permission | Description |
---|---|---|
/refund help | refund.help | Allowsplayer to display the help |
/refund accept | refund.user.accept | Allows a player to accept a refund that is available |
/refund list | refund.user.list | Allows a player to list the items that will be refunded |
/refund decline | refund.user.decline | Allows a player to decline a refund that is available |
/refund detect | refund.admin.detect | Prints out information about the item currently in hand |
/refund show <player> [2] | refund.admin.show | Show the last 2 (default) deaths for <player> |
/refund refund <player> <id> | refund.admin.refund | Set <id> to refundable for player |
/refund showitems <id> | refund.admin.list | Show items in this refund id |
Installation
Simply drop the .jar in your Bukkit server’s plugin directory and restart the server.
This plugin uses MySQL to store data as a requirement. While the plugin automatically creates the database tables required, the plugin will need to be configured with proper database information in config.yml.
Configuration
These options are found in the config.yml
allow-drops | true|false | If set to true (default) player’s inventory and XP drop. If set to false, all dropped inventory is removed from the game (helps prevent duplication through the refund system). |
ignored-worlds | List | Refunder will not perform any actions in an ignored world when a player dies. |
persistance | mysql | Where to save the data |
Problems?
Running into issues? Have a suggestion or feature? Like it, love it, hate it?
Leave a comment, or create a ticket!
@karrade0218
Hello, a github update would be excellent, thanks.
well i managed to update everything in ur git project to uuid but then i realized its an old copy lol if you would like i can still push the files back so you can update this one
This seems like exactly what i was looking for, if you want i can update it for 1.8.3 for you including uuid's if you dont have it done yet
ok so i found your source and i have started updating it, if it works i will add a pull request
Does this plugin work with Spigot 1.8.3? If not will it be updated in the future?
Is there going to be an update for 1.8?
@madtomic
If you are using 1.0.3 it was built against 17.2-r0.2 so r0.3 should be ok. If you PM me your log I can look through it.
@AlterVue
Yes, everything is config fine. I'm using cb1.7.2-r0.3 do you think this is the problem? Can you test your build against 1.7.2-r0.3?
@madtomic
Are you sure the configuration is setup for a MySQL server with correct username/password and proper permissions?
don't know how to get /refund show playername to work. it said don't' have records available and mysql has data???
@john01dav
BukkitDev didn't inform me of a new ticket, but sent me an email about this comment. Oh, I had ticket subscription turned off, my bad.
Why haven't you responded to my ticket yet? I posted it more than a week ago.......
Great idea been waiting for a plugin like this thanks :)....
@FlawlessSin
This was tested on a new bukkit server before release. If you could check the console log and the plugin configuration, that might give more insight into the issue.
Feel free to PM me your console log.
The newest version seems to be broken. Nothing is displayed whenever I use the commands listed. Nor does it create any MySQL databases.
Looking forward to it.
@dhannyjsb
I have some new features in testing right now, most notably the /refund showitem and the choice between Mysql or file YML. I suspect I'll finalize testing in 1.7.x and get it uploaded over this weekend.
Update please. This is Great Plugin.
@TheMystake
Awesome, glad it can be of use!
This is a phenomenal plugin and just what my server needed! The players were waiting for a plugin that functions exactly like this and now we're able to use it to make some new and unique events and challenges!
This looks like a really cool plugin :D