Advertisement
minmin0917

-新感覚-採掘サバ

Aug 9th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 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% &eさんがサーバーに参加しました!"
  8. else:
  9. set join message to "%{Prefix.%player%}% %player% &6さんがサーバーに参加しました!"
  10.  
  11. on quit:
  12. set quit message to "&7%player% &eさんがサーバーから離脱しました"
  13.  
  14. on chat:
  15. cancel event
  16. if {Rank.%player%} is "Default":
  17. broadcast "&7%player% &8>> &7%message%"
  18. else:
  19. broadcast "%{Prefix.%player%}% %player% &8>> &f%message%"
  20.  
  21. on break of iron ore:
  22. if {Rank.%player%} is "Default":
  23. command "/give %player% iron"
  24. else:
  25. chance of 99%:
  26. command "/give %player% iron_ingot"
  27. chance of 1%:
  28. command "/give %player% iron_ingot 2"
  29. send "&7鉄 &a&l2 &7ドロップ (Ironランク以上限定)"
  30.  
  31. on break of gold ore:
  32. if {Rank.%player%} is "Default":
  33. command "/give %player% gold_ingot"
  34. else:
  35. chance of 99%:
  36. command "/give %player% gold_ingot"
  37. chance of 0.5%:
  38. command "/give %player% gold_ingot 2"
  39. send "&7金 &a&l2 &7ドロップ (Ironランク以上限定)"
  40.  
  41. on break of diamond ore:
  42. if {Rank.%player%} is "Default":
  43. command "/give %player% diamond"
  44. else:
  45. chance of 99%:
  46. command "/give %player% diamond"
  47. chance of 0.5%:
  48. command "/give %player% diamond 2"
  49. send "&7ダイアモンド &a&l2 &7ドロップ (Ironランク以上限定)"
  50.  
  51. command /Rank [<player>] [<text>]:
  52. permission: Server.Staff
  53. permission message: &cあなたはスタッフではないため、このコマンドは使用できません!
  54. trigger:
  55. if arg-1 is not set:
  56. send "&cプレイヤーを選択してください!"
  57. else:
  58. if arg-2 is not set:
  59. send "&cランク名を選択してください! 現在は Default , Iron , Gold , Diamond , Staff が実装されています!"
  60. if arg-2 is "Default":
  61. set {Rank.%arg-1%} to "Default"
  62. set {Prefix.%arg-1%} to "&7"
  63. if arg-2 is "Iron":
  64. set {Rank.%arg-1%} to "Iron"
  65. set {Prefix.%arg-1%} to "&f[IRON]"
  66. if arg-2 is "Gold":
  67. set {Rank.%arg-1%} to "Gold"
  68. set {Prefix.%arg-1%} to "&6[GOLD]"
  69. if arg-2 is "Diamond":
  70. set {Rank.%arg-1%} to "Diamond"
  71. set {Prefix.%arg-1%} to "&b[DIAMOND]"
  72. if arg-2 is "Staff":
  73. set {Rank.%arg-1%} to "Staff"
  74. set {Prefix.%arg-1%} to "&c[STAFF]"
  75.  
  76. command /Order:
  77. trigger:
  78. if {Rank.%player%} is "Default":
  79. send "&b特別採掘部屋に行くには &fIron &b以上のランクが必要です!"
  80. else:
  81. command "/teleport %player% -483 7 -242"
  82.  
  83. command /OrderCommand [<player>]:
  84. trigger:
  85. if {Rank.%arg-1%} is "Default":
  86. send "&b特別採掘部屋に行くには &fIron &b以上のランクが必要です!" to the arg-1
  87. else:
  88. command "/teleport %arg-1% -483 7 -242"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement