Sueta

CustomAttributes

1.1.0

A tool to add special attributes (exclusive to Bukkit event API) to your items

·Plugin

Still largely a work in progress. My first plugin ever. I work pretty hard to make sure there are no bugs or issues, but it's impossible to catch everything, so if there are any issues, contact me immediately, preferably discord FordAS#4954.

Version: 1.1.0

Description:

Use /ca <add/remove> <attribute> to add or remove custom coded attributes to your items! You can only add or remove attributes if you have the permission for them. Use /caa help to access admin controls like reloading config or seeing all possible attributes.

Featured attributes:

"Unplaceable" - makes any block unable to be placed
"Unenchantable" - prevents using enchantable items in the enchanting table
"Unforgeable" - prevents using any item in an anvil

Default config.yml:

unplaceable_message: 
  enabled: true 
  message: '&cYou can''t place that block.' 
# This is the message sent to the player upon trying to place an unplaceable block 
unenchantable_message: 
  enabled: true 
  message: '&cYou can''t enchant that item.' 
  # This is the message sent to the player upon trying to enchant an unenchantable item 
unforgeable_message: 
  enabled: true 
  message: '&cYou can''t use this item in an anvil.' 
  # This is the message sent to the player upon trying to use an unforgeable item in an anvil

Commands:

customattributes: 
    description: Add/remove custom attributes 
    aliases: [ca, a, attribute] 
    usage: /ca <add/remove> <attribute name> 
  customattributesadmin: 
    description: CustomAttributes admin actions 
    aliases: caa 
    usage: /caa <action>

Permissions:

customattributes.unplaceable: 
    description: Allows access to adding/removing the unplaceable tag 
    default: op 
  customattributes.unenchantable: 
    description: Allows access to adding/removing the unenchantable tag 
    default: op 
  customattributes.unforgeable: 
    description: Allows access to adding/removing the unforgeable tag 
    default: op 
  customattributesadmin.help: 
    description: Allows access to /caa help 
    default: op 
  customattributesadmin.reload: 
    description: Allows access to /caa reload 
    default: op

Similar projects

Plugin →