Pages » Fcore » Features » Config


There are some tips and features you can use when configure the plugins.


New Hex Colors

There are two ways to use new 1.16 colors in plugins that uses FCore.

  • First Way: Adding a '&x' prefix and a '&' symbol for each HEX letter/number: &x&f&f&0&0&f&f (#ff00ff).
  • Second Way: Just use the HEX code like #ff00ff.
message-hex-1: '&x&f&f&0&0&f&fHello!' # Message with a #ff00ff color.
message-hex-2: '#ff00ffHello!' # Message with the same color.


Config Item Format

# Item Material.
material: DIAMOND

# Item name.
name: '&b&lCustom Diamond'

# Item lore.
lore:
- '&bMy custom diamond'
- '&dWith custom lore.'

# [Optional] Custom item model data from resourcepack.
model-data: 123

# [Optional] Item amount.
amount: 1

# [Optional] Item durability value.
durability: 10

# [Optional]
# Custom head texture. For player heads only.
# Some textures can be find here: https://minecraft-heads.com/
skull-hash: ''

# [Optional] 
# Adds random enchantment to make item glow.
enchanted: false

# [Optional]
# Item color for Leather armor and Potions.
# Syntax: R,G,B. -1 will define random color (0-255).
color: 255,255,255

# [Optional]
# Makes item unbreakable.
unbreakable: false

# [Optional]
# Item Flags. Use '*' to apply all flags.
# All flags you can find - HERE -
item-flags:
- HIDE_ATTRIBUTES
- HIDE_ENCHANTS


Information
Empty Block

18+