Advertisement
taktie0304

Untitled

Sep 12th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. on rightclick on sign:
  2. line 1 of clicked block is "&1&l[救援物資]"
  3. line 3 of clicked block is "右クリックで入手"
  4. if {kyuuenbussi} <= 0:
  5. broadcast "&5[&dSystem&5] &a%player%さんが救援物資をとりました!"
  6. give paper named "&a救援物資" with lore "&7ロビーでガチャを回せます!" to player
  7. set {kyuuenbussi} to 10
  8. else:
  9. send "&5[&dSystem&5] &c救援物資補充まであと %{kyuuenbussi}% 秒です"
  10.  
  11. every a second:
  12. remove 1 from {kyuuenbussi}
  13. if {kyuuenbussi} == 5:
  14. broadcast "&5[&dSystem&5] &eあと10分で救援物資が補充されます! (x: 0, z: 0)"
  15. if {kyuuenbussi} == 0:
  16. broadcast "&5[&dSystem&5] &a救援物資が補充されました! (x: 0, z: 0)"
  17.  
  18. command /sign <text>:
  19. permission: skript.admin
  20. trigger:
  21. if arg-1 is "syosinsya":
  22. set line 1 of target block to "&1&l[初心者救済キット]"
  23. if arg-1 is "kyuuen":
  24. set line 1 of target block to "&1&l[救援物資]"
  25. set line 3 of target block to "右クリックで入手"
  26.  
  27.  
  28. command /money:
  29. trigger:
  30. add 10000 to {money.%player%}
  31.  
  32. on command:
  33. loop all players:
  34. loop-player has op
  35. if {commandchecker.%loop-player%} is true:
  36. message "&8[CMD] &7%player%: /%full command%" to loop-player
  37.  
  38. command /commandchecker <text>:
  39. aliases: /cc
  40. trigger:
  41. if arg-1 is "on":
  42. set {commandchecker.%player%} to true
  43. send "&eCommandChecker: &aON"
  44. if arg-1 is "off":
  45. set {commandchecker.%player%} to false
  46. send "&eCommandChecker: &7OFF"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement