Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /fcp [<offline player>]:
- permission: factions.controlpanel
- permission message: &cYou don't have enough permission!
- trigger:
- if arg-1 is not set:
- send "&aFactions CP> &7Commands List:"
- send "&a/fcp &7<player of effect>"
- if arg-1 is set:
- if player has permission "factions.controlpanel":
- open chest with 6 rows named "&a&lFactions CP" to player
- wait 3 tick
- format slot 0 of player with Diamond Sword named "Faction Users" with lore "Click here to view faction players of your faction" to close then run [execute player command "f who %arg-1%"]
- format slot 2 of player with Brick named "Faction Home" with lore "Click here to teleport to your home" to close then run [execute player command "f home"]
- format slot 4 of player with Grass named "Wild" with lore "Click here to go to the wild" to close then run [execute player command "wild"]
- format slot 18 of player with Paper named "Faction Chat" with lore "Click here to toggle faction chat" to close then run [execute player command "f c f"]
- format slot 27 of player with Paper named "Alliance Chat" with lore "Click here to toggle alliance chat" to close then run [execute player command "f c a"]
- format slot 36 of player with Paper named "Public Chat" with lore "Click here to toggle public chat" to close then run [execute player command "f c p"]
- format slot 20 of player with Emerald named "Admin" with lore "Click to hand over admin rights to %arg-1%" to close then run [execute player command "f admin %arg-1%"]
- format slot 29 of player with Diamond named "Mod" with lore "Click to give mod rights to %arg-1%" to close then run [execute player command "f mod %arg-1%"]
- format slot 22 of player with Coal named "Kick" with lore "Click to kick %arg-1%" to close then run [execute player command "f kick %arg-1%"]
- format slot 24 of player with Bedrock named "Disband" with lore "Click to disband your faction" to close then run [execute player command "f disband"]
- format slot 53 of player with Rose Red named "No Permission" with lore "&4You don't have permission to go into bypass mode" to close
- if player has permission "factions.cpadmin":
- format slot 53 of player with Redstone Block named "Faction Bypass" with lore "Click here to go into bypass mode" to close then run [execute player command "f bypass"]
- command /fcpreload:
- aliases: /fcprl
- permission: factions.cpadmin
- permission message: {@prefix} &cYou don't have enough permissions
- trigger:
- make console execute command "skript reload factionscp.sk"
- wait 10 tick
- send "&aFactionsCP> &bSuccessfully reloaded"
Advertisement
Add Comment
Please, Sign In to add comment