BattleCommandLimiter

BattleCommandLimiter

So you found an amazing plugin, but you want players to only be able to use the command twice a day, or maybe you want them to have to pay 100 Gold.

BattleCommandLimiter allows you to create custom "rules" for all player commands that are checked before they are executed.

Types of Rules

You can limit based on

  • time
  • money
  • items
  • any combination of the above

Examples

  • Time : <times>x every <sec,min,hour,day>
    • example1: example1: 3x every 60 sec
    • example2: 4x every 1 day
  • Money: <amount> money
    • example1: 50 money
  • Items
    • - diamond : 3
    • - obsidian : 4
  • Composite Rules
    • example: 1x every 15 seconds AND 50 money

Requirements

  • MySQL ( possibly will drop this in the future )

Example Config

limitedCommands:
    payPrefix: pay
    spawn:
        payFromRule: rule2 ## allow players to bypass rule1 by using rules 2,3.  players would need to type payspawn
        rule1: 1x every 10 seconds AND 10 money
        rule2: 75 money
        rule3: items
        rule3_items:
            - fire: 10
    arena:
        dontLimit: [list, help, noArgs]
        rule1: items and 500 money
        rule1_items:
            - fire: 1
            - iron_block: 8

Source

BattleCommandLimiter


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    43137
  • Created
    Aug 10, 2012
  • Last Released File
    Aug 10, 2012
  • Total Downloads
    1,079
  • License

Categories

Members

Recent Files