Advertisement
Guest User

Untitled

a guest
Aug 17th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. command /gms [<player>]:
  2. aliases: /gm0
  3. trigger:
  4. if player is op:
  5. if arg 1 is not set:
  6. set player's gamemode to survival
  7. message "&7[&6Re&7:&6GameMode&7] &6Your gamemode has been set to &aSurvival&6."
  8. else:
  9. set {%arg 1%}'s gamemode to survival
  10. message "&7[&6Re&7:&6GameMode&7] &6Your gamemode has been changed to &aSurvival&6." to arg 1
  11. else:
  12. message "&7[&6Re&7:&6GameMode&7] &cYou dont have permission to do that!"
  13.  
  14. command /gmc [<player>]:
  15. aliases: /gm1
  16. trigger:
  17. if player is op:
  18. if arg 1 is not set:
  19. set player's gamemode to creative
  20. message "&7[&6Re&7:&6GameMode&7] &6Your gamemode has been set to &aCreative&6."
  21. else:
  22. set {%arg 1%}'s gamemode to creative
  23. message "&7[&6Re&7:&6GameMode&7] &6Your gamemode has been changed to &aCreative&6." to arg 1
  24. else:
  25. message "&7[&6Re&7:&6GameMode&7] &cYou dont have permission to do that!"
  26.  
  27. command /gma [<player>]:
  28. aliases: /gm2
  29. trigger:
  30. if player is op:
  31. if arg 1 is not set:
  32. set player's gamemode to adventure
  33. message "&7[&6Re&7:&6GameMode&7] &6Your gamemode has been set to &aAdventure&6."
  34. else:
  35. set {%arg 1%}'s gamemode to adventure
  36. message "&7[&6Re&7:&6GameMode&7] &6Your gamemode has been changed to &aAdventure&6." to arg 1
  37. else:
  38. message "&7[&6Re&7:&6GameMode&7] &cYou dont have permission to do that!"
  39.  
  40. command /gmsp [<player>]:
  41. aliases: /gm3
  42. trigger:
  43. if player is op:
  44. if arg 1 is not set:
  45. execute command "/minecraft:gamemode 3 %player%"
  46. message "&7[&6Re&7:&6GameMode&7] &6Your gamemode has been set to &aAdventure&6."
  47. else:
  48. execute command "/minecraft:gamemode 3 %arg 1%"
  49. message "&7[&6Re&7:&6GameMode&7] &6Your gamemode has been changed to &aAdventure&6." to arg 1
  50. else:
  51. message "&7[&6Re&7:&6GameMode&7] &cYou dont have permission to do that!"
  52.  
  53. on player join:
  54. set player's gamemode to survival
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement