Guest User

MyCMD

a guest
Jan 15th, 2015
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. Gamemode:
  2. command: /gamemode
  3. type: RUN_CONSOLE
  4. runcmd:
  5. - "/mycmd-playerdata set $player Args $multiargs!"
  6. - "/mycmd-playerdata set $player Gamemode $gamemode"
  7. - "$Script$%PlayerData%Args==!"
  8. - "$Script$%PlayerData%Gamemode==CREATIVE"
  9. - "%PlayerOptions%setGameMode: SURVIVAL"
  10. - "$text$&f&lYour gamemode has been set to Survival"
  11. - "%PlayerOptions%playSound: ORB_PICKUP:1.0F:2"
  12. - "$Script$%else%"
  13. - "$Script$%PlayerData%Args==!"
  14. - "$Script$%PlayerData%Gamemode!=CREATIVE"
  15. - "%PlayerOptions%setGameMode: CREATIVE"
  16. - "$text$&f&lYour gamemode has been set to Creative"
  17. - "%PlayerOptions%playSound: ORB_PICKUP:1.0F:2"
  18. - "$Script$%else%"
  19. - "$Script$%PlayerData%Args==1!"
  20. - "%PlayerOptions%setGameMode: CREATIVE"
  21. - "$text$&f&lYour gamemode has been set to Creative"
  22. - "%PlayerOptions%playSound: ORB_PICKUP:1.0F:2"
  23. - "$Script$%else%"
  24. - "$Script$%PlayerData%Args==c!"
  25. - "%PlayerOptions%setGameMode: CREATIVE"
  26. - "$text$&f&lYour gamemode has been set to Creative"
  27. - "%PlayerOptions%playSound: ORB_PICKUP:1.0F:2"
  28. - "$Script$%else%"
  29. - "$Script$%PlayerData%Args==Creative!"
  30. - "%PlayerOptions%setGameMode: CREATIVE"
  31. - "$text$&f&lYour gamemode has been set to Creative"
  32. - "%PlayerOptions%playSound: ORB_PICKUP:1.0F:2"
  33. - "$Script$%else%"
  34. - "$Script$%PlayerData%Args==0!"
  35. - "%PlayerOptions%setGameMode: SURVIVAL"
  36. - "$text$&f&lYour gamemode has been set to Survival"
  37. - "%PlayerOptions%playSound: ORB_PICKUP:1.0F:2"
  38. - "$Script$%else%"
  39. - "$Script$%PlayerData%Args==Survival!"
  40. - "%PlayerOptions%setGameMode: SURVIVAL"
  41. - "$text$&f&lYour gamemode has been set to Survival"
  42. - "%PlayerOptions%playSound: ORB_PICKUP:1.0F:2"
  43. - "$Script$%else%"
  44. - "$Script$%PlayerData%Args==s!"
  45. - "%PlayerOptions%setGameMode: SURVIVAL"
  46. - "$text$&f&lYour gamemode has been set to Survival"
  47. - "%PlayerOptions%playSound: ORB_PICKUP:1.0F:2"
  48. - "$Script$%else%"
  49. - "$Script$%PlayerData%Args==2!"
  50. - "%PlayerOptions%setGameMode: ADVENTURE"
  51. - "$text$&f&lYour gamemode has been set to Adventure"
  52. - "%PlayerOptions%playSound: ORB_PICKUP:1.0F:2"
  53. - "$Script$%else%"
  54. - "$Script$%PlayerData%Args==a!"
  55. - "%PlayerOptions%setGameMode: ADVENTURE"
  56. - "$text$&f&lYour gamemode has been set to Adventure"
  57. - "%PlayerOptions%playSound: ORB_PICKUP:1.0F:2"
  58. - "$Script$%else%"
  59. - "$Script$%PlayerData%Args==Adventure!"
  60. - "%PlayerOptions%setGameMode: ADVENTURE"
  61. - "$text$&f&lYour gamemode has been set to Adventure"
  62. - "%PlayerOptions%playSound: ORB_PICKUP:1.0F:2"
  63. - "$Script$%else%"
  64. - "$Script$%PlayerData%Args!=Adventure!"
  65. - "$Script$%PlayerData%Args!=a!"
  66. - "$Script$%PlayerData%Args!=2!"
  67. - "$Script$%PlayerData%Args!=c!"
  68. - "$Script$%PlayerData%Args!=Creative!"
  69. - "$Script$%PlayerData%Args!=1!"
  70. - "$Script$%PlayerData%Args!=0!"
  71. - "$Script$%PlayerData%Args!=s!"
  72. - "$Script$%PlayerData%Args!=Survival!"
  73. - "$Script$%PlayerData%Args!=!"
  74. - "$text$&cIncorrect command usage... /gamemode <0|1|2>"
  75. permission-node: gamemode.use
  76. permission-error: "&cYou do not have permission to use change gamemodes!"
Advertisement
Add Comment
Please, Sign In to add comment