ArtzifyHD

factionsscp

Aug 3rd, 2017
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. command /fcp [<offline player>]:
  2. permission: factions.controlpanel
  3. permission message: &cYou don't have enough permission!
  4. trigger:
  5. if arg-1 is not set:
  6. send "&aFactions CP> &7Commands List:"
  7. send "&a/fcp &7<player of effect>"
  8. if arg-1 is set:
  9. if player has permission "factions.controlpanel":
  10. open chest with 6 rows named "&a&lFactions CP" to player
  11. wait 3 tick
  12. 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%"]
  13. 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"]
  14. 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"]
  15. 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"]
  16. 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"]
  17. 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"]
  18. 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%"]
  19. 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%"]
  20. 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%"]
  21. 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"]
  22. 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
  23. if player has permission "factions.cpadmin":
  24. 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"]
  25.  
  26.  
  27. command /fcpreload:
  28. aliases: /fcprl
  29. permission: factions.cpadmin
  30. permission message: {@prefix} &cYou don't have enough permissions
  31. trigger:
  32. make console execute command "skript reload factionscp.sk"
  33. wait 10 tick
  34. send "&aFactionsCP> &bSuccessfully reloaded"
Advertisement
Add Comment
Please, Sign In to add comment