gggg1234

Untitled

Nov 27th, 2018
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. on join:
  2. message "§6ようこそ§b%player%§6さん!!"
  3. set the join message to "§e%player%§4が遊びにやってきた。§aゆっくりしていってね!§e/shopでショップが§e見れるよ!"
  4.  
  5. on damage of a player:
  6. attacker is player
  7. message "【!】: §4%attacker%§fが§e%victim%§fに§c%damage%§4ダメージ§f!!" to the attacker
  8.  
  9. on damage:
  10. if victim is not player:
  11. attacker is player
  12. message "§5%attacker%§fが§4%victim%§fに§4%damage%§eダメージ§f与えた" to the attacker
  13.  
  14. on death of a player:
  15. broadcast "§b%victim%§eは§b%attacker%§eに§4ギタギタ§fにされた。"
  16. execute console command "/xp 10 %attacker%"
  17.  
  18. on player respawn:
  19. wait 0.5 seconds
  20. execute console command "/effect %player% minecraft:resistance 10 255 true"
  21. message "§7§l§n[死神様]§f: §a%player%§fは§4リスポーン§fしたため、§e10秒間無敵§fになります。"
  22.  
  23.  
  24. on quit:
  25. set the quit message to "§l§b[Quit§6Plugin§b] §l§n§c%player%§r§fさんが§e星に§f帰った"
  26.  
  27. on chat:
  28. execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.item.pickup master @s "
  29.  
  30. on player level change:
  31. broadcast "§b--------------------------"
  32. broadcast "§l§n§c%player%§fさんの§eレベル§fが上がりました! "
  33. broadcast "§b--------------------------"
  34. execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master @s"
  35. execute console command "/execute %player% ~ ~ ~ /give @s emerald 1"
  36.  
  37. on bed enter:
  38. wait 1 seconds
  39. execute console command "/effect %player% minecraft:instant_health 3 255"
  40. execute console command "/effect %player% minecraft:saturation 2 255"
  41.  
  42. on bed leave:
  43. message "あなた: §cベッド§fで寝ころんだら力が湧いてきた。"
  44. message "§l§b§n[プログラム]: §7(§4補足:§f夜しか使えないから夜は積極的にベッドを使おう!!§7)"
  45.  
  46. on drop:
  47. cancel event
  48.  
  49. on pickup:
  50. cancel event
Advertisement
Add Comment
Please, Sign In to add comment