promotional bannermobile promotional banner

No Offhand

No blacklisted items in players' offhand. | Lore & Material Limition
This plugin can prevent players from holding blacklisted items in offhand.
Supports material / lore check.
 Support MC 1.7 to 1.16
Features:
  • Free switching between blacklist and whitelist
  • Item lore support
  • Item sub id support
  • Simple to use.
 
Commands & Permissions:
  Admin commands:
    /nof reload - Reload config.
    Permission:  nooffhand.admin
    Default OP can use the commands.
    nooffhand.bypass - Players with this permission can bypass offhand items check.(Default: OP)
    nooffhand.bypass.<Item id> -  Now players with this permission can bypass a specific item check.(Item id should be a spigot material name.)(Default: OP)
Screenshots:

 

Configuration:
NoOffhand:
  settings:
    limit-type: allowlist
    #Material detection list type
    # Available types:
    # allowlist - Whitelist mode - Only the items in the following list can be placed in offhand
    # denylist - Blacklist mode - Only the items in the following list cannot be placed in offhand
    list:
      - SHIELD
      - TORCH
      - TOTEM_OF_UNDYING
    #Material detection list
    #Support items with sub-id. If sub-id is not specificed, all sub-items are applied by default.
    #To disable material check, just set it to 'list: []'
    ###
    lore-limit-type: denylist
    #Lore detection list type
    # Available types:
    # allowlist - Whitelist mode - Item LORE containing any line of text in the following list can be placed in offhand.
    # denylist - Blacklist mode - Item LORE containing any line of text in the following list can NOT be placed in offhand.
    lore-list:
      - 'NO OFFHAND'
      - 'Main hand only'
      - '&c&lNo Offhand!'
    #There is no need to match exactly, as long as a line of lore contains the text above.
    #It can be used together with material detection. You can set a lore to allow a blacklisted item to be placed in offhand and vice versa
  messages:
    help:
      - '&7---&aNoOffhand Help&7----'
      - ' &b/nof reload  &7- &6Reload config'
      - '&7--------------------------------'
    command-usage: '&cUse /nof for help.'
    reload-completed: '&aConfiguration file reloaded!'
    reload-failed: '&cError(s) detected, pls check configuration file.'
    no-permission: '&cYou don''t have permission to perform this command!'
    item-not-exist: 'Item %s is not exist! Check config!'

 

 

To disable material or lore check, just leave the list empty and set it to blacklist mode.
Example:
    limit-type: denylist
    list: []

 

To disable offhand, you can set limit-type to denylist, and leave the list empty.
Lore check can be used together with material check. You can set a lore to allow a blacklisted item to be placed in offhand and vice versa.
 
Bugs:
For issues and suggestions, create a comment here!
 
Donation:
Welcome to donate us if you think this plugin is good to use!

The No Offhand Team

profile avatar
  • 5
    Projects
  • 7.0K
    Downloads
Donate

More from starchierorbView all

  • RandomDrop Addon project image

    RandomDrop Addon

    • 418
    • Bukkit Plugins

    Drop / clear items randomly when player dies.

    • 418
    • August 22, 2021
    • Bukkit Plugins
    • +2
  • InventoryKeeper project image

    InventoryKeeper

    • 3.6K
    • Bukkit Plugins

    Consume a specific item or permission to restore players' inventory and EXP.

    • 3.6K
    • August 21, 2021
    • Bukkit Plugins
    • +3
  • SimpleGiveall project image

    SimpleGiveall

    • 1.0K
    • Bukkit Plugins

    A plugin allows you to give items / commands to all the players which supports generating random number.

    • 1.0K
    • August 14, 2021
    • Bukkit Plugins
    • +3
  • Global Gamerule project image

    Global Gamerule

    • 610
    • Bukkit Plugins

    A plugin that allows applying global gamerule when a world is loaded and check per world gamerules.

    • 610
    • August 3, 2020
    • Bukkit Plugins
    • +4
  • RandomDrop Addon project image

    RandomDrop Addon

    • 418
    • Bukkit Plugins

    Drop / clear items randomly when player dies.

    • 418
    • August 22, 2021
    • Bukkit Plugins
    • +2
  • InventoryKeeper project image

    InventoryKeeper

    • 3.6K
    • Bukkit Plugins

    Consume a specific item or permission to restore players' inventory and EXP.

    • 3.6K
    • August 21, 2021
    • Bukkit Plugins
    • +3
  • SimpleGiveall project image

    SimpleGiveall

    • 1.0K
    • Bukkit Plugins

    A plugin allows you to give items / commands to all the players which supports generating random number.

    • 1.0K
    • August 14, 2021
    • Bukkit Plugins
    • +3
  • Global Gamerule project image

    Global Gamerule

    • 610
    • Bukkit Plugins

    A plugin that allows applying global gamerule when a world is loaded and check per world gamerules.

    • 610
    • August 3, 2020
    • Bukkit Plugins
    • +4