Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #CustomDeathMessage ver 1.0.0
- #死亡者は%victim%
- #殺害者は%attacker%
- options:
- #落下死
- fallingdeathmessage: %victim%は高いところから落ちてこの世と別れを告げた
- #溺死
- drowingdeathmessage: %victim%は水中で苦しみ悶えながら息を引き取った
- #焼死
- burningdeathmessage: %victim%は炎に囲まれながら天に昇った
- #奈落
- voiddeathmessage: %victim%は永遠続く穴に落ちた
- #溶岩
- lavadeathmessage: %victim%は溶岩に飲み込まれた
- #中毒死
- poisondeathmessage: %victim%は毒により心肺停止に陥った
- #爆死
- explosiondeathmessage: %victim%は爆風により体が粉々に飛び散った
- #殺人
- playerkilldeathmessage: %victim%は%attacker%の手によって殺された
- #MOB
- mobkilldeathmessage: %victim%は%attacker%に殺害された
- #その他
- otherdeathmessage: %victim%が死神に連れてゆかれるのは運命だった
- on death:
- set {_attacker} to attacker
- set {_victim} to victim
- if {_attacker} is not set:
- if damage was caused by drow:
- set the death message to "%{@drowingdeathmessage}%"
- if damage was caused by fall:
- set the death message to "%{@fallingdeathmessage}%"
- if damage was caused by void:
- set the death message to "%{@voiddeathmessage}%"
- if damage was caused by fire:
- set the death message to "%{@burningdeathmessage}%"
- if damage was caused by lava:
- set the death message to "%{@lavadeathmessage}%"
- if damage was caused by explosion:
- set the death message to "%{@explosiondeathmessage}%"
- if damage was caused by poison:
- set the death message to "%{@poisondeathmessage}%"
- else:
- set the death message to "%{@otherdeathmessage}%"
- if {_attacker} is set:
- if attacker is a player:
- set the death message to "%{@playerkilldeathmessage}%"
- if attacker is not a player:
- set the death message to "%{@mobkilldeathmessage}%"
- delete {_attacker}
- delete {_victim}
- on load:
- broadcast "&6CustomDeathMessageがロードされました"
- broadcast "&6Ver:1.0.0"
Advertisement
Add Comment
Please, Sign In to add comment