EnchantmentSlots | Add enchantment slot feature to your server! | 1.14 - 1.21.4 icon

EnchantmentSlots | Add enchantment slot feature to your server! | 1.14 - 1.21.4 -----

Packet based - Highly compatibility - Permission group - EcoEnchants support



Install
  • ProtolcolLib is required.
Configs
Code (YAML):

# EnchantmentSlots by @PQguanfang
#
# READ THE WIKI: simple.superiormc.cn/

# Settings
settings
:
  debug
: false
  add-lore
:
    display-value
: "&#ff3300Enchantment Slots: %amount%"
    # One word without color code only.
    check-value
: "Slots"
    auto-add-trigger
:
      Packet
:
        enabled
: true
      EnchantItemEvent
:
        enabled
: false
      InventoryClickEvent
:
        enabled
: false
    black-creative-mode
: false
  default-slots
:
    default
: 5
    vip
: 10
  default-slots-conditions
:
    vip
:
      - 'permission
: group.vip'
  close-inventory-if-reached-limit
: true
  remove-illegal-extra-enchant
: true
  black-creative-mode-player
: true

add-slot-items
:
  A
:
    material
: PAPER
    name
: '&dExtra Enchantment Slot &7 (+1 )'
    lore
:
     - '&fDrag this item into your item to use!'
    add-slots
: 1
  B
:
    material
: PAPER
    name
: '&dExtra Enchantment Slot &7 (+5 )'
    lore
:
     - '&fDrag this item into your item to use!'
    add-slots
: 5

# Messages
messages
:
  plugin-reloaded
: "&#98FB98[EnchantmentSlots] &fPlugin reloaded!"
  help-main
: |
   &#98FB98&lEnchantmentSlots &7Made by @PQguanfang
    &f/es help &7- View help.

  help-main-admin
: |
   &#98FB98&lEnchantmentSlots &7Made by @PQguanfang
    &f/es help &7- View help.
    &f/es reload &7- Reload the plugin.
    &f/es setslots &7- Set mainhand enchantment slots.

  help-main-console
: |
   &#98FB98&lEnchantmentSlots &7Made by @PQguanfang
    &f/es help &7- View help.
    &f/es reload &7- Reload the plugin.

  success-add
: "§x§9§8§F§B§9§8[EnchantmentSlots] §aAdd %amount% extra main hand item enchantment slot!"
  success-set
: "§x§9§8§F§B§9§8[EnchantmentSlots] §aSet main hand item enchantment slot to %amount%!"
  slots-limit-reached
: "§x§9§8§F§B§9§8[EnchantmentSlots] §cYour item has reached its enchantment limits!"
  error-args
: "&#98FB98[EnchantmentSlots] &cWrong command usage, if you need help, use /mythictotem help!"
  error-miss-permission
: "&#98FB98[EnchantmentSlots] &cYou don't have permission to use this command!"
  error-in-game
: "&#98FB98[EnchantmentSlots] &cYou have to use this command in game!"
  error-no-item
: "&#98FB98[EnchantmentSlots] &cCan not get item in your main hand!"
  player-not-found
: "&#98FB98[EnchantmentSlots] &cWe can't find player %player%!"
debug
: Don't enable it unless you know what you are doing. It will print debug message in console.
add-lore.display-value
: Display add lore of enchantment slot info.
add-lore.check-value
: Plugin will try to remove line of lore that contains this value. You should write a word that contains in display-value without any color code.
add-lore.auto-add-trigger
: Whether auto add enchantment slot info lore to items.
Packet
: Item will always have this lore.
EnchantItemEvent
: Item will has lore after first enchant.
InventoryClickEvent
: Item will has lore after first use anvil.
The 2 event is safer and more stable than Pakcet.
default-slots
: The default enchantment slots. Default is all players use this value. Other key is condition ID, like vip in this example.
default-slots-conditions
: Conditions that used in default-slots section, players meet the condition will use the new value.
close-inventory-if-reached-limit
: Whether auto close enchant or anvil UI if you can not add more enchantments onto item.
remove-illegal-extra-enchant
: Whether remove all illegal extra enchant. For example, your server has enchant shop, then player can ignore enchant slot limit by this way, this option will help you remove the extra enchantments.
black-creative-mode-player
: For Minecraft's self limit, plugin will has some problems with creative mode player, this option help you disable display lore to creative mode.
Extra Slot Item
You can create unlimited extra slot items in add-slot-items section.
add-slot-items
:
  A
:
    material
: PAPER
    name
: '&dExtra Enchantment Slot &7 (+1 )'
    lore
:
     - '&fDrag this item into your item to use!'
    add-slots
: 1
  B
:
    material
: PAPER
    custom-model-data
: 5
    name
: '&dExtra Enchantment Slot &7 (+5 )'
    lore
:
     - '&fDrag this item into your item to use!'
    add-slots
: 5

  • debug: Don't enable it unless you know what you are doing. It will print debug message in console.
  • add-lore.display-value: Display add lore of enchantment slot info.
  • add-lore.check-value: Plugin will try to remove line of lore that contains this value. You should write a word that contains in display-value without any color code.
  • add-lore.auto-add-trigger: Whether auto add enchantment slot info lore to items.
  • Packet: Item will always have this lore.
  • EnchantItemEvent: Item will has lore after first enchant.
  • InventoryClickEvent: Item will has lore after first use anvil.
  • The 2 event is safer and more stable than Pakcet.
  • default-slots: The default enchantment slots. Default is all players use this value. Other key is condition ID, like vip in this example.
  • default-slots-conditions: Conditions that used in default-slots section, players meet the condition will use the new value.
  • close-inventory-if-reached-limit: Whether auto close enchant or anvil UI if you can not add more enchantments onto item.
  • remove-illegal-extra-enchant: Whether remove all illegal extra enchant. For example, your server has enchant shop, then player can ignore enchant slot limit by this way, this option will help you remove the extra enchantments.
  • black-creative-mode-player: For Minecraft's self limit, plugin will has some problems with creative mode player, this option help you disable display lore to creative mode.
Extra Slot Item
You can create unlimited extra slot items in add-slot-items section.
Should use XItemStack format.
Commands
  • /es help - View plugin help
  • /es reload - Reload the plugin.
  • /es setslots <amount> - Set enchantment slot to specified amount.
  • /es giveslots <amount> - Add enchantment slots specified amount.
  • /es giveslots <itemID> <playerName> - Give extra slot item to specified player.
  • Permission: enchantmentslots.+command, like enchantmentslots.reload.
Resource Information
Author:
----------
Total Downloads: 107
First Release: Oct 16, 2023
Last Update: Today at 7:04 AM
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings