Addons:
- Skellet
- SkQuery
- SkRayFall
I have this script:
It is working on 1.8.8
but on 1.11 either it does not want to set the items because the server can't recognize them or it can't detect an inventory click number.
Screenshot:
Is there an addon that I'm missing or can you help me to fix that menu?
- Skellet
- SkQuery
- SkRayFall
I have this script:
code_language.skript:
command /hub:
aliases: /lobby
trigger:
execute player command "server hub"
command /servers:
trigger:
open chest with 3 rows named "&8&lServer Selector" to player
wait a tick
set slot 0 of player's current inventory to white stained glass pane
set slot 1 of player's current inventory to gray stained glass pane
set slot 2 of player's current inventory to bookshelf named "&6&lSoon"
set slot 3 of player's current inventory to gray stained glass pane
set slot 4 of player's current inventory to black stained glass pane
set slot 5 of player's current inventory to gray stained glass pane
set slot 6 of player's current inventory to bookshelf named "&6&lSoon"
set slot 7 of player's current inventory to gray stained glass pane
set slot 8 of player's current inventory to white stained glass pane
set slot 9 of player's current inventory to golden pickaxe named "&6&lSurvival"
set slot 10 of player's current inventory to white stained glass pane
set slot 11 of player's current inventory to gray stained glass pane
set slot 12 of player's current inventory to black stained glass pane
set slot 13 of player's current inventory to eye of ender named "&6&lHub"
set slot 14 of player's current inventory to black stained glass pane
set slot 15 of player's current inventory to gray stained glass pane
set slot 16 of player's current inventory to white stained glass pane
set slot 17 of player's current inventory to grass block of fortune 3 named "&6&lSkyblock"
set slot 18 of player's current inventory to white stained glass pane
set slot 19 of player's current inventory to gray stained glass pane
set slot 20 of player's current inventory to bookshelf named "&6&lSoon"
set slot 21 of player's current inventory to gray stained glass pane
set slot 22 of player's current inventory to black stained glass pane
set slot 23 of player's current inventory to gray stained glass pane
set slot 24 of player's current inventory to bookshelf named "&6&lSoon"
set slot 25 of player's current inventory to gray stained glass pane
set slot 26 of player's current inventory to white stained glass pane
on inventory click:
if inventory name of player's current inventory is "&8&lServer Selector":
if clicked slot is 9:
execute player command "server Survival"
else if clicked slot is 13:
execute player command "server Hub"
else if clicked slot is 17:
execute player command "server Skyblock"
cancel event
cancel event
It is working on 1.8.8
but on 1.11 either it does not want to set the items because the server can't recognize them or it can't detect an inventory click number.
Screenshot:
Is there an addon that I'm missing or can you help me to fix that menu?