Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- message "§6ようこそ§b%player%§6さん!!"
- set the join message to "§e%player%§4が遊びにやってきた。§aゆっくりしていってね!§e/shopでショップが§e見れるよ!"
- on damage of a player:
- attacker is player
- message "【!】: §4%attacker%§fが§e%victim%§fに§c%damage%§4ダメージ§f!!" to the attacker
- on damage:
- if victim is not player:
- attacker is player
- message "§5%attacker%§fが§4%victim%§fに§4%damage%§eダメージ§f与えた" to the attacker
- on death of a player:
- broadcast " §b%victim%§eは§b%attacker%§eに§4ギタギタ§fにされた。"
- execute console command "/xp 10 %attacker%"
- on player respawn:
- wait 0.5 seconds
- execute console command "/effect %player% minecraft:resistance 10 255 true"
- message "§7§l§n[死神様]§f: §a%player%§fは§4リスポーン§fしたため、§e10秒間無敵§fになります。"
- on quit:
- set the quit message to "§l§b[Quit§6Plugin§b] §l§n§c%player%§r§fさんが§e星に§f帰った"
- command /shop:
- description: open a shop
- usage: /shop
- permission: rsk.admin
- permission message: "§l§nこの§4コマンド§fを使い§4権限§fを持ち合わせていません。"
- executable by: player and console
- aliases: /sp
- trigger:
- command "/realm"
- command /c:
- trigger:
- give command block to player
- on chat:
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.item.pickup master @s "
- on player level change:
- broadcast "§b--------------------------"
- broadcast "§l§n§c%player%§fさんの§eレベル§fが上がりました! "
- broadcast "§b--------------------------"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master @s"
- execute console command "/execute %player% ~ ~ ~ /give @s emerald 1"
- on bed enter:
- wait 1 seconds
- execute console command "/effect %player% minecraft:instant_health 3 255"
- execute console command "/effect %player% minecraft:saturation 2 255"
- on bed leave:
- message "あなた: §cベッド§fで寝ころんだら力が湧いてきた。"
- message "§l§b§n[プログラム]: §7(§4補足:§f夜しか使えないから夜は積極的にベッドを使おう!!§7)"
- on drop:
- cancel event
- on pickup:
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement