KillsPay 2
KillsPay
Description
PVP and mob kills can now earn you money. Just setup the amount in the config file. Use the permission - killspay.use to allow payment for players killing players and for players killing mobs.
For this plugin to work you need to have Vault installed
Installation
- place killspay2.jar in your plugins folder
- Start your server
- Setup the config file (not needed, it works out of the box)
- Setup permission killspay.use / killspay.setbounty
- Go kill and get paid =)
KillsPay
Players must have the killspay.use permission to be able to get paid. The names of the mobs in the config file must match the names as they are descibed here and match the world names in the config file to your world names.
Bounty
Players must have the killspay.use permission to be able to collect a bounty, and the killspay.setbounty permission to be able to set bounties.
Commands
- /bounty - Shows the bounty on you
- /bounty <playername> - Shows the bounrty on another player
- /setbounty <playername> <amount> - Sets a bounty on a player
NOTE THAT THIS WILL NOT WORK WITH THE OLD CONFIG FILE If you are updating, please remake the config file!
Thank you BobbyD441 :)
@ArttuJarvinen
I'll make it so in the next update =)
Would it be possible to make the permission for getting money for killing players and mobs seperate? :)
@drumming102
Looks to me like its SpawnSafety thats throwing errors tho...
paying for player kills is not working. Just get lots of errors.
http://pastebin.com/9VdUVArE
@BobbyD441
ok now its installed and working >w<
@Invert_Tails
Do you have Vault installed?
it doesn't want to load on my server for some reason...
10:15 PM [INFO] [PermissionsEx] sql backend registered!
10:15 PM [INFO] [PermissionsEx] file backend registered!
10:15 PM [INFO] [PermissionsEx] PermissionEx plugin initialized.
10:15 PM [SEVERE] Could not load 'plugins\HeroicDeath.jar' in folder 'plugins'
10:15 PM [INFO] MCBans: Starting..
10:15 PM [SEVERE] Could not load 'plugins\killspay1.1.jar' in folder 'plugins'
@spunkiie
Done, hope you enjoy it =)
@BobbyD441
FYI: This plugin is able to detect mobs from mobspawners and NOT pay when they are killed:
http://dev.bukkit.org/server-mods/moneydrop/
Hope you can implement it soon :)
Thank you for your great and non-paid work
@spunkiie
I had a look at that, not sure if it possible... And no donation button, consider my plugins as random hacks of kindness =)
@BobbyD441
Please add an option to NOT pay for killed mobs from MOBSPAWNERS.
This is a quick way to get rich.
@BobbyD441
Where is the donation button ? :)
@nhoclesnar
Like your thinking =) It will be in the next version !
@BobbyD441
That encourage players to go after 'big' fishes and to leave the newbies alone.
@jakimfett
New version is here:
until it gets approved on dev.bukkit =)
edit
New version is approved =)
@jakimfett
Snap =( I compiled in java 7... When a server runs java 6 this happens, im compiling in 6 right now =)
When I attempt to load this on my 1.2.5 bukkit server, I get this error:
2012-05-25 10:25:19 [SEVERE] Could not load 'plugins/killspay1.1.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: bobbyd441/mc/kp/main/KillsPay : Unsupported major.minor version 51.0
Caused by: java.lang.UnsupportedClassVersionError: bobbyd441/mc/kp/main/KillsPay : Unsupported major.minor version 51.0
@nhoclesnar
I'll look into making it an option in the next version, but what if the killed player is broke?
How about using percentage instead of a defined amount of money?