Plugin Request - Robbing money

Is there a plugin like KillGivesYouMoney that if you kill another player, you can rob some money from him/her?

Fairly sure that this will work, but couldn’t test it, cause I don’t have a second player. Either way, tell me if it doesn’t work, and I’ll see if I can fix it Link

Wow! Thank you very much. I will test it right now. @Redrield

Is there any permission?

No, how would you want the permission to work, I can add it right now

Yes, I want. In addition, could you add an option that player with different permissions will get different amount of money?
Error feedback, player who kill others will lose money as well. @Redrield

Another error, if the player who is killed doesn’t have enough money to pay, he will stop to lose money. However, the killer will still gain money. @Redrield

Hi? Do you still support it?

Please don’t rush me, I’ll get it done when I have it done.
Having said that, new jar uploaded, same link. Few permissions: moneyondeath.reload to use /moneyondeath reload (reload the config), and moneyondeath.multiplier to set player’s multipliers with /moneyondeath <player> <multiplier>

Sorry, I don’t rush you delibrately. This is my fault. Thanks for your help. Does this plugin support 1.9.4 or 1.10?

At the moment I’m building against 1.10, as that’'s my default. If you need me to downgrade, I can do that, make sure nothing breaks and send you the new jar

I think I need your help to downgrade it. The plugin doesn’t work in 1.9.4. Thank you very much.

Uuh, it should work. Can you show me the error?

There is no error feedback, but it cannot work. I tried to kill a player, and I get nothing and the killed player lose nothing.
@Redrield

The information below are all of the information related to moneyondeath.

[04:11:09] [main/DEBUG] [FML/]: Examining for coremod candidacy KillGivesYouMoney-1.0-SNAPSHOT.jar
[04:11:09] [main/DEBUG] [FML/]: Not found coremod data in KillGivesYouMoney-1.0-SNAPSHOT.jar
[04:11:25] [Server thread/DEBUG] [FML/]: Found a candidate zip or jar file KillGivesYouMoney-1.0-SNAPSHOT.jar
[04:11:26] [Server thread/DEBUG] [FML/]: Examining file KillGivesYouMoney-1.0-SNAPSHOT.jar for potential mods
[04:11:26] [Server thread/TRACE] [FML/]: Located mcmod.info file in file KillGivesYouMoney-1.0-SNAPSHOT.jar
[04:11:26] [Server thread/DEBUG] [FML/]: Identified a mod of type Lorg/spongepowered/api/plugin/Plugin; (io.github.redrield.killgivesyoumoney.KillGivesYouMoney) - loading
[04:11:27] [Server thread/INFO] [FML/FML]: Attempting connection with missing mods [mcp, FML, Forge, sponge, AntiCheat3, AppleCore, BloodMagic, chiselsandbits, economylite, flatcoloredblocks, flexiblelogin, forgecreeperheal, HardcoreDarkness, helptickets, moneyondeath, mantle, testdummy, mod_quiver, com.arckenver.nations, netherportalfix, yurtmod, nucleus, Psi, redstonepaste, roughMobs, serverlistplus, simplepermissions, Souls, SpiceOfLife, io.github.hsyyid.spongychest, statusprotocol, tconstruct, ToughAsNails, worldedit] at CLIENT
[04:11:27] [Server thread/INFO] [FML/FML]: Attempting connection with missing mods [mcp, FML, Forge, sponge, AntiCheat3, AppleCore, BloodMagic, chiselsandbits, economylite, flatcoloredblocks, flexiblelogin, forgecreeperheal, HardcoreDarkness, helptickets, moneyondeath, mantle, testdummy, mod_quiver, com.arckenver.nations, netherportalfix, yurtmod, nucleus, Psi, redstonepaste, roughMobs, serverlistplus, simplepermissions, Souls, SpiceOfLife, io.github.hsyyid.spongychest, statusprotocol, tconstruct, ToughAsNails, worldedit] at SERVER
[04:11:27] [Server thread/DEBUG] [FML/]: 	moneyondeath(MoneyOnDeath:1.0-SNAPSHOT): KillGivesYouMoney-1.0-SNAPSHOT.jar ()
[04:11:28] [Server thread/TRACE] [moneyondeath/moneyondeath]: Sending event FMLConstructionEvent to mod moneyondeath
[04:11:28] [Server thread/DEBUG] [FML/moneyondeath]: Attempting to inject @SidedProxy classes into moneyondeath
[04:11:28] [Server thread/TRACE] [moneyondeath/moneyondeath]: Sent event FMLConstructionEvent to mod moneyondeath
[04:11:28] [Server thread/DEBUG] [FML/]: Bar Step: Construction - MoneyOnDeath took 0.030s
[04:11:29] [Server thread/DEBUG] [FML/]: 		moneyondeath	(MoneyOnDeath	1.0-SNAPSHOT)	KillGivesYouMoney-1.0-SNAPSHOT.jar
[04:11:32] [Server thread/TRACE] [moneyondeath/moneyondeath]: Sending event FMLPreInitializationEvent to mod moneyondeath
[04:11:32] [Server thread/TRACE] [moneyondeath/moneyondeath]: Sent event FMLPreInitializationEvent to mod moneyondeath
[04:11:32] [Server thread/DEBUG] [FML/]: Bar Step: PreInitialization - MoneyOnDeath took 0.000s
[04:11:35] [Server thread/TRACE] [moneyondeath/moneyondeath]: Sending event FMLInitializationEvent to mod moneyondeath
[04:11:35] [Server thread/TRACE] [moneyondeath/moneyondeath]: Sent event FMLInitializationEvent to mod moneyondeath
[04:11:35] [Server thread/DEBUG] [FML/]: Bar Step: Initialization - MoneyOnDeath took 0.000s
[04:11:37] [Server thread/TRACE] [moneyondeath/moneyondeath]: Sending event FMLPostInitializationEvent to mod moneyondeath
[04:11:37] [Server thread/TRACE] [moneyondeath/moneyondeath]: Sent event FMLPostInitializationEvent to mod moneyondeath
[04:11:37] [Server thread/DEBUG] [FML/]: Bar Step: PostInitialization - MoneyOnDeath took 0.000s
[04:11:37] [Server thread/TRACE] [moneyondeath/moneyondeath]: Sending event FMLLoadCompleteEvent to mod moneyondeath
[04:11:37] [Server thread/TRACE] [moneyondeath/moneyondeath]: Sent event FMLLoadCompleteEvent to mod moneyondeath
[04:11:37] [Server thread/DEBUG] [FML/]: Bar Step: LoadComplete - MoneyOnDeath took 0.000s
[04:11:37] [Server thread/TRACE] [moneyondeath/moneyondeath]: Sending event FMLServerAboutToStartEvent to mod moneyondeath
[04:11:37] [Server thread/TRACE] [moneyondeath/moneyondeath]: Sent event FMLServerAboutToStartEvent to mod moneyondeath
[04:11:37] [Server thread/DEBUG] [FML/]: Bar Step: ServerAboutToStart - MoneyOnDeath took 0.000s
[04:11:38] [Server thread/TRACE] [moneyondeath/moneyondeath]: Sending event FMLModIdMappingEvent to mod moneyondeath
[04:11:38] [Server thread/TRACE] [moneyondeath/moneyondeath]: Sent event FMLModIdMappingEvent to mod moneyondeath
[04:11:38] [Server thread/DEBUG] [FML/]: Bar Step: ModIdMapping - MoneyOnDeath took 0.000s
[04:11:41] [Server thread/TRACE] [moneyondeath/moneyondeath]: Sending event FMLServerStartingEvent to mod moneyondeath
[04:11:41] [Server thread/TRACE] [moneyondeath/moneyondeath]: Sent event FMLServerStartingEvent to mod moneyondeath
[04:11:41] [Server thread/DEBUG] [FML/]: Bar Step: ServerStarting - MoneyOnDeath took 0.000s
[04:11:42] [Server thread/TRACE] [moneyondeath/moneyondeath]: Sending event FMLServerStartedEvent to mod moneyondeath
[04:11:42] [Server thread/TRACE] [moneyondeath/moneyondeath]: Sent event FMLServerStartedEvent to mod moneyondeath
[04:11:42] [Server thread/DEBUG] [FML/]: Bar Step: ServerStarted - MoneyOnDeath took 0.000s

I changed the plugin around to only add money if the player dying is able to lose money. If you want me to revert that I can.

As for the multipliers, it seems like those can’t work, as there’s something wrong with the 1.9.4 version of Sponge, that’s been fixed in 1.10. Sorry

Should I download it from the same link? @Redrield

I haven’t updated the download, as I haven’t changed anything. If there’s anything you want me to change, tell me.

@Redrield
Yesterday, because I was hindered by some my computer problems, I cannot visit the website. Thereby I am sorry that I cannot reply your message in time.
Could you make the plugin working in 1.9.4?

I can’t make the plugin work on 1.9.4, There’s a bug in the server that was fixed in 1.10.2 builds, but still exists on 1.9.4.

:fearful:
For my little server, I have experienced downgrading it from 1.10.2 to 1.8.9 because WE doesn’t support 1.10.2. Then I upgraded it from 1.8.9 to 1.9.4 because there is a critical bug existing in main mod, but author has abandoned version 1.8.9. Just now, I found WE has released latest version which support 1.10.2, and you told me MoneyOnDeath will only worked in 1.8.9 or 1.10.2. I think I have to upgrade my server back to 1.10.2. I am sorry to chatter these stuff, but it is really speechless.