KillsPay 2.0B

KillsPay

Description

PVP 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

Update

  1. Paying by percentage is now an option, just set up an percentage bigger then 0 and it will use that for pvp kills
  2. Mob spawned by a mobspawner no longer get rewarded

Installation

  1. place killspay2.0b.jar in your plugins folder
  2. Start your server
  3. Setup the config file (not needed, it works out of the box)
  4. Setup permission killspay.use
  5. Go kill and get paid =)

If you have any ideas on what more this plugin could do, please let me know =)

Example config:

#######################################################################
#  KillsPay version 1.1
#  Created by BobbyD441 and duncandelano
#  
#  Color codes:
#  %0 - black        %a - Green
#  %1 - Dark blue    %b - Aqua
#  %2 - Dark green   %c - Red
#  %4 - Dark red     %d - pink
#  %5 - Purple       %e - Yellow
#  %6 - Gold         %f - White
#  %7 - Gray
#  %8 - Dark gray
#  %9 - Blue
#
#  PLEASE NOTE THAT YOU MUST INSERT A SPACE AFTER THE COLORCODE / OTHER
#
#  Other:
#  %killer - The killing player name
#  %died - The dead player name
#  %mob - The killed mob type
#  %amount - The amount of credits paid
########################################################################

KillsPay:
  defaults:
    showpaymessage: true
  messages:
    logtoconsole: true
    playergotkilledmessage: "%a Aww %killer killed you, pay him %amount"
    killedaplayermessage: "%a You received %amount for killing %died"
    killedamobmessage: "%a You received %amount for killing a %mob"
  killplayer:
    killplayer: true
    showpaymessage: true
    playerpays: true
    amount: 1.0
    percentage: 10
  worlds:
    world:
      mobprice:
        zombie: 1.0
        spider: 1.0
        creeper: 1.0
        skeleton: 1.0
        giant: 1.0
        slime: 1.0
        ghast: 1.0
        pigzombie: 1.0
        enderman: 1.0
        cavespider: 1.0
        blaze: 1.0
        silverfish: 1.0
        magmacube: 1.0
        enderdragon: 1.0
        pig: 1.0
        sheep: 1.0
        chicken: 1.0
        horse: 1.0
    world_nether:
      mobprice:
        pigzombie: 1.0

NOTE THAT THIS WILL NOT WORK WITH THE OLD CONFIG FILE

If you are updating, please remake the config file!


Comments

Posts Quoted:
Reply
Clear All Quotes