Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on inventory click:
- player does not have permission "srstaff"
- player's gamemode != creative
- cancel event
- on block break:
- player does not have permission "srstaff"
- player's gamemode != creative
- cancel event
- on build:
- player does not have permission "srstaff"
- player's gamemode != creative
- cancel event
- on rightclick with clock:
- if name of tool of player is "&6Game Selector":
- wait 1 tick
- open virtual chest with 5 rows named "&c&l* &8Game Selector" to player
- set slot 11 of player's current inventory to grass named "&7Creative" with lore "&cCurrently under progress"
- set slot 13 of player's current inventory to tnt named "&b&lFactions" with lore "&fPvP, huge bases and raiding?", "&fWhat's not to like? Fight", "&fto be the best faction!", "&bFaction Features:", "&8 - &FFaction Top", "&8 - &fCrates", "&8 - &fUnique Planets", "&8 - &fAuction House", "&2&lONLINE: &a0&8/&c100"
- set slot 15 of player's current inventory to wheat named "&7Skyblock" with lore "&cCurrently under progress"
- set slot 27 of player's current inventory to black stained glass pane named "&c"
- set slot 28 of player's current inventory to black stained glass pane named "&c"
- set slot 29 of player's current inventory to black stained glass pane named "&c"
- set slot 30 of player's current inventory to black stained glass pane named "&c"
- set slot 31 of player's current inventory to black stained glass pane named "&c"
- set slot 32 of player's current inventory to black stained glass pane named "&c"
- set slot 33 of player's current inventory to black stained glass pane named "&c"
- set slot 34 of player's current inventory to black stained glass pane named "&c"
- set slot 35 of player's current inventory to black stained glass pane named "&c"
- on inventory click:
- if inventory name of player's current inventory is "&c&l* &8Game Selector":
- if clicked slot is 13:
- cancel event
- player command "factions"
- command /kick [<offlineplayer>] [<text>]:
- trigger:
- if player has permission "STAFF_PERMISSION":
- if arg-1 is set:
- if arg-2 is set:
- loop all players:
- if loop-player has permission "STAFF_PERMISSION":
- kick arg 1 because "&6&l&m-----------------------------------%nl%&6&l YOU HAVE BEEN KICKED%nl% %nl%&e%arg 1%&7, you have been kicked for &6&l%arg 2%%nl% %nl%&7&o Please refrain from doing this.%nl%&6&l&m-----------------------------------"
- send "&e%player% &7has kicked &e%arg 1% &7for &e%arg 2%" to loop-player
- else:
- send "&cUsage: /kick <user> <reason>"
- else:
- send "&cUsage: /kick <user> <reason>"
- else:
- send "&cInsufficient permissions"
- command /ban [<offlineplayer>] [<text>]:
- trigger:
- if player has permission "STAFF_PERMISSION":
- if arg-1 is set:
- if arg-2 is set:
- loop all players:
- if loop-player has permission "STAFF_PERMISSION":
- kick arg 1 because "&6&l&m-----------------------------------%nl%&6&l YOU HAVE BEEN BANNED%nl% %nl%&e%arg 1%&7, you have been banned for &6&l%arg 2%%nl% %nl%&7&o Please refrain from doing this.%nl%&6&l&m-----------------------------------"
- send "&e%player% &7has banned &e%arg 1% &7for &e%arg 2%" to loop-player
- ban arg-1 because "&6&l&m-----------------------------------%nl%&6&l YOU HAVE BEEN BANNED%nl% %nl%&e%arg 1%&7, you have been banned for &6&l%arg 2%%nl% %nl%&7&o Please refrain from doing this.%nl%&6&l&m-----------------------------------"
- else:
- send "&cUsage: /ban <user> <reason>"
- else:
- send "&cUsage: /ban <user> <reason>"
- else:
- send "&cInsufficient permissions"
- command /warn [<offlineplayer>] [<text>]:
- trigger:
- if player has permission "STAFF_PERMISSION":
- if arg-1 is set:
- if arg-2 is set:
- send "&e%player% &7has warned you for &e%arg-2%" to arg-1
- loop all players:
- if loop-player has permission "STAFF_PERMISSION":
- send "&e%player% &7has warned &e%arg 1% &7for &e%arg 2%" to loop-player
- else:
- send "&cUsage: /warn <user> <reason>"
- else:w
- send "&cUsage: /warn <user> <reason>"
- else:
- send "&cInsufficient permissions"
- command /unban [<offlineplayer>]:
- trigger:
- if player has permission "STAFF_PERMISSION":
- if arg-1 is set:
- unban arg-1
- loop all players:
- if loop-player has permission "STAFF_PERMISSION":
- send "&e%player% &7has unbanned &e%arg 1%" to loop-player
- else:
- send "&cUsage: /unban <user> <reason>"
- else:
- send "&cInsufficient permissions"
Advertisement
Add Comment
Please, Sign In to add comment