Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- set the join message to "§e%player%§4が遊びにやってきた。§aゆっくりしていってね!§e/shopでショップが§e見れるよ!"
- wait 2 seconds
- message "§6ようこそ§b%player%§6さん!!"
- 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帰った"
- 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 sneak toggle:
- execute console command "/effect %player% minecraft:saturation 1 1 true"
- on rightclick with sugar:
- name of held item contains "§l§n§4[§l§n§c貴重な糖分§l§n§4]"
- execute console command "/clear %player% minecraft:sugar 0 1 {display:{Name:""§l§n§4[§l§n§c貴重な糖分§l§n§4]""}}"
- execute console command "/scoreboard players add %player% money 10"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.zombie.attack_door_wood master @s"
- on rightclick on a sea lantern:
- set {_cd} to difference between {sea.%player%} and now
- if {_cd} is less than 10 seconds:
- message "§l§n§f[§l§n§bSea§l§n§f]: すでに§4先客§fが来ていたようだ。まだ近くにいる§c可能性§fもある。気を付けよう!"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.blaze.hurt master @p ~ ~ ~ 1 2"
- stop
- else:
- set {sea.%player%} to now
- execute console command "/give %player% emerald 1"
- execute console command "/xp 2 %player%"
- broadcast "§l§n§f[§l§n§4報告§l§n§f]: §c%player%§fさんが§bSea地点§fにたどり着きました!!"
- command /resetxp:
- description: 経験値を0に戻します(リセット)
- usage: /resetxp
- permission: resetxp.admin
- permission message: あなたは権限をお持ちでないため、使用は制限されています。
- executable by: player and console
- aliases: /rxp,/rexp
- trigger:
- execute console command "/xp -1000000l %player%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement