LevelRestrictions

LevelRestrictions is a simple, configurable rule based system for adding restricting the use of items for common actions according to the Players level.

NOTE: I have totally rewritten this plugin from scratch and created a new plugin that does all this and wayyyy more. Click here for the ItemRules plugin.

Latest Build - (awaiting approval)

Source Code

Example

LevelRestrictions adds a new layer of fun to your server by allowing you to configure groups of custom rules that apply to the players XP level and/or the Faction they belong to.

Some examples:

  • Restrict people from only using wooden or stone swords until they hit a level
  • Stop players using any specific block or item ( like TNT or even a crafting bench!)
  • Prevent users from using iron weapons after a certain level
  • Prevent your "Red" faction from using Iron weapons, but give them access to iron armor. Give your "blue" faction access to iron armor, but not iron weapons! See Faction support here.

Config


Example that restricts the Player from using any stone tools or weapons until level 2:

stoneToolsAndWeapons:
    description: use Stone tools and weapons
    minLevel: 2
        actions:
            - use
            - craft
            - pickup
        items:
            - 1
            - 4
            - 67
            - 98
            - 109
            - 291
            - 272
            - 273
            - 274
            - 275

Permissions:


levelrestrictions.rules.bypass.RULENAME

Will prevent rule from being applied to Player

Commands:


commandoptionsdescription
/can[all,current,previous,next]will show the rules the Player is eligable for
/cant[all,current,previous,next]shows rules the Player is not eligable for
/full[all]shows rules Player is and is not eligable for.

nJoy


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files