Skip to content

Instantly share code, notes, and snippets.

@AyhamAl-Ali
Last active April 12, 2018 19:26
Show Gist options
  • Select an option

  • Save AyhamAl-Ali/54b08e511c77631a05836b8c8dda34aa to your computer and use it in GitHub Desktop.

Select an option

Save AyhamAl-Ali/54b08e511c77631a05836b8c8dda34aa to your computer and use it in GitHub Desktop.
# GUI file
# Here you can edit everything in the GUI (name, slot, block/item(id), enchanted or not and the lore)
# There is some stuff that you need to know about:
# 1: Do not use " and " or ", " in the lore (this will mess the lines [skript syntax!]) (you can use || to split line but i recommend to use the list)
# 2: Do not change the items list names like "publicinfo:" and others
# 3: You can use "[rc]" without quotes to generate a random color like (&a or &3 or &9) without bold or italic etc. This variable can be used in item's name and lore, example: "[rc]&lAdvancedPlayerInfo [rc]&l&ois [rc]&l&namazing"
# 4: You can find item's ID and name in "plugins/skript/alaises-english.sk"
# GUI item example:
#items:
#publicinfo: <Do not change>
#id: '<Block name / IDs are supported but i recommend to use names>'
#name: '<Custom Name / Color Codes are supported>'
#enchanted: 'true/false'
#slot: '<from 0 to 62> (DO NOT USE numbers from 18 to 53 it's the player's inventory)'
#lore:
#- '<Here you can put any thing you want except " and " and ", " (read number 1 in line 4)>'
#- '<Color codes are supported>'
#- '<you can use "||" to split line (use list. It's better)>'
#Variables:
# - [rc] = random color (normal colors only, no bold or ...) (used wothout &)
# - [player-location] = location
# - [player-ping] = ping
# - [player-gamemode] = gamemode
# - [player-flying] = flying state
# - [player-health] = health
# - [player-food] = food
# - [player-world] = world
# - [player-tool-lore] = current tool's lore
# - [player-uuid] = uuid
# - [player-xp] = xp
# - [player-op] = op state (true/false)
# - [player-ip] = IP
# - [player-displayname] = displayname
# - [player-onlinetime] = online since
# - [player-chatcount] = player's chat times (count)
# - [player-cmdcount] = cmd count
# - [player-joincount] = join count
# - [player-quitcount] = quit count
# - [player-jumpcount] = jump count
# - [player-pickupcount] = pickup count
# - [player-breakcount] = break count
# - [player-placecount] = place count
# - [player-dropcount] = drop count
# - [player-mobkillcount] = mobkill count
# - [player-sneakcount] = sneak count
# - [player-sprintcount] = sprint count
# - [player-craftcount] = craft count
# - [player-potions] = active potions
# - [player-money] = player's money
# - [player-name] = player's money
# - [player-deathcause] = death/damage cause (reason) (victim)
# - [player-killcause] = kill cause (reason) (attacker)
# - [player-lastcmd-cmd] = last cmd
# - [player-lastcmd-date] = last cmd date
# - [player-lastcmd-loc] = last cmd location
# - [player-lastcmd-world] = last cmd world
# - [player-lastchat-msg] = last msg
# - [player-lastchat-date] = last msg date
# - [player-lastchat-loc] = last msg location
# - [player-lastchat-world] = last msg world
# - [player-lastkill-victim] = last kill victim
# - [player-lastkill-date] = last kill date
# - [player-lastkill-loc] = last kill location
# - [player-lastkill-world] = last kill world
# - [player-lastdeath-killer] = last death killer
# - [player-lastdeath-date] = last death date
# - [player-lastdeath-loc] = last death location
# - [player-lastdeath-world] = last death world
# - [player-lastblockplace-block] = last block placed block
# - [player-lastblockplace-date] = last block placed date
# - [player-lastblockplace-loc] = last block placed location
# - [player-lastblockplace-world] = last block placed world
# - [player-lastblockbreak-block] = last block broke block
# - [player-lastblockbreak-date] = last block broke date
# - [player-lastblockbreak-loc] = last block broke location
# - [player-lastblockbreak-world] = last block broke world
# - [player-helmet-lore] = lore of player's helmet
# - [player-chestpalte-lore] = lore of player's chestplate
# - [player-leggings-lore] = lore of player's leggings
# - [player-boots-lore] = lore of player's boots
# ** !NOTE: Since we added PlaceholderAPI support, you can use statistic placeholders instead of [player-breakcount] [player-placecount] etc, it's better because these placeholder (statistic) gives you the player's information from his first join until now.
# ** !NOTE: If you used any placeholder in the GUI and it dodn't work, make sure that you've downloaded the placeholder expansion and reloaded PlaceholderAPI plugin
# ** !NOTE: If Placeholders from PlaceholderAPI didn't work even if you downloaded the expansion and everything else you must set PlaceholderAPI to true in skellett plugin's config.yml (plugins/skellett/config.yml -> PlaceholderAPI : true).
GUI-name: '[rc]&l[player]&8&o''s information' # Variables: [player] = player's name (argument 1)
items:
helmet:
idnotset: 'barrier' # Id of item when there is no armor set. You also can use 'air' for empty slot
slot: '18'
lore: # Variables: [player-helmet-lore] = original lore of player's helmet lore
- '&8&m--&7[[rc] Helmet &7]&8&m--&r'
- '&a[player-helmet-lore]'
- ''
chestplate:
idnotset: 'barrier' # Id of item when there is no armor set. You also can use 'air' for empty slot
slot: '19'
lore: # Variables: [player-chestplate-lore] = original lore of player's chestplate lore
- '&8&m--&7[[rc] Chestplate &7]&8&m--&r'
- '&a[player-chestplate-lore]'
- ''
leggings:
idnotset: 'barrier' # Id of item when there is no armor set. You also can use 'air' for empty slot
slot: '27'
lore: # Variables: [player-leggings-lore] = original lore of player's leggings lore
- '&8&m--&7[[rc] Leggings &7]&8&m--&r'
- '&a[player-leggings-lore]'
- ''
boots:
idnotset: 'barrier' # Id of item when there is no armor set. You also can use 'air' for empty slot
slot: '28'
lore: # Variables: [player-boots-lore] = original lore of player's boots lore
- '&8&m--&7[[rc] Boots &7]&8&m--&r'
- '&a[player-boots-lore]'
- ''
currenttool:
# This item has no name or id configuration because it depends on player's current tool
slot: '20'
lore: # Variables: [player-tool-lore] = original lore of player's item
- '&8&m--&7[[rc] Current Tool &7]&8&m--&r'
- '&a[player-tool-lore]'
publicinfo:
id: 'magma cream'
name: '&8&m--&7[[rc] Public Info &7]&8&m--&r'
enchanted: 'true'
slot: '21'
lore: # Variables: [player-location], [player-gamemode], [player-flying]
- '&7&7Loc>&a &a[player-location]'
- '&7Gamemode>&a [player-gamemode]'
- '&7Flying>&a [player-flying]'
- '&7Ping>&a [player-ping]'
xp:
id: 'bottle o'' enchanting'
name: '&8&m--&7[[rc] XP &7]&8&m--&r'
enchanted: 'true'
slot: '22'
lore: # Variables: [player-xp]
- '&a[player-xp]'
health:
id: 'nether star'
name: '&8&m--&7[[rc] Health &7]&8&m--&r'
enchanted: 'true'
slot: '23'
lore: # Variables: [player-health]
- '&a[player-health]'
food:
id: 'steak'
name: '&8&m--&7[[rc] Food &7]&8&m--&r'
enchanted: 'true'
slot: '24'
lore: # Variables: [player-food]
- '&a[player-food]'
lastcmd:
id: 'paper'
name: '&8&m--&7[[rc] Last Command &7]&8&m--&r'
enchanted: 'true'
slot: '25'
lore: # Variables: [player-lastcmd-cmd], [player-lastcmd-date], [player-lastcmd-loc], [player-lastcmd-world]
- '&7Cmd>&a [player-lastcmd-cmd]'
- '&7Date>&a [player-lastcmd-date]'
- '&7Loc>&a [player-lastcmd-loc]'
- '&7World>&a [player-lastcmd-world]'
lastchat:
id: 'book and quill'
name: '&8&m--&7[[rc] Last Chat &7]&8&m--&r'
enchanted: 'true'
slot: '26'
lore: # Variables: [player-lastchat-msg], [player-lastchat-date], [player-lastchat-loc], [player-lastchat-world]
- '&7Msg>&a [player-lastchat-msg]'
- '&7Date>&a [player-lastchat-date]'
- '&7Loc>&a [player-lastchat-loc]'
- '&7World>&a [player-lastchat-world]'
lastkill:
id: 'diamond sword'
name: '&8&m--&7[[rc] Last Kill &7]&8&m--&r'
enchanted: 'true'
slot: '29'
lore: # Variables: [player-lastkill-victim], [player-lastkill-date], [player-lastkill-loc], [player-lastkill-world]
- '&7Victim>&a [player-lastkill-victim]'
- '&7Date>&a [player-lastkill-date]'
- '&7Loc>&a [player-lastkill-loc]'
- '&7World>&a [player-lastkill-world]'
- '&7Cause>&a [player-killcause]'
lastdeath:
id: 'iron sword'
name: '&8&m--&7[[rc] Last Death &7]&8&m--&r'
enchanted: 'true'
slot: '30'
lore: # Variables: [player-lastdeath-killer], [player-lastdeath-date], [player-lastdeath-loc], [player-lastdeath-world]
- '&7Killer>&a [player-lastdeath-killer]'
- '&7Date>&a [player-lastdeath-date]'
- '&7Loc>&a [player-lastdeath-loc]'
- '&7World>&a [player-lastdeath-world]'
- '&7Cause>&a [player-deathcause]'
world:
id: 'grass'
name: '&8&m--&7[[rc] World &7]&8&m--&r'
enchanted: 'true'
slot: '31'
lore: # Variables: [player-world]
- '&a[player-world]'
ping:
id: 'redstone'
name: '&8&m--&7[[rc] Ping &7]&8&m--&r'
enchanted: 'true'
slot: '32'
lore: # Variables: [player-ping]
- '&a[player-ping] ms'
lastblock-place:
id: 'stone'
name: '&8&m--&7[[rc] Last Block (place) &7]&8&m--&r'
enchanted: 'true'
slot: '33'
lore: # Variables: [player-lastblockplace-block], [player-lastblockplace-date], [player-lastblockplace-loc], [player-lastblockplace-world]
- '&7Block>&a [player-lastblockplace-block]'
- '&7Date>&a [player-lastblockplace-date]'
- '&7Loc>&a [player-lastblockplace-loc]'
- '&7World>&a [player-lastblockplace-world]'
lastblock-break:
id: 'cobblestone'
name: '&8&m--&7[[rc] Last Block (break) &7]&8&m--&r'
enchanted: 'true'
slot: '34'
lore: # Variables: [player-lastblockbreak-block], [player-lastblockbreak-date], [player-lastblockbreak-loc], [player-lastblockbreak-world]
- '&7Block>&a [player-lastblockbreak-block]'
- '&7Date>&a [player-lastblockbreak-date]'
- '&7Loc>&a [player-lastblockbreak-loc]'
- '&7World>&a [player-lastblockbreak-world]'
uuid:
id: 'empty map'
name: '&8&m--&7[[rc] UUID &7]&8&m--&r'
enchanted: 'true'
slot: '35'
lore: # Variables: [player-uuid]
- '&a[player-uuid]'
editinv:
id: 'chest'
name: '&7Open &a&l[player]&7''s inventory' # Variables: [player] = player's name
enchanted: 'false'
slot: '45'
lore:
- '&7Edit inventory'
editender: # v1.2
id: 'ender chest'
name: "&7Open &a&l[player]&7's enderchest" # Variables: [player] = player's name
enchanted: 'false'
slot: '46'
lore:
- '&7Edit ender chest'
skull: # v1.2 | has no ID :) | shows the [player]'s skull
name: "&a&l[player]&7's skull" # Variables: [player] = player's name
enchanted: 'false'
slot: '49'
lore:
- '&7Displayname> &a[player-displayname]'
- '&7IP> &a[player-ip]'
- '&7Loc> &a[player-location]'
- '&7Last Cmd> &a[player-lastcmd-cmd]'
- '&7Health> &a[player-health]'
- '&7Food> &a[player-food]'
- '&7Online time> &a[player-onlinetime]'
- '&7XP> &a[player-xp]'
- '&7Ping> &a[player-ping]'
- '&7Chat count> &a[player-chatcount]'
- '&7Cmd count> &a[player-cmdcount]'
- '&7Join count> &a[player-joincount]'
- '&7Quit count> &a[player-quitcount]'
- '&7Pickup count> &a[player-pickupcount]'
- '&7Drop count> &a[player-dropcount]'
- '&7Sprint count> &a[player-sprintcount]'
- '&7Sneak count> &a[player-sneakcount]'
#- '&7Jump count> &a[player-jumpcount]'
- '&7Craft count> &a[player-craftcount]'
- '&7Mobkill count> &a[player-mobkillcount]'
- '&7Money> &a$[player-money]'
- '&7Potions> &a[player-potions]'
closeinv:
id: 'barrier'
name: '&8&m--&7[[rc] Close &7]&8&m--&r'
enchanted: 'true'
slot: '53'
lore:
- '&cClose'
refreshinv:
id: 'paper'
name: '&8&m--&7[[rc] Refresh &7]&8&m--&r'
enchanted: 'true'
slot: '52'
lore:
- '&eRefresh'
backgrounditems:
id: 'gray stained glass pane' # (*1) You can use Name or ID:0-15 (like 'stained glass pane:0-15' or 160:0-15) | (*2) You can use 'anything' to get any block ID with any data (it will be random every time you open the GUI)
name: ' '
enchanted: 'false'
slot:
- '0'
- '1'
- '2'
- '3'
- '4'
- '5'
- '6'
- '7'
- '8'
- '47'
- '48'
- '50'
- '51'
lore: []
lockeditems:
id: 'red stained glass pane' # (*1) You can use Name or ID:0-15 (like 'stained glass pane:0-15' or 160:0-15) | (*2) You can use 'anything' to get any block ID with any data (it will be random every time you open the GUI)
name: ' '
enchanted: 'false'
slot:
- '3'
- '4'
- '5'
- '48'
- '50'
lore: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment