EconomyPunga
Version: v1.3.2
This plugin requires vault! You can get it here: dev.bukkit.org/server-mods/Vault
This plugin gives the murderer a part of their victims' money. This amount can be configured from the file config.yml, as well as messages for the murderer and his victim.
Features
Configuration Tutorial
Changelog
Source Code
To Do:
- Add money drops for different deaths
Special thanks to:
- FlingeR (original dev)
- Fermis (for the halp)
- krinsdeath (Tons of great tips)
- Top_Cat (Github and testing )
-
View User Profile
-
Send Message
Posted Apr 22, 2012how do you get money in the first place?
-
View User Profile
-
Send Message
Posted Apr 22, 2012I Would Love To See You Inplument An Option Were The Player Drops All Him Money But The Killer Will Get Only A Certain % Or Amount Out Of It...But The Player Will Still Lose 100% Of There Money
-
View User Profile
-
Send Message
Posted Apr 21, 2012@Switch0r
Right, metrics update. Fixing.
-
View User Profile
-
Send Message
Posted Apr 21, 2012Version 1.3.3 is hanging the server for 20 sec at start.
2012-04-21 08:01:15 [INFO] [EconomyPunga] Enabling EconomyPunga v1.3.2
2012-04-21 08:01:15 [INFO] [EconomyPunga] EconomyPunga v.1.3.2 enabled!
2012-04-21 08:01:15 [INFO] [EconomyPunga] Config loaded successfully!
2012-04-21 08:01:15 [INFO] Connection reset
2012-04-21 08:01:15 [INFO] Connection reset
2012-04-21 08:01:16 [INFO] Connection reset
2012-04-21 08:01:16 [INFO] Connection reset
2012-04-21 08:01:36 [SEVERE] [EconomyPunga]Statistics tracking failure
-
View User Profile
-
Send Message
Posted Apr 20, 2012@lolitsthad
Found the issue, fixing!
-
View User Profile
-
Send Message
Posted Apr 19, 2012RossGosling's comment is correct, and it happens 100% of the time. If a player has taken damage and then falls to his death (even if the falling happens after combat has finished and is not related to it) the player who dies by falling still loses money.
-
View User Profile
-
Send Message
Posted Apr 12, 2012@PatrickFreed
Mine happens only rarely, so it is kind of hard to replicate without watching it for a while. Perhaps you should try it with a few ppl on a server you have ops on and log access to and see if you can get it to happen for you with the version you hold to be working fine.
-
View User Profile
-
Send Message
Posted Apr 12, 2012@ASWeiler
@RossGosling
My versions may have been messed up, I can't see a way either of these could be possible.
-
View User Profile
-
Send Message
Posted Apr 10, 2012When a player1 is hurt by player2 then goes off and plays for a while, if he falls to his death player2 somehow receives money!
-
View User Profile
-
Send Message
Posted Apr 10, 2012@PatrickFreed
That is odd cause that is exactly what I have. 1.3.2-Fixed.
-
View User Profile
-
Send Message
Posted Apr 9, 2012@ASWeiler
What version are you using? 1.3.2 doesn't have this error anymore.
-
View User Profile
-
Send Message
Posted Apr 8, 201217:20:45 [SEVERE] Could not pass event EntityDamageByEntityEvent to EconomyPunga org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459) at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:360) at org.bukkit.craftbukkit.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:378) at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:608) at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:595) at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:215) at net.minecraft.server.EntityArrow.F_(EntityArrow.java:214) at net.minecraft.server.World.entityJoinedWorld(World.java:1264) at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:106) at net.minecraft.server.World.playerJoinedWorld(World.java:1246) at net.minecraft.server.World.tickEntities(World.java:1153) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:542) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftSkeleton cannot be cast to org.bukkit.entity.Player at me.patrickfreed.EconomyPunga.EconomyPungaEventListener.onEntityDamageByEntity(EconomyPungaEventListener.java:40) at sun.reflect.GeneratedMethodAccessor528.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ... 16 more
-
View User Profile
-
Send Message
Posted Apr 8, 2012I am gonna test this , i like simple plugins :)
Thanks
Edit: Tested, working very good :)
-
View User Profile
-
Send Message
Posted Apr 7, 2012@RossGosling
I uploaded a new version that gens a config.
-
View User Profile
-
Send Message
Posted Apr 7, 2012@PatrickFreed
so how do we get the config?
EDIT used config guide to make one myself
-
View User Profile
-
Send Message
Posted Apr 7, 2012@RossGosling
@Qiadda
Sorry about that, forgot to package the config with the jar.
-
View User Profile
-
Send Message
Posted Apr 7, 2012@Qiadda
Can I get the rest of the error?
-
View User Profile
-
Send Message
Posted Apr 7, 2012@Qiadda
Mines doing the same and it wont generate a config
-
View User Profile
-
Send Message
Posted Apr 7, 2012thanks :)
if the config file is not present, only!
-
View User Profile
-
Send Message
Posted Apr 7, 2012@Qiadda
@LlmDl
@AuraL17
Fixed!
https://github.com/patrickfreed/EconomyPunga/commit/6890042346c1cfe45df0b7f7804f42e9c14bc2ca https://github.com/patrickfreed/EconomyPunga/commit/101dcd388c9a4a041323d0164054e45f4089d8f7