Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Every 1 second in "world":
- loop all players:
- if {サイドバー.%loop-player%} is true:
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "&e&l%loop-player%'s status"
- set score "&7&lkill: %{KILL::%loop-player%}%" in sidebar of loop-player to 13
- set score "&7&ldeath: %{DEATH::%loop-player%}%" in sidebar of loop-player to 12
- set score "&7&lPoint: %{POINT::%loop-player%}%" in sidebar of loop-player to 11
- set score "&7---===:&eお知らせ&7:===---" in sidebar of loop-player to 6
- if {お知らせon} is true:
- set score "&6%{お知らせ}%" in sidebar of loop-player to 5
- if {お知らせon2} is true:
- set score "&6%{お知らせ2}%" in sidebar of loop-player to 4
- if {お知らせon3} is true:
- set score "&6%{お知らせ3}%" in sidebar of loop-player to 3
- if {お知らせon4} is true:
- set score "&6%{お知らせ4}%" in sidebar of loop-player to 2
- if {お知らせon5} is true:
- set score "&6%{お知らせ5}%" in sidebar of loop-player to 1
- command /osion <number> <boolean>:
- permission: admin
- trigger:
- if arg-1 is 1:
- if arg-2 is true:
- set {お知らせon} to true
- send "&e&l[&bServer&e&l] &aお知らせ1を有効化しました" to player
- if arg-2 is false:
- set {お知らせon} to false
- send "&e&l[&bServer&e&l] &aお知らせ1を無効化しました" to player
- if arg-1 is 2:
- if arg-2 is true:
- set {お知らせon2} to true
- send "&e&l[&bServer&e&l] &aお知らせ2を有効化しました" to player
- if arg-2 is false:
- set {お知らせon2} to false
- send "&e&l[&bServer&e&l] &aお知らせ2を無効化しました" to player
- if arg-1 is 3:
- if arg-2 is true:
- set {お知らせon3} to true
- send "&e&l[&bServer&e&l]&a お知らせ3を有効化しました" to player
- if arg-2 is false:
- set {お知らせon3} to false
- send "&e&l[&bServer&e&l]&a お知らせ3を無効化しました" to player
- if arg-1 is 4:
- if arg-2 is true:
- set {お知らせon4} to true
- send "&e&l[&bServer&e&l] &aお知らせ4を有効化しました" to player
- if arg-2 is false:
- set {お知らせon4} to false
- send "&e&l[&bServer&e&l] &aお知らせ4を無効化しました" to player
- if arg-1 is 5:
- if arg-2 is true:
- set {お知らせon5} to true
- send "&e&l[&bServer&e&l] &aお知らせ5を有効化しました" to player
- if arg-2 is false:
- set {お知らせon5} to false
- send "&e&l[&bServer&e&l] &aお知らせ5を無効化しました" to player
- command /osireset <number>:
- permission: admin
- trigger:
- if arg-1 is 1:
- clear {お知らせ}
- send "&e&l[&bServer&e&l] &cお知らせ1を削除しました" to player
- if arg-1 is 2:
- clear {お知らせ2}
- send "&e&l[&bServer&e&l] &cお知らせ2を削除しました" to player
- if arg-1 is 3:
- clear {お知らせ3}
- send "&e&l[&bServer&e&l] &cお知らせ3を削除しました" to player
- if arg-1 is 4:
- clear {お知らせ4}
- send "&e&l[&bServer&e&l] &cお知らせ4を削除しました" to player
- if arg-1 is 5:
- clear {お知らせ5}
- send "&e&l[&bServer&e&l] &cお知らせ5を削除しました" to player
- command /osirase:
- trigger:
- if {サイドバー.%player%} is false:
- set {サイドバー.%player%} to true
- send "&e&l[&bServer&e&l] &aサイドバーを有効化しました"
- execute console command "/execute %player% ~ ~ ~ playsound minecraft:entity.arrow.hit_player ambient @a ~ ~ ~ 1 1"
- stop
- if {サイドバー.%player%} is true:
- set {サイドバー.%player%} to false
- send "&e&l[&bServer&e&l] &aサイドバーを無効化しました"
- execute console command "/execute %player% ~ ~ ~ playsound minecraft:entity.arrow.hit_player ambient @a ~ ~ ~ 1 0"
- delete player sidebar
- stop
- else if {サイドバー.%player%} is not set:
- set {サイドバー.%player%} to true
- send "&e&l[&bServer&e&l] &aサイドバーを有効化しました"
- execute console command "/execute %player% ~ ~ ~ playsound minecraft:entity.arrow.hit_player ambient @a ~ ~ ~ 1 1"
- stop
- command /osiset <number> <text>:
- permission: admin
- trigger:
- if arg-1 is 1:
- set {お知らせ} to arg-2
- if arg-1 is 2:
- set {お知らせ2} to arg-2
- if arg-1 is 3:
- set {お知らせ3} to arg-2
- if arg-1 is 4:
- set {お知らせ4} to arg-2
- if arg-1 is 5:
- set {お知らせ5} to arg-2
- command /reset:
- permission: admin
- trigger:
- set {KILL::%player%} to 0
- set {DEATH::%player%} to 0
- set {POINT::%player%} to 0
- command /steset <number> <number>:
- permission: admin
- trigger:
- if arg-1 is 1:
- set {KILL::%player%} to arg-2
- if arg-1 is 2:
- set {DEATH::%player%} to arg-2
- if arg-1 is 3:
- set {POINT::%player%} to arg-2
- command /info <player>:
- trigger:
- send "&7---===:&e%arg%'s status&7:===---"
- send "&7&lKILL: %{KILL::%arg%}%"
- send "&7&lDEATH: %{DEATH::%arg%}%"
- send "&7&lPOINT: %{POINT::%arg%}%"
- send "&7---===:&e%arg%'s status&7:===---"
- on death of player:
- if victim is player:
- add 300 * {bai} to {POINT::%attacker%}
- command /bairitu <number>:
- trigger:
- set {bai} to arg-1
- send "&e&l[&bserver&e&l] &aKILL報酬倍率を%{bai}%にしました"
- on death of player:
- add 1 to {DEATH::%victim%}
- on death of player:
- if victim is player:
- add 1 to {KILL::%attacker%}
- on first join:
- set {KILL::%player%} to 0
- set {DEATH::%player%} to 0
- set {POINT::%player%} to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement