Advertisement
gggg1234

Untitled

Nov 27th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 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. command /shop:
  28. description: open a shop
  29. usage: /shop
  30. permission: rsk.admin
  31. permission message: "§l§nこの§4コマンド§fを使い§4権限§fを持ち合わせていません。"
  32. executable by: player and console
  33. aliases: /sp
  34. trigger:
  35. command "/realm"
  36.  
  37. command /c:
  38. trigger:
  39. give command block to player
  40.  
  41. on chat:
  42. execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.item.pickup master @s "
  43.  
  44. on player level change:
  45. broadcast "§b--------------------------"
  46. broadcast "§l§n§c%player%§fさんの§eレベル§fが上がりました! "
  47. broadcast "§b--------------------------"
  48. execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master @s"
  49. execute console command "/execute %player% ~ ~ ~ /give @s emerald 1"
  50.  
  51. on bed enter:
  52. wait 1 seconds
  53. execute console command "/effect %player% minecraft:instant_health 3 255"
  54. execute console command "/effect %player% minecraft:saturation 2 255"
  55.  
  56. on bed leave:
  57. message "あなた: §cベッド§fで寝ころんだら力が湧いてきた。"
  58. message "§l§b§n[プログラム]: §7(§4補足:§f夜しか使えないから夜は積極的にベッドを使おう!!§7)"
  59.  
  60. on drop:
  61. cancel event
  62.  
  63. on pickup:
  64. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement