Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on first join:
- set the join message to "&b&l%player%&r&lさんが&d&l初参加&r&lです"
- teleport player to {SSP}
- set {%uuid of player%::rank} to 1
- set {%uuid of player%::lv} to 1
- set {%uuid of player%::AP} to 100
- set {%uuid of player%::maxXP} to 100
- set {%uuid of player%::XP} to 0
- set rf max hp of player to 100
- set health of player to max health of player
- set player's scaled health to 10
- set {%uuid of player%::maxMP} to 100
- set {%uuid of player%::MP} to 100
- set {%uuid of player%::money} to 0
- set {%uuid of player%::money} to 0
- command /reset-lv <player>:
- permission: Admin
- trigger:
- set {%uuid of arg%::rank} to 1
- set {%uuid of arg%::lv} to 1
- set {%uuid of arg%::AP} to 1
- set {%uuid of arg%::maxXP} to 100
- set {%uuid of arg%::XP} to 0
- set rf max hp of arg to 100
- set health of arg to max health of player
- set arg's scaled health to 10
- set {%uuid of arg%::maxMP} to 100
- set {%uuid of arg%::MP} to 100
- command /reset-money <player>:
- permission: Admin
- trigger:
- set {%uuid of arg%::money} to 0
- every 0.2 seconds:
- loop all players:
- set {_h} to floor(health of loop-player*2)
- set {_m} to floor({%uuid of loop-player%::MP})
- set action bar of loop-player to "&c&lHP<%{_h}%/%max health of loop-player*2%> &3&lMP<%{_m}%/%{%uuid of loop-player%::maxMP}%> &a&lXP<%{%uuid of loop-player%::XP}%/%{%uuid of loop-player%::maxXP}%>"
- command /set-spawn-point:
- permission: Admin
- trigger:
- set {SSP} to player's location
- send "&e%player's location%をspawn pointにしました"
- on join:
- set the join message to "&b%player%&rさんが&eログイン&rしました"
- set player's scaled health to 10
- teleport player to {SSP}
- on quit:
- set the quit message to "&b%player%&rさんが&cログアウト&rしました"
- on block damage:
- player != op
- cancel event
- on damage:
- if damage was caused by fall:
- cancel event
- on respawn:
- teleport player to {SSP}
- set player's scaled health to 10
- on heal:
- cancel event
- on join:
- set tab header to "&3WukkitCraft%nl%&bMinigames now out!" and footer to "&b----------" for player
- on death of player:
- force event-player to respawn
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement