Skip to content

Instantly share code, notes, and snippets.

@Bryanmarc
Created May 18, 2016 00:58
Show Gist options
  • Save Bryanmarc/deb8eb5058b49c487d1ed643fa667f8a to your computer and use it in GitHub Desktop.
Save Bryanmarc/deb8eb5058b49c487d1ed643fa667f8a to your computer and use it in GitHub Desktop.
command /setautospawn:
permission: skript.admin
trigger:
set {autospawn} to location of player
message "You set AutoSpawn to %location of player%!"
on join:
teleport player to {autospawn}
clear player's inventory
give compass named "&c&lServer Selector" to Player
give chest named "&a&lGadgets and Gizmos" to player
on click holding compass:
open chest with 1 row named "&c&lServer Selector" to player
wait 1 tick
format slot 0 of player with Gold sword named "&b&lKingdoms" with lore "&6Click to teleport to Kingdoms!" to close then run [bungeecord connect player to "Kingdoms"]
format slot 1 of player with Grass named "&a&lVanilla" with Lore "&6Click to teleport to Vanilla!" to close then run [bungeecord connect player to "Vanilla"]
format slot 2 of player with Diamond Sword named "&c&lFactions" with Lore "&6Click to teleport to Factions!" to close then run [bungeecord connect player to "Factions"]
format slot 3 of player with Plank named "&1&lTowny" with Lore "&6Click to teleport to Towny!" to close then run [bungeecord connect player to "Towny"]
command /kingdoms:
trigger:
bungeecord connect player to "Kingdoms"
command /vanilla:
trigger:
bungeecord connect player to "Vanilla"
command /factions:
trigger:
bungeecord connect player to "Factions"
command /towny:
trigger:
bungeecord connect player to "Towny"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment