KhCore icon

KhCore -----

A skript with my APIs.



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:
  1. give player deserializeItem("HEAD:3 : 1 : dono>kiberzn : nome>&aHead : desc>&7Description : encantar>KNOCKBACK:1", player)
  2. set slot 0 of player to deserializeItem("LEATHER_HELMET : pintar>pink", player)
  3. give player deserializeItem("425 : nome>&aWall of Bricks : nbt>{BlockEntityTag:{Base:0,Patterns:[{Pattern:bri,Color:1}]}}", player)
  4. 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:

  1. set {location} to serializeLocati(player's location)
Transforms a string into a location.
Format: 'world; x; y; z; yaw; pitch'

Example:

  1. teleport player to deserializeLoca("world, -12.98, 75, 31.66, 0.02, 12.74'')
Formats a number "#,###" using DecimalFormat.

Example:

  1. send FormatNumber(2022) | The returned value will be '2,022'
Removes all colors from a string.

Example:

  1. send strip colors from "&aHelo &bWorld!" | The returned value will be "Helo World!"
Gets the first color of a string.

Example:

  1. send first color from "&aHelo &bWorld!" | The returned value will be "&a"
Get the last color of a string.

Example:

  1. send last color from "&aHelo &bWorld!" | The returned value will be "&b"

Files:
Code (YAML):
roles:
 default
:
  name
: 'Membro'
  prefix
: '&7'
  permission
: ' none'
 vip
:
  name
: 'Vip'
  prefix
: '&e [VIP ] '
  permission
: 'roles.vip'
  broadcast
: true
 master
:
  name
: 'Master'
  prefix
: '&6 [Master ] '
  permission
: '*'
  broadcast
: true
 

Resource Information
Author:
----------
Total Downloads: 775
First Release: Dec 17, 2020
Last Update: Mar 2, 2023
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings