CustomItemGUI
  • Getting started
  • USAGE
    • Command
    • Stats Attribute
    • First Item
    • Q&A
  • Item Creation
    • Item Editor GUI
    • Item Stats View
    • Item Sets & Bonus
    • Item Enchantment
    • Display and Item Glow
    • Regen Indicators
    • Item NBT-Tag
    • Item Flags
    • Item Type
    • Consume Item
    • Item custom textures
  • Features
    • Item Tiers
    • Gem Stone
    • Custom Durability
Powered by GitBook
On this page
  • information
  • Configuration

Was this helpful?

  1. Features

Custom Durability

PreviousGem Stone

Last updated 3 years ago

Was this helpful?

information

Custom durability is a really powerful system that allows you to create items with a set amount of uses. All items can have a Max Durability stat, which defines how many times the item can be used before either breaking or becoming unusable.

  • bar style - you also can use any you want symbol

  • basic style- this is default set

  • ratio style - durability ratio (from 0% to 100%).

Item Brokn message

Configuration

This setting is in config.yml

Configuration:
  Basic:
    #basic, bar or ratio
    Durability_Type: "basic"  
    #you also can use ✦, ∎ or any you want symbol
    Durability_Display_style: "|" 
    #This is symbol amount
    Durability_Display_style_Amount: 40
    #if false, when item broken, player can't watch prompt message
    Enable_Item_Broken_Message: true