minmin0917

-MINING-

Aug 2nd, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. on first join:
  2. set {Rank.%player%} to "Default"
  3. command "/teleport %player% -484 8 -260"
  4.  
  5. on join:
  6. if {Rank.%player%} is "Default":
  7. set join message to "&7%player% &bさんがサーバーに参加しました!"
  8. command "/teleport %player% -484 8 -260"
  9. else:
  10. set join message to "&7%player% &bさんがサーバーに参加しました!"
  11.  
  12. on quit:
  13. set quit message to "&7"
  14.  
  15. on chat:
  16. cancel event
  17. if {Rank.%player%} is "Default":
  18. broadcast "&7%player% &f: &7%message%"
  19. if {Rank.%player%} is "Vip":
  20. broadcast "&6[VIP] %player% &f: %message%"
  21. if {Rank.%player%} is "Staff":
  22. broadcast "&c[Staff] %player% &f: %message%"
  23.  
  24. on break of stone:
  25. if {Rank.%player%} is "Default":
  26. command "/give %player% stone"
  27. else:
  28. chance of 99%:
  29. command "/give %player% stone"
  30. chance of 1%:
  31. command "/give %player% stone 2"
  32. send "&7石 &62 &7ドロップ (VIP以上限定)"
  33.  
  34. on break of iron ore:
  35. command "/give %player% iron_ingot"
  36.  
  37. on break of gold ore:
  38. command "/give %player% gold_ingot"
  39.  
  40. command /Order:
  41. trigger:
  42. if {Rank.%player%} is "Default":
  43. send "&b特別採掘部屋に行くには VIP 以上のランクが必要です!"
  44. else:
  45. command "/teleport %player% -483 7 -242"
  46.  
  47. command /OrderCommand [<player>]:
  48. trigger:
  49. if {Rank.%arg-1%} is "Default":
  50. send "&b特別採掘部屋に行くには VIP 以上のランクが必要です!" to the arg-1
  51. else:
  52. command "/teleport %arg-1% -483 7 -242"
  53.  
  54. command /Rank [<player>] [<text>]:
  55. permission: Server.Staff
  56. permission message: &cあなたはスタッフではないため、このコマンドは使用できません!
  57. trigger:
  58. if arg-1 is not set:
  59. send "&cプレイヤーを選択してください!"
  60. else:
  61. if arg-2 is not set:
  62. send "&cランク名を選択してください! 現在は Staff , Vip , Default の三つが実装されています!"
  63. if arg-2 is "Staff":
  64. set {Rank.%arg-1%} to "Staff"
  65. if arg-2 is "Vip":
  66. set {Rank.%arg-1%} to "Vip"
  67. if arg-2 is "Default":
  68. set {Rank.%arg-1%} to "Default"
Add Comment
Please, Sign In to add comment