Advertisement
Guest User

RAuthmeTitle

a guest
Aug 19th, 2017
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.29 KB | None | 0 0
  1. # ▒██████ ▒██████████ #
  2. # ▒██ ▒██ ▒████ ▒███████ ▒████ ▒███████ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██████ ▒██ ▒██████ ▒████████ ▒████████ #
  3. # ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▀▀ #
  4. # ▒██ ▒██ ▒██ ▒██ ▒███████ ▒██ ▒██ ▒███████ ▒██ ▒██████████ ▒████ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒████████ #
  5. # ▒██████ ▒████████ ▒██ ▒████████ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██████ ▒██ ▒██████ ▒██ ▒██ #
  6. # ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ #
  7. # ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒███████ ▒███████ ▒██████████ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒████████ #
  8.  
  9.  
  10.  
  11.  
  12. on load:
  13. if file "plugins/Skript/scripts/RSenhasContas/data.yml" doesn't exists:
  14. create file "plugins/Skript/scripts/RSenhasContas/data.yml"
  15.  
  16. on join:
  17. set {_senha} to value "%player%.Senha" get of "plugins/Skript/scripts/RSenhasContas/data.yml"
  18. if {_senha} is not set:
  19. set "%player%.Senha" to " " in yaml file "plugins/Skript/scripts/RSenhasContas/data.yml"
  20. else:
  21. stop
  22. on join:
  23. set {_senha} to value "%player%.Senha" get of "plugins/Skript/scripts/RSenhasContas/data.yml"
  24. if {_senha} = " ":
  25. wait 1 seconds
  26. send player title "&c&lS" with subtitle "" for 1 seconds
  27. wait 0.4 seconds
  28. send player title "&c&lSE" with subtitle "" for 1 seconds
  29. wait 0.4 seconds
  30. send player title "&c&lSEU" with subtitle "" for 1 seconds
  31. wait 0.4 seconds
  32. send player title "&c&lSEUS" with subtitle "" for 1 seconds
  33. wait 0.4 seconds
  34. send player title "&c&lSEUSE" with subtitle "" for 1 seconds
  35. wait 0.4 seconds
  36. send player title "&c&lSEUSER" with subtitle "" for 1 seconds
  37. wait 0.4 seconds
  38. send player title "&c&lSEUSERV" with subtitle "" for 1 seconds
  39. wait 0.4 seconds
  40. send player title "&c&lSEUSERVI" with subtitle "" for 1 seconds
  41. wait 0.4 seconds
  42. send player title "&c&lSEUSERVID" with subtitle "" for 1 seconds
  43. wait 0.4 seconds
  44. send player title "&c&lSEUSERVIDO" with subtitle "" for 1 seconds
  45. wait 0.4 seconds
  46. send player title "&c&lSEUSERVIDOR" with subtitle "" for 1 seconds
  47. wait 0.4 seconds
  48. send player title "&c&lSEU&7&lSERVIDOR" with subtitle "&fUtilize /register <senha> <senha>" for 200 seconds
  49. else:
  50. wait 1 second
  51. send player title "&c&lS" with subtitle "" for 1 seconds
  52. wait 0.4 seconds
  53. send player title "&c&lSE" with subtitle "" for 1 seconds
  54. wait 0.4 seconds
  55. send player title "&c&lSEU" with subtitle "" for 1 seconds
  56. wait 0.4 seconds
  57. send player title "&c&lSEUS" with subtitle "" for 1 seconds
  58. wait 0.4 seconds
  59. send player title "&c&lSEUSE" with subtitle "" for 1 seconds
  60. wait 0.4 seconds
  61. send player title "&c&lSEUSER" with subtitle "" for 1 seconds
  62. wait 0.4 seconds
  63. send player title "&c&lSEUSERV" with subtitle "" for 1 seconds
  64. wait 0.4 seconds
  65. send player title "&c&lSEUSERVI" with subtitle "" for 1 seconds
  66. wait 0.4 seconds
  67. send player title "&c&lSEUSERVID" with subtitle "" for 1 seconds
  68. wait 0.4 seconds
  69. send player title "&c&lSEUSERVIDO" with subtitle "" for 1 seconds
  70. wait 0.4 seconds
  71. send player title "&c&lSEUSERVIDOR" with subtitle "" for 1 seconds
  72. wait 0.4 seconds
  73. send player title "&c&lSEU&7&lSERVIDOR" with subtitle "&fUtilize /login <senha>" for 200 seconds
  74.  
  75.  
  76. on command "/register":
  77. set {_senha} to value "%player%.Senha" get of "plugins/Skript/scripts/RSenhasContas/data.yml"
  78. set {_args::*} to arguments split at " "
  79. if size of {_args::*} = 2:
  80. if "%{_args::1}%" = "%{_args::2}%":
  81. if "%{_senha}%" = " ":
  82. set {_args::1} to {_args::1} parsed as text
  83. set "%player%.Senha" to "%{_args::1}%" in yaml file "plugins/Skript/scripts/RSenhasContas/data.yml"
  84. play "ORB_PICKUP" to player at volume 1.0
  85. wait 1 second
  86. send player title "&c&lS" with subtitle "" for 1 seconds
  87. wait 0.4 seconds
  88. send player title "&c&lSE" with subtitle "" for 1 seconds
  89. wait 0.4 seconds
  90. send player title "&c&lSEU" with subtitle "" for 1 seconds
  91. wait 0.4 seconds
  92. send player title "&c&lSEUS" with subtitle "" for 1 seconds
  93. wait 0.4 seconds
  94. send player title "&c&lSEUSE" with subtitle "" for 1 seconds
  95. wait 0.4 seconds
  96. send player title "&c&lSEUSER" with subtitle "" for 1 seconds
  97. wait 0.4 seconds
  98. send player title "&c&lSEUSERV" with subtitle "" for 1 seconds
  99. wait 0.4 seconds
  100. send player title "&c&lSEUSERVI" with subtitle "" for 1 seconds
  101. wait 0.4 seconds
  102. send player title "&c&lSEUSERVID" with subtitle "" for 1 seconds
  103. wait 0.4 seconds
  104. send player title "&c&lSEUSERVIDO" with subtitle "" for 1 seconds
  105. wait 0.4 seconds
  106. send player title "&c&lSEUSERVIDOR" with subtitle "" for 1 seconds
  107. wait 0.4 seconds
  108. send player title "&c&lSEU&7&lSERVIDOR" with subtitle "&fRegistrado com sucesso." for 1 seconds
  109. wait 1 seconds
  110. send player title "&a&lA" with subtitle "" for 1 seconds
  111. wait 0.3 seconds
  112. send player title "&a&lAU" with subtitle "" for 1 seconds
  113. wait 0.3 seconds
  114. send player title "&a&lAUT" with subtitle "" for 1 seconds
  115. wait 0.3 seconds
  116. send player title "&a&lAUTE" with subtitle "" for 1 seconds
  117. wait 0.3 seconds
  118. send player title "&a&lAUTEN" with subtitle "" for 1 seconds
  119. wait 0.3 seconds
  120. send player title "&a&lAUTENT" with subtitle "" for 1 seconds
  121. wait 0.3 seconds
  122. send player title "&a&lAUTENTI" with subtitle "" for 1 seconds
  123. wait 0.3 seconds
  124. send player title "&a&lAUTENTIF" with subtitle "" for 1 seconds
  125. wait 0.3 seconds
  126. send player title "&a&lAUTENTIFI" with subtitle "" for 1 seconds
  127. wait 0.3 seconds
  128. send player title "&a&lAUTENTIFIC" with subtitle "" for 1 seconds
  129. wait 0.3 seconds
  130. send player title "&a&lAUTENTIFIC" with subtitle "" for 1 seconds
  131. wait 0.3 seconds
  132. send player title "&a&lAUTENTIFICA" with subtitle "" for 1 seconds
  133. wait 0.3 seconds
  134. send player title "&a&lAUTENTIFICAD" with subtitle "" for 1 seconds
  135. wait 0.3 seconds
  136. send player title "&a&lAUTENTIFICADO" with subtitle "" for 1 seconds
  137. wait 0.4 seconds
  138. send player title "&a&lAUTENTIFICADO" with subtitle "&fTenha um bom jogo" for 2 seconds
  139. else:
  140. wait 1 seconds
  141. send player title "&c&lE" with subtitle "" for 1 seconds
  142. wait 0.4 seconds
  143. send player title "&c&lER" with subtitle "" for 1 seconds
  144. wait 0.4 seconds
  145. send player title "&c&lERR" with subtitle "" for 1 seconds
  146. wait 0.4 seconds
  147. send player title "&c&lERRO" with subtitle "" for 1 seconds
  148. wait 0.4 seconds
  149. send player title "&c&lERRO" with subtitle "&fVocê ja está registrado." for 1 seconds
  150. else:
  151. wait 1 seconds
  152. send player title "&c&lE" with subtitle "" for 1 seconds
  153. wait 0.4 seconds
  154. send player title "&c&lER" with subtitle "" for 1 seconds
  155. wait 0.4 seconds
  156. send player title "&c&lERR" with subtitle "" for 1 seconds
  157. wait 0.4 seconds
  158. send player title "&c&lERRO" with subtitle "" for 1 seconds
  159. wait 0.4 seconds
  160. send player title "&c&lERRO" with subtitle "&fAs senha não são iguais." for 1 seconds
  161. else:
  162. wait 1 seconds
  163. send player title "&c&lE" with subtitle "" for 1 seconds
  164. wait 0.4 seconds
  165. send player title "&c&lER" with subtitle "" for 1 seconds
  166. wait 0.4 seconds
  167. send player title "&c&lERR" with subtitle "" for 1 seconds
  168. wait 0.4 seconds
  169. send player title "&c&lERRO" with subtitle "" for 1 seconds
  170. wait 0.4 seconds
  171. send player title "&c&lERRO" with subtitle "&fUtilize /register <senha> <senha>" for 2 seconds
  172.  
  173. on command "/login":
  174. set {_senha} to value "%player%.Senha" get of "plugins/Skript/scripts/RSenhasContas/data.yml"
  175. set {_args::*} to arguments split at " "
  176. if size of {_args::*} = 1:
  177. if "%{_args::1}%" = "%{_senha}%":
  178. wait 1 seconds
  179. play "ORB_PICKUP" to player at volume 1.0
  180. send player title "&a&lA" with subtitle "" for 1 seconds
  181. wait 0.4 seconds
  182. send player title "&a&lAU" with subtitle "" for 1 seconds
  183. wait 0.4 seconds
  184. send player title "&a&lAUT" with subtitle "" for 1 seconds
  185. wait 0.4 seconds
  186. send player title "&a&lAUTE" with subtitle "" for 1 seconds
  187. wait 0.4 seconds
  188. send player title "&a&lAUTEN" with subtitle "" for 1 seconds
  189. wait 0.4 seconds
  190. send player title "&a&lAUTENT" with subtitle "" for 1 seconds
  191. wait 0.4 seconds
  192. send player title "&a&lAUTENTI" with subtitle "" for 1 seconds
  193. wait 0.4 seconds
  194. send player title "&a&lAUTENTIF" with subtitle "" for 1 seconds
  195. wait 0.4 seconds
  196. send player title "&a&lAUTENTIFI" with subtitle "" for 1 seconds
  197. wait 0.4 seconds
  198. send player title "&a&lAUTENTIFIC" with subtitle "" for 1 seconds
  199. wait 0.4 seconds
  200. send player title "&a&lAUTENTIFIC" with subtitle "" for 1 seconds
  201. wait 0.4 seconds
  202. send player title "&a&lAUTENTIFICA" with subtitle "" for 1 seconds
  203. wait 0.4 seconds
  204. send player title "&a&lAUTENTIFICAD" with subtitle "" for 1 seconds
  205. wait 0.4 seconds
  206. send player title "&a&lAUTENTIFICADO" with subtitle "" for 1 seconds
  207. wait 0.4 seconds
  208. send player title "&a&lAUTENTIFICADO" with subtitle "&fTenha um bom jogo" for 2 seconds
  209. else:
  210. wait 1 seconds
  211. send player title "&c&lE" with subtitle "" for 1 seconds
  212. wait 0.4 seconds
  213. send player title "&c&lER" with subtitle "" for 1 seconds
  214. wait 0.4 seconds
  215. send player title "&c&lERR" with subtitle "" for 1 seconds
  216. wait 0.4 seconds
  217. send player title "&c&lERRO" with subtitle "" for 1 seconds
  218. wait 0.4 seconds
  219. send player title "&c&lERRO" with subtitle "&fSenha incorreta." for 1 seconds
  220. else:
  221. wait 1 seconds
  222. send player title "&c&lE" with subtitle "" for 1 seconds
  223. wait 0.4 seconds
  224. send player title "&c&lER" with subtitle "" for 1 seconds
  225. wait 0.4 seconds
  226. send player title "&c&lERR" with subtitle "" for 1 seconds
  227. wait 0.4 seconds
  228. send player title "&c&lERRO" with subtitle "" for 1 seconds
  229. wait 0.4 seconds
  230. send player title "&c&lSEU&7&lSERVIDOR" with subtitle "&fUtilize /login <senha>" for 200 seconds
  231.  
  232.  
  233. on command "/changepassword":
  234. set {_senha} to value "%player%.Senha" get of "plugins/Skript/scripts/RSenhasContas/data.yml"
  235. set {_args::*} to arguments split at " "
  236. if size of {_args::*} = 2:
  237. if "%{_args::1}%" = "%{_senha}%":
  238. set "%player%.Senha" to "%{_args::2}%" in yaml file "plugins/Skript/scripts/RSenhasContas/data.yml"
  239. play "ORB_PICKUP" to player at volume 1.0
  240. wait 1 second
  241. send player title "&c&lS" with subtitle "" for 1 seconds
  242. wait 0.4 seconds
  243. send player title "&c&lSE" with subtitle "" for 1 seconds
  244. wait 0.4 seconds
  245. send player title "&c&lSEU" with subtitle "" for 1 seconds
  246. wait 0.4 seconds
  247. send player title "&c&lSEUS" with subtitle "" for 1 seconds
  248. wait 0.4 seconds
  249. send player title "&c&lSEUSE" with subtitle "" for 1 seconds
  250. wait 0.4 seconds
  251. send player title "&c&lSEUSER" with subtitle "" for 1 seconds
  252. wait 0.4 seconds
  253. send player title "&c&lSEUSERV" with subtitle "" for 1 seconds
  254. wait 0.4 seconds
  255. send player title "&c&lSEUSERVI" with subtitle "" for 1 seconds
  256. wait 0.4 seconds
  257. send player title "&c&lSEUSERVID" with subtitle "" for 1 seconds
  258. wait 0.4 seconds
  259. send player title "&c&lSEUSERVIDO" with subtitle "" for 1 seconds
  260. wait 0.4 seconds
  261. send player title "&c&lSEUSERVIDOR" with subtitle "" for 1 seconds
  262. wait 0.4 seconds
  263. send player title "&c&lSEU&7&lSERVIDOR" with subtitle "&fSenha mudada com sucesso." for 1 seconds
  264. else:
  265. wait 1 seconds
  266. send player title "&c&lE" with subtitle "" for 1 seconds
  267. wait 0.4 seconds
  268. send player title "&c&lER" with subtitle "" for 1 seconds
  269. wait 0.4 seconds
  270. send player title "&c&lERR" with subtitle "" for 1 seconds
  271. wait 0.4 seconds
  272. send player title "&c&lERRO" with subtitle "" for 1 seconds
  273. wait 0.4 seconds
  274. send player title "&c&lERRO" with subtitle "&fSua senha antiga esta incorreta." for 2 seconds
  275. else:
  276. wait 1 seconds
  277. send player title "&c&lE" with subtitle "" for 1 seconds
  278. wait 0.4 seconds
  279. send player title "&c&lER" with subtitle "" for 1 seconds
  280. wait 0.4 seconds
  281. send player title "&c&lERR" with subtitle "" for 1 seconds
  282. wait 0.4 seconds
  283. send player title "&c&lERRO" with subtitle "" for 1 seconds
  284. wait 0.4 seconds
  285. send player title "&c&lSEU&7&lSERVIDOR" with subtitle "&fUtilize /changepassword <senha velha> <senha nova>" for 200 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement