I would like a plugin that gives players money for killing other players depending on the rank of the player (who got killed). For example, if a player kills someone of rank 'Beginner' they get payed $2; Novice: $3; Amateur: $5 etc... Ideas for config: Code: Novice: 2 Beginner: 3 Amateur: 5 Intermediate: 8 Ideas for commands/plugins: /killspay reload (killspay.reload) Best way would be to use Vault to handle the economy. If necessary would it be possible to make it 1.8 (UUID) compatible? I would make this plugin myself, but I'm currently really busy. I don't really have a preference for what the plugin is called. If you want any details, feel free to ask. I don't mind if you want to upload it to bukkit dev or not. All I really want is something along the lines of what I detailed above, and ASAP please. Thanks, TheSimpZone
Yeah, I am. Probably should have made it a bit clearer... Thanks for having a look --- Cycryl Just wondering if you have got anywhere with the plugin or should I try to do it myself? I'll probably have time next week if you or anyone else can't get it done sooner. Thanks --- OK... I guess it's time for a bump then. EDIT: Condensed posts
https://www.dropbox.com/s/u5ui4drpjpccha3/KillCash.jar?dl=0 The config should be pretty self-explainatory, just give players the perm node killcash.group.groupname define the groupname in the config (the ranks list) and just use logic to fill in the rest...
Thanks so much! simgar98 (BTW haven't had a chance to test it yet so if I'm wrong please do let me know, but this is just what I figured from the default config) Hmm... I wasn't very clear on this at all, but please could it be that it depends on the rank of the player that gets killed, not the rank of the player who does the killing. Sorry about the ambiguity. Thanks again, EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Well, that was pretty much creating 2 diff plugins for a single request xD https://www.dropbox.com/s/u5ui4drpjpccha3/KillCash.jar?dl=0
simgar98 Sorry to keep bugging you (I've only just now had a chance to test it), but Every time a player is killed I get this message in console: Code: 16:20:53 CONSOLE: ERROR]: Could not pass event PlayerDeathEvent to KillCash v1.0 16:20:53 CONSOLE: java.lang.IllegalArgumentException: Path cannot be null 16:20:53 CONSOLE: Method) ~[?:1.7.0_21] 16:20:53 CONSOLE: Source) ~[?:1.7.0_21] 16:20:53 CONSOLE: Source) ~[?:1.7.0_21] 16:20:53 CONSOLE: Source) ~[?:1.7.0_21] I have the config set up as: Code: ## KillCash's default config ranks: - Beginner - Novice - Amateur - Intermediate - Professional - Expert - Master - Premium - VIP - Aeon Beginner: 200 Novice: 300 Amateur: 500 Intermediate: 800 Professional: 1500 Expert: 2500 Master: 4000 Premium: 5000 VIP: 7500 Aeon: 10000 And they are all valid ranks. Thanks again,
Thanks! It works now. BTW if you are planning on releasing it then you should do something with the permissions, because you have to remove the permissions of a previous rank otherwise only the lowest rank works (because of inheritance)
I believe the top one of the ranks: list should be chosen (otherwise, give them a negative perm node, just use a double -, so - - killcash.group.group to not let them have that perm )