Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.97 KB | None | 0 0
  1. Options:
  2. GUIName: &f&lFix Rank
  3.  
  4. command /fixrank [<offline player>]:
  5. trigger:
  6. if arg 1 is not set:
  7. message "&c/fixrank <player>"
  8. stop
  9. if arg 1 is set:
  10. loop all players:
  11. set {_head1} to "%loop-player%"
  12. open chest with 4 rows named "{@GUIName}" to player
  13. wait 1 tick
  14. format slot 4 of player with skull of loop-player named "&3&l%arg 1%" to be unstealable
  15. format slot 19 of player with gold ingot named "&a&lDonator Tier" to run [execute player command "/fixdonator %loop-player%"]
  16. format slot 21 of player with book and quill named "&7&lUniversity Jobs" to run [execute player command "/fixunijob %loop-player%"]
  17. format slot 23 of player with diamond named "&b&lGovernment Jobs" to run [execute player command "/fixgovjob %loop-player%"]
  18. format slot 25 of player with paper of unbreaking 1 named "&3&lCabinet Jobs" to run [execute player command "/fixcabjob %loop-player%"]
  19.  
  20.  
  21. command /fixdonator [<offline player>]:
  22. trigger:
  23. open chest with 2 row named "&a&lDonator Tiers" to player
  24. wait 1 tick
  25. format slot 2 of player with yellow wool named "&eTier 1" to run [execute console command "/lp user %arg 1% group add Tier1"]
  26. format slot 4 of player with lime wool named "&aTier 2" to run [execute console command "/lp user %arg 1% group add Tier2"]
  27. format slot 6 of player with green wool named "&2Tier 3" to run [execute console command "/lp user %arg 1% group add Tier3"]
  28. format slot 17 of player with arrow named "&bBack" to run [execute player command "/fixrank %arg 1%"]
  29.  
  30. command /fixunijob [<offline player>]:
  31. trigger:
  32. open chest with 2 rows named "&7&lUniversity Jobs" to player
  33. wait 1 tick
  34. format slot 0 of player with paper named "&7Brewer" to run [execute console command "/lp user %arg 1% group add Brewer"]
  35. format slot 1 of player with paper named "&7Farmer" to run [execute console command "/lp user %arg 1% group add Farmer"]
  36. format slot 2 of player with paper named "&7Hunter" to run [execute console command "/lp user %arg 1% group add Hunter"]
  37. format slot 3 of player with paper named "&7Writer" to run [execute console command "/lp user %arg 1% group add Writer"]
  38. format slot 7 of player with paper named "&7Driver" to run [execute console command "/lp user %arg 1% group add Driver"]
  39. format slot 8 of player with paper named "&7Entrepreneur" to run [execute console command "/lp user %arg 1% group add Entrepreneur"]
  40. format slot 9 of player with paper named "&fDoctor" to run [execute console command "/lp user %arg 1% group add Doctor"]
  41. format slot 10 of player with paper named "&eTour Guide" to run [execute console command "/lp user %arg 1% group add TourGuide"]
  42. format slot 17 of player with arrow named "&bBack" to run [execute player command "/fixrank %arg 1%"]
  43.  
  44. command /fixgovjob [<offline player>]:
  45. trigger:
  46. open chest with 6 rows named "&b&lGovernment Jobs" to player
  47. wait 1 tick
  48. format slot 0 of player with diamond named "&bDoA" to be unstealable
  49. format slot 1 of player with paper named "&bEnvironment Manager" to run [execute player command "/lp user %arg 1% group add EnvironmentManager"]
  50. format slot 9 of player with diamond named "&bDoC" to be unstealable
  51. format slot 10 of player with paper named "&bConstructor" to run [execute player command "/lp user %arg 1% group add Constructor"]
  52. format slot 18 of player with diamond named "&bDoCE" to be unstealable
  53. format slot 19 of player with paper named "&bBusiness Secretary" to run [execute player command "/lp user %arg 1% group add BusinessSecretary"]
  54. format slot 20 of player with paper named "&bAssistant Business Secretary" to run [execute player command "/lp user %arg 1% group add AssistantBusinessSecretary"]
  55. format slot 21 of player with paper named "&bCommerse Secretary" to run [execute player command "/lp user %arg 1% group add CommerseSecretary"]
  56. format slot 22 of player with paper named "&bAssistant Commerse Secretary" to run [execute player command "/lp user %arg 1% group add AssistantCommerseSecretary"]
  57. format slot 23 of player with paper named "&bEducation Secretary" to run [execute player command "/lp user %arg 1% group add EducationSecretary"]
  58. format slot 24 of player with paper named "&bAssistant Education Secretary" to run [execute player command "/lp user %arg 1% group add AssistantEducationSecretary"]
  59. format slot 25 of player with paper named "&eProperty Inspector" to run [execute player command "/lp user %arg 1% group add PropertyInspector"]
  60. format slot 27 of player with diamond named "&bDoH" to be unstealable
  61. format slot 28 of player with paper named "&bHospital Secretary" to run [execute player command "/lp user %arg 1% group add HospitalSecretary"]
  62. format slot 36 of player with diamond named "&bDoJ" to be unstealable
  63. format slot 37 of player with paper named "&bPolice Officer" to run [execute player command "/lp user %arg 1% group add PoliceOfficer"]
  64. format slot 6 of player with iron ingot named "&8Parliament" to be unstealable
  65. format slot 7 of player with paper named "&8Member of Parliament" to run [execute player command "/lp user %arg 1% group add Parliament"]
  66. format slot 8 of player with paper named "&8Speaker of Parliament" to run [execute player command "/lp user %arg 1% group add SpeakerofParliament"]
  67. format slot 53 of player with arrow named "&bBack" to run [execute player command "/fixrank %arg 1%"]
  68. format slot 45 of player with diamond named "&bDoPA" to be unstealable
  69. format slot 46 of player with paper named "&bCommunity Coordinator" to run [execute player command "/lp user %arg 1% group add CommunityCoordinator"]
  70. format slot 47 of player with paper named "&bEvent Planner" to run [execute player command "/lp user %arg 1% group add EventPlanner"]
  71.  
  72. command /fixcabjob [<offline player>]:
  73. trigger:
  74. open chest with 3 rows named "&3&lCabinet" to player
  75. wait 1 tick
  76. format slot 1 of player with diamond named "&3Minister of Agriculture" to run [execute console command "/lp user %arg 1% group add AgricultureMinister"]
  77. format slot 3 of player with diamond named "&3Minister of Commerce and Education" to run [execute console command "/lp user %arg 1% group add CommerceMinister"]
  78. format slot 5 of player with diamond named "&3Minister of Constructor" to run [execute console command "/lp user %arg 1% group add ConstructorMinister"]
  79. format slot 7 of player with diamond named "&3Minister of Health" to run [execute console command "/lp user %arg 1% group add HealthMinister"]
  80. format slot 11 of player with diamond named "&3Minister of Justice" to run [execute console command "/lp user %arg 1% group add JusticeMinister"]
  81. format slot 13 of player with diamond of unbreaking 1 named "&3Minister without Portfolio" to run [execute console command "/lp user %arg 1% group add Advisor"]
  82. format slot 15 of player with diamond named "&3Minister of Public Affairs" to run [execute console command "/lp user %arg 1% group add PublicAffairsMinister"]
  83. format slot 26 of player with arrow named "&bBack" to run [execute player command "/fixrank %arg 1%"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement