Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on first join:
- set {Rank.%player%} to "Default"
- command "/teleport %player% -484 8 -260"
- on join:
- if {Rank.%player%} is "Default":
- set join message to "&7%player% &eさんがサーバーに参加しました!"
- else:
- set join message to "%{Prefix.%player%}% %player% &6さんがサーバーに参加しました!"
- on quit:
- set quit message to "&7%player% &eさんがサーバーから離脱しました"
- on chat:
- cancel event
- if {Rank.%player%} is "Default":
- broadcast "&7%player% &8>> &7%message%"
- else:
- broadcast "%{Prefix.%player%}% %player% &8>> &f%message%"
- on break of iron ore:
- if {Rank.%player%} is "Default":
- command "/give %player% iron"
- else:
- chance of 99%:
- command "/give %player% iron_ingot"
- chance of 1%:
- command "/give %player% iron_ingot 2"
- send "&7鉄 &a&l2 &7ドロップ (Ironランク以上限定)"
- on break of gold ore:
- if {Rank.%player%} is "Default":
- command "/give %player% gold_ingot"
- else:
- chance of 99%:
- command "/give %player% gold_ingot"
- chance of 0.5%:
- command "/give %player% gold_ingot 2"
- send "&7金 &a&l2 &7ドロップ (Ironランク以上限定)"
- on break of diamond ore:
- if {Rank.%player%} is "Default":
- command "/give %player% diamond"
- else:
- chance of 99%:
- command "/give %player% diamond"
- chance of 0.5%:
- command "/give %player% diamond 2"
- send "&7ダイアモンド &a&l2 &7ドロップ (Ironランク以上限定)"
- command /Rank [<player>] [<text>]:
- permission: Server.Staff
- permission message: &cあなたはスタッフではないため、このコマンドは使用できません!
- trigger:
- if arg-1 is not set:
- send "&cプレイヤーを選択してください!"
- else:
- if arg-2 is not set:
- send "&cランク名を選択してください! 現在は Default , Iron , Gold , Diamond , Staff が実装されています!"
- if arg-2 is "Default":
- set {Rank.%arg-1%} to "Default"
- set {Prefix.%arg-1%} to "&7"
- if arg-2 is "Iron":
- set {Rank.%arg-1%} to "Iron"
- set {Prefix.%arg-1%} to "&f[IRON]"
- if arg-2 is "Gold":
- set {Rank.%arg-1%} to "Gold"
- set {Prefix.%arg-1%} to "&6[GOLD]"
- if arg-2 is "Diamond":
- set {Rank.%arg-1%} to "Diamond"
- set {Prefix.%arg-1%} to "&b[DIAMOND]"
- if arg-2 is "Staff":
- set {Rank.%arg-1%} to "Staff"
- set {Prefix.%arg-1%} to "&c[STAFF]"
- command /Order:
- trigger:
- if {Rank.%player%} is "Default":
- send "&b特別採掘部屋に行くには &fIron &b以上のランクが必要です!"
- else:
- command "/teleport %player% -483 7 -242"
- command /OrderCommand [<player>]:
- trigger:
- if {Rank.%arg-1%} is "Default":
- send "&b特別採掘部屋に行くには &fIron &b以上のランクが必要です!" to the arg-1
- else:
- command "/teleport %arg-1% -483 7 -242"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement