Sueta

CannotUseIT

2.2.0

It prevents the use of black listed items.

·Plugin

This is a tiny plugin, which allow server owners to blacklist items to be blocked from players using them.

Commands:

  • /cuit help : displays the help menu
  • /cuit reload : reloads the config.yml
  • /cuit add [*] : adds the item in the hand to the blacklist.
  • /cuit del : removes the item in the hand from the blacklist.

Permissions:

  • cannotuseit.reload : allows you to use the reload sub-command.
  • cannotuseit.bypass : allows you to bypass this restriction.
  • cannotuseit.add : allows you to use add command
  • cannotuseit.remove : allows you to use remove command

Installation:
Simply drop CannotUseIT.jar file in your plugins folder.

Sample Configuration:

# +------------------------------------------------------------+ #
# CannotUseIT Configuration
# +------------------------------------------------------------+ #

# NOTE: Do NOT put tabs anywhere in the config!

Messages:
  ErrorMsg : "&c[CannotUseIT] : Some error occured."
  CannotUseIT : "&c[CannotUseIT] : You cannot use it!"
  ItemRemoved : "&c[CannotUseIT] : Blacklisted item has been removed!"
  Added : "&a[CannotUseIT] : &e%type% has been added to the Blacklist."
  Removed : "&a[CannotUseIT] : &e%type% has been removed from the Blacklist."
  List : "&a[CannotUseIT] : Blacklisted items"

HelpMessages:
  banner:
    msg: "=== &e[&aCannotUseIT Commands List (%version%)&e] &r==="
  help:
    msg: "&a/cuit help : displays this help menu."
  reload:
    msg: "&a/cuit reload : reloads config file."
    permission: "cannotuseit.reload"
  debug:
    msg: "&a/cuit debug <true|false> : turn on / off the debug mode."
    permission: "cannotuseit.debug"
  add:
    msg: "&a/cuit add : adds the item in the hand to the blacklist."
    permission: "cannotuseit.add"
  del:
    msg: "&a/cuit del : removes the item in the hand from the blacklist."
    permission: "cannotuseit.remove"

# if this option is true, the blacklisted items will be removed from
# player's inventory.
RemoveItems: false

Similar projects

Plugin →