KhCore informations ⦁ Server version: 1.8x ⦁ Depend: LeafSk, SkQuery, Skellett, SkStuff and Skript. Click here to download. Use NametagEdit to make the tags work. For any other pieces of information, don't hesitate to contact me via Discord! (kick#0808)
Main skript features:
Create an item from a string. Format: 'MATERIAL : QUANTITY : tag>value'
Properties (TAGS) available:
nome>&aHello - Set the Item name.
desc>&7Line 1\n&7Line 2 - Sets the Item description.
encantar>SHARPNESS:1\nKNOCKBACK:1 - Enchant the Item.
pintar>blue - Color item.
dono>Notch - Set the owner of a head.
nbt>{HideFlags} - Set custom nbt on items.
owner_id - Set owner id of custom skull.
value - Set value of custom skull.
Example:
give player deserializeItem("HEAD:3 : 1 : dono>kiberzn : nome>&aHead : desc>&7Description : encantar>KNOCKBACK:1", player)
set slot 0 of player to deserializeItem("LEATHER_HELMET : pintar>pink", player)
give player deserializeItem("425 : nome>&aWall of Bricks : nbt>{BlockEntityTag:{Base:0,Patterns:[{Pattern:bri,Color:1}]}}", player)
set slot 1 of player to deserializeItem("HEAD:3 : nome>&aSpider : owner_id>39173a7a-c957-4ec1-ac1a-43e5a64983df : value>eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDE2NDVkZmQ3N2QwOTkyMzEwN2IzNDk2ZTk0ZWViNWMzMDMyOWY5N2VmYzk2ZWQ3NmUyMjZlOTgyMjQifX19", player)
Transforms a location into a string. Format: 'world; x; y; z; yaw; pitch'
Example:
set {location} to serializeLocati(player's location)
Transforms a string into a location. Format: 'world; x; y; z; yaw; pitch'
Example:
teleport player to deserializeLoca("world, -12.98, 75, 31.66, 0.02, 12.74'')
Formats a number "#,###" using DecimalFormat.
Example:
send FormatNumber(2022) | The returned value will be '2,022'
Removes all colors from a string.
Example:
send strip colors from "&aHelo &bWorld!" | The returned value will be "Helo World!"
Gets the first color of a string.
Example:
send first color from "&aHelo &bWorld!" | The returned value will be "&a"
Get the last color of a string.
Example:
send last color from "&aHelo &bWorld!" | The returned value will be "&b"