Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- per: &cSorry You dont have permission
- server: &a[&eserver&a]&r
- command /pvpmenu [<player>]:
- permission: pvp.admin
- permission message: {@per}
- trigger:
- open chest with 3 row named "&7PvP Menu" to arg-1
- wait 1 tick
- format slot 13 of arg-1 with diamond sword named "&aFree for All" to run [execute player command "ffa join"]
- command /rank [<player>] [<text>]:
- permission: pvp.admin
- permission message: {@per}
- trigger:
- if arg 2 is "vip":
- set {rank::%UUID of arg-1%} to 1
- broadcast "{@server} &b%arg-1% &7さんが&aVIP&7ランクを買いました"
- execute console command "nte player %arg-1% prefix &a[VIP]"
- if arg 2 is "reset":
- delete {rank::%UUID of arg-1%}
- execute console command "nte player %arg-1% clear"
- command /killeffect [<text>]:
- aliases: ke
- trigger:
- if {rank::%UUID of player%} is more than or equal to 1:
- if arg 1 is not set:
- open chest with 3 row named "&7Choose KillEffect" to player
- wait 1 tick
- format slot 10 of player with barrier named "&7None" to close then run [execute player command "ke none"]
- format slot 12 of player with redstone block named "&8Blood" to close then run [execute player command "ke blood"]
- if arg 1 is "none":
- delete {killeffect::%UUID of player%}
- send "&7killeffectをnoneに変更しました" to player
- stop
- if arg 1 is "blood":
- set {killeffect::%UUID of player%} to 1
- send "&7killeffectをbloodに変更しました" to player
- stop
- else:
- send "&cこのコマンドを実行するにはVIPランク以上が必要です" to player
- command /autospawn [<text>]:
- trigger:
- if arg 1 is not set:
- if {autospawn::%UUID of player%} is true:
- send "&7autospawnを&cOff&7にしました" to player
- set {autospawn::%UUID of player%} to false
- stop
- else:
- send "&7autospawnを&aOn&7にしました" to player
- set {autospawn::%UUID of player%} to true
- stop
- if arg 1 is set:
- if {autospawn::%UUID of player%} is true:
- send "&7autospawnを&cOff&7にしました" to player
- set {autospawn::%UUID of player%} to false
- stop
- else:
- send "&7autospawnを&aOn&7にしました" to player
- set {autospawn::%UUID of player%} to true
- stop
- command /lobby [<text>]:
- trigger:
- if arg 1 is not set:
- set {lobby.teleport.countdown::%UUID of player%} to true
- send "&7ロビーにテレポートします..." to player
- wait 5 second
- if {lobby.teleport.countdown::%UUID of player%} is true:
- teleport player to {lobby}
- delete {lobby.teleport.countdown::%UUID of player%}
- send "&8You returned to Lobby" to player
- if arg 1 is set:
- set {lobby.teleport.countdown::%UUID of player%} to true
- send "&7ロビーにテレポートします..." to player
- wait 5 second
- if {lobby.teleport.countdown::%UUID of player%} is true:
- teleport player to {lobby}
- delete {lobby.teleport.countdown::%UUID of player%}
- send "&8You returned to Lobby" to player
- command /setlobby:
- permission: pvp.admin
- permission message: {@per}
- trigger:
- set {lobby} to location of player
- send "&7set You location to lobby" to player
- every tick:
- loop all players:
- set loop-player's sidebar
- on damage:
- if victim is player:
- if {lobby.teleport.countdown::%UUID of victim%} is true:
- send "&cダメージを受けたため、キャンセルしました" to victim
- delete {lobby.teleport.countdown::%UUID of victim%}
- on death:
- if attacker is player:
- if victim is player:
- if {killeffect::%UUID of attacker%} is 1:
- execute console command "execute %victim% ~ ~ ~ particle blockcrack ~ ~ ~ 0.3 0.7 0.3 0.2 100 force @a 152"
- if victim is player:
- if {autospawn::%UUID of victim%} is true:
- wait 12 tick
- force victim to respawn
- on break:
- if player's gamemode is not creative:
- cancel event
- on join:
- if player has played on this server before:
- set the join message to "&7[&a+&7] %player%"
- else:
- set the join message to "&7[&b+&7] &d%player%"
- on quit:
- set the quit message to "&7[&c-&7] %player%"
- on chat:
- if {rank::%UUID of player%} is not set:
- cancel event
- broadcast "&7%player%&a: &r%message%"
- stop
- if {rank::%UUID of player%} is 1:
- cancel event
- broadcast "&a[VIP] %player%&a: &r%message%"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement