HallowedS

Untitled

Feb 10th, 2017
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.53 KB | None | 0 0
  1. #=======================================#
  2. # Universidade Oficial Ghol #
  3. # O diretor da faculdade de Tecnologia #
  4. # Script do Brasil, no uso de suas atri-#
  5. # buições e tendo em vista a conclusão #
  6. # em 01/01/1017 de 1017, confere o titu #
  7. # lo de BACHAREL EM SISTEMAS SKRIPTS #
  8. # DAVI MARQUES DOS S. MAGALHÃES #
  9. # TIPO: BRONZE IV ALUNO: Dav1 #
  10. #=======================================#
  11.  
  12. Options:
  13. Permission-Message: &cVocê não tem permissão para executar este comando.
  14. Example1-Name: &7Example1
  15. Example1-Lore: &7Preço: &f1
  16. Example1-Price: 1
  17. No-Cash: &cVocê não tem cash o suficiente para completar esta ação.
  18.  
  19. command /credits:
  20. trigger:
  21. send "&e--------- &fCredits Autor (1/1) &e---------"
  22. send " &7Creator: hallowed"
  23. send "&e EN: Thank you for downloading my skript."
  24. send "&e pt_BR: Obrigado por baixar o meu skript."
  25.  
  26. command /chelp [<text>]:
  27. trigger:
  28. if arg-1 is "2":
  29. send "&e--------- &fHelp: Cash (2/2) &e---------"
  30. send "&7Use /chelp [n] to get page n of help."
  31. send "&6/credits: &fAuthor credits"
  32. stop
  33. else:
  34. if arg-1 is not set:
  35. send "&e--------- &fHelp: Cash (1/2) &e---------"
  36. send "&7Use /chelp [n] to get page n of help."
  37. send "&6/darcash [player] [amount]: &fGive cash to the player"
  38. send "&6/removecash [player] [amount]: &fRemove cash from player"
  39. send "&6/examplemenu: &fExample Menu"
  40. send "&6/example1: &fExample of purchase"
  41. send "&6/cash: &fSee own cash"
  42. stop
  43.  
  44. command /darcash [<player>] [<integer>]:
  45. trigger:
  46. if player have permission "admin.cash":
  47. if arg 1 is set:
  48. if arg 2 is set:
  49. add arg 2 to {Cash.%arg 1%}
  50. send "&6Você enviou &f%arg 2% Cash &6para &f%arg 1%&6."
  51. else:
  52. send "&cVocê precisa escolher uma amount de Cash."
  53. else:
  54. send "&cDigite o nome do player que você quer dar o Cash."
  55. else:
  56. send "{@Permission-Message}"
  57. stop
  58.  
  59. command /removecash [<player>] [<integer>]:
  60. trigger:
  61. if player have permission "admin.cash":
  62. if arg 1 is set:
  63. if arg 2 is set:
  64. remove arg 2 from {cash.%arg 1%}
  65. send "&6Você retirou &f%arg 2% de Cash &6do player &f%arg 1%&6."
  66. else:
  67. send "&cVocê precisa escolher uma amount de cash."
  68. else:
  69. send "&cSelecione um player para retirar os Cash."
  70. else:
  71. send "{@Permission-Message}"
  72. stop
  73.  
  74. command /negar:
  75. trigger:
  76. play villager no at player with pitch 1
  77.  
  78. command /examplemenu:
  79. trigger:
  80. open chest with 3 rows named "Example Menu" to player
  81. format slot 0 of player with a Ender Chest named "{@Example1-Name}" with lore "{@Example1-Lore}" to close then run [make player execute command "/example1"]
  82.  
  83. command /example1: # ‹ @DaviMarques_56 ›
  84. trigger:
  85. if {cash.%player%} is more or equal to {@Example1-Price}:
  86. remove {@Example1-Price} from {cash.%player%}
  87. execute console command "give %player% diamond 1"
  88. send "&bExample Message"
  89. else:
  90. send "{@No-Cash}"
  91. command /cf:
  92. trigger:
  93. send "This server running in CashUtils version"
  94. send "fc-Faction-1.8.8-V1.2-d3846c (MC: 1.8.8) Implementing"
  95. send "API version 1.8.8-F0.2)"
  96. wait 1 second
  97. send "Checking version, please wait..."
  98. wait 1 second
  99. send "This script will not receive continuation!"
  100. wait 1 second
  101. on first join:
  102. set {Cash.%player%} to true
  103. set {Cash.%player%} to 0
  104.  
  105. command /cash:
  106. trigger:
  107. send "&6Você possui &f%{Cash.%player%}% Cash&6."
Advertisement
Add Comment
Please, Sign In to add comment