Hi, I need to know how to make someone's selected hotbar slot 0-8 be moved to a specified one when the player joins. Its for a lobby/hub skript. Lets take an example from CubeCraft and Hypixel: When you join Cubecraft, your selected slot will automaticaly be moved to the 4th slot and if you join Hypixel it is automaticaly moved to the first slot (slot 0) so every player will have the game menu infront of him/her. I'd also like to know, how to check if a player has a specific slot selected so for example something will only work if the item is placed in a specific slot. I know that it can be done with JavaScript, but I hope its possible with Skript aswell.
INFORMATION:
EXAMPLES:
CubeCraft:
Hypixel:
INFORMATION:
EXAMPLES:
CubeCraft:
Hypixel: