MiBluePayout

Logo

MiBluePayout - Revolutionizing KitPvP

Overview ~~~~~~~~~~~

Concept

Kill stealing has been a problem on my server for years. Players have been PvPing, and another player swoops in at the last second to steal the kill. This plugin stops this by making kill payouts (getting money for kills) percentage based. For example, player 1 and player 2 are fighting. Player 3, seeing that player 1 is loosing the fight, swoops in at the last second and steals the kill. He gets full credit for the kill and gets all the money for it, but player 2 did most of the work. With this plugin, player 2 would get 95% of the reward and player 3 would get 5%. Later, player 2 and player 3 start fighting. Remember, player 1 was just fighting player 2. Player 3 wins, and gets 50% of the reward for player 2 and player 1 (who fought player 1 earlier) will also get 50% percent of the reward because they were fighting earlier.

How it works

Whenever a player hits another player, that hit is tracked. When a player dies, all hits to the player who died are processed. A list of damagers and the damage they did to the now dead player (as well as a total damaged amount) is made. The formula to get the amount to pay out is as follows: (damage done / total) * kill worth = amount to pay. The percentage of damage they did to the player is (damage done / total) * 100. Then, after all the players have been correctly paid out, all the hits done to the dead player is reset.

Setup ~~~~~~~~~~~

How to install

Simply drag and drop into your plugins folder and setup the config afterwards.

Config

In the config, there is only one thing for you to set: price per kill. This is the total amount to be paid out for every kill (all damagers combined).

Permissions

mibluepayout.pay: be paid for killing.

Dependencies

This plugin requires Vault! You should be running it anyway!

Try it out

Check this plugin out in action on play.miblue.net

Misc ~~~~~~~~~~~

Plugins similar

There is no other public plugin that does this, but plugins that do the same can be found on many popular KitPvP servers.

Donate

Did this plugin help your server? I worked very hard to make this so please donate! You can donate by clicking the "Donate" button on the top right of the menu.

Other

I originally made this plugin for my server but I decided to make it public :)


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    72564
  • Created
    Jan 15, 2014
  • Last Released File
    Jan 16, 2014
  • Total Downloads
    369
  • License

Categories

Members

Recent Files