SmackedEnchant 1.2.8

Change the maximum enchant level based on permission.

  1. ZIHARK17
    Description
    SmackedEnchant can change the maximum level of enchantment per user based on permission.

    Features
    • Ensure player does not have enchantment over their limit.
    • Different maximum level for each enchantment type.
    • Will scale enchantment from the enchanting table.
    • Can combine higher enchantment in the anvil.
    Installation
    1. Download jar and put it in your plugins folder.
    2. Restart the server.
    3. Edit the configuration.
    4. Reload the configuration with /smackedenchant reload or restart the server.
    Commands
    You can use /smackedenchant or /se
    /smackedenchant
    - Show the list of command.
    /smackedenchant reload - Reload configuration.
    /smackedenchant addmax <group> - Add maximum enchantment from a group to the held item.
    /smackedenchant group [group] - List the enchantment groups or show info about a specific group.
    /smackedenchant mygroup - Show your enchantment group.
    /smackedenchant debug - Print debug information of the held item to the server console.​

    Permission

    smackedenchant.reload - Reload command.
    default: op

    smackedenchant.addmax - AddMax command.
    default: op

    smackedenchant.group - Group command.
    default: op

    smackedenchant.mygroup - MyGroup command.
    default: op

    smackedenchant.notify - Players with this permission get notified when an item is adjusted.
    default: op

    smackedenchant.debug - Debug command.
    default: op

    smackedenchant.scale - Players with this permission will get scaled enchant up to their max level from the enchantment table.
    default: everyone

    smackedenchant.anvil - Players with this permission can combine item with higher enchant in the anvil.
    default: everyone

    smackedenchant.disablecheck:
    description: Disable plugin functionality for a player.
    default: nobody

    smackedenchant.limit.default - Give permission for the default enchant limit to everyone.
    default: everyone

    smackedenchant.limit.server_operator - Give permission for the op enchant limit to operator.
    default: op

    smackedenchant.limit.<group_name> - Give permission for a custom created enchant limit.
    Configuration
    Code (Text):

    # SmackedEnchant Configuration

    # Delay for the armor check task in tick (20 tick = 1 sec).
    # This task check the armor of every players.
    # Set to 0 to disable
    armorTaskDelay: 100

    # Delay for the held item check task in tick (20 tick = 1 sec).
    # This task check the item in hand of every players.
    # Set to 0 to disable
    heldItemTaskDelay: 60

    # Delay between permissions check to find enchant group for players in tick (20 tick = 1 sec).
    # Minimum 80
    enchantLimitUpdateTaskDelay: 200

    # Set to false to disable adjustment of item with level over maximum.
    # If set to false, the armor task and held item task are automatically disabled.
    # The enchantment table and anvil functionality will still work.
    adjustItems: true

    # Scale enchantment table enchants with the players maximum.
    # Player need permission: smackedenchant.scale
    scaleEnchant: true

    # Enable Anvil support
    # Player need permission: smackedenchant.anvil
    anvilSupport: true

    # Scan every item in the inventory when the player join and adjust illegal item.
    checkFullInventoryAndEnderchestOnPlayerJoin: true

    # Define the limit for enchantment level.
    # Use '.inf' for no limit. ('default: .inf')
    limit:
      # ***IMPORTANT*** Do not change the default group! ***IMPORTANT***
      # perm: 'smackedenchant.limit.<name>'
      # Ex : 'smackedenchant.limit.smacked'
      # This one is given to everyone by default.
      default:
        # Highest priority group is used.
        priority: 0
        # The maximum number of enchantment allowed. Default to infinite.
        maxNumberOfEnchantment: .inf
        # The maximum total enchantment level an item can have. Default to infinite.
        maxTotalOfEnchantmentLevel: .inf
        # Default max level for undefined enchantment.
        default: 5
        # Add enchantment here lower case bukkit name. They override the default max.
        arrow_damage: 5
        arrow_fire: 1
        arrow_infinite: 1
        arrow_knockback: 2
        damage_all: 5
        damage_arthropods: 5
        damage_undead: 5
        depth_strider: 3
        dig_speed: 5
        durability: 3
        fire_aspect: 2
        frost_walker: 2
        knockback: 2
        loot_bonus_blocks: 3
        loot_bonus_mobs: 3
        luck: 3
        lure: 3
        mending: 1
        oxygen: 3
        protection_environmental: 4
        protection_explosions: 4
        protection_fall: 4
        protection_fire: 4
        protection_projectile: 4
        silk_touch: 1
        thorns: 3
        water_worker: 1
      # You need to add the permission if you want player to have this group
      # permission: 'smackedenchant.limit.players'
      # Exemple group, change this one instead of the default one, or create your own.
      players:
        priority: 10
        maxNumberOfEnchantment: .inf
        maxTotalOfEnchantmentLevel: .inf
        default: 10
      server_operator:
        priority: 100
        default: .inf
     
    [​IMG]
    iOxf likes this.

Recent Updates

  1. 1.2.8
  2. 1.2.7
  3. 1.2.7

Recent Reviews

  1. Goofables
    Goofables
    4/5,
    Version: 1.2.8
    Awesome plugin. I love it when it works. Still has some bugs. Hope the dev pushes an update
  2. Tau
    Tau
    3/5,
    Version: 1.2.8
    The plugin doesn't appear to function as described:
    The Anvil Combine system is not reaching a higher level then vanilla.
  3. KingAlterIV
    KingAlterIV
    5/5,
    Version: 1.2.6
    One of the best "Enchantments Limiter" plugin yet! Hope that it gets updated more, with more enchants! :)
  4. ifearwaffles
    ifearwaffles
    5/5,
    Version: 1.2.4
    Awesome plugin!
  5. Johandrex
    Johandrex
    5/5,
    Version: 1.2.4
    Amazing plugin!
  6. iOxf
    iOxf
    5/5,
    Version: 1.2.3
    Good job. c:
  7. HamsterLV
    HamsterLV
    5/5,
    Version: 1.2.2
    You should add a function that names the enchants in default minecraft format that use Roman numerals, e.g instead of Smite enchantment.level.16 it would be Smite XVI
  8. Coltll
    Coltll
    5/5,
    Version: 1.2
    I use on my server, no way to get around it
  9. hamyuu
    hamyuu
    5/5,
    Version: 1.2
    using in creative server. very useful!