Configuration

Configuration

Config.yml

mode: 'Static Amount' 
static-amount: 15
static-percentage: 1
max-amount: 100
min-amount: 1
max-percentage: 15
min-percentage: 1
death-msg: 'You lose %n for getting killed by %a.'
attacker-msg: 'You gain %n for killing %d.'

Let's go through this node my node.

Mode

mode: 'Static Amount'

This mode can be 'Static Amount', 'Random Amount', 'Static Percentage', or 'Random Percentage'.

Static Amount: This amount, determined by the 'static-amount' node, will be taken from the player every time they die.
Random Amount: This amount, configured by the max-amount and min-amount nodes, will be a random amount somewhere between the min and max.
Random Percentage: This percentage, configured by the max-percentage and min-percentage nodes, will be a random percentage of the victims money somewhere between the min and max.
Static Percentage: This percentage, defined in the static-percentage node, will be taken from the victims money.


Messages

attacker-msg: 'You gain %n for killing %d.'

This is the message the killer receives when they kill someone. %n is the amount of money and &d is the victim.

death-msg: 'You lose %n for getting killed by %a.'

This is the message the victim receives when they are killed by someone. %n is the amount of money and &a is the killer. Use this guide for colors.

Permissions

'EconomyPunga.use'

This node is required for both the pvper and the victim. If a permissions handler, Permissions 3.x, or Permissions 2.7.4 is not detected, it will default to only Ops losing and gaining money when killing each other.


Comments

Posts Quoted:
Reply
Clear All Quotes