Advertisement
NiceQQQQ

Untitled

Nov 22nd, 2019
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.17 KB | None | 0 0
  1. #DamageLOG
  2.  
  3. on damage:
  4. attacker is set
  5. victim is set
  6. if {showdmg.%attacker%} is true:
  7. send "&a%attacker% &7> &c%damage%&7 > &2%victim%" to attacker
  8. if {showdmg.%victim%} is true:
  9. send "&a%victim%&7 < &c%damage%&7 < &2%attacker%" to victim
  10.  
  11. command /damagelog [<text>]:
  12. trigger:
  13. if arg 1 is "true" or "enable" or "yes":
  14. set {showdmg.%player%} to true
  15. send "&7<<&3ダメージ表示を有効にしました&7>>"
  16. stop
  17. else if arg 1 is "false" or "disable" or "no":
  18. set {showdmg.%player%} to false
  19. send "&7<<&3ダメージ表示を無効にしました&7>>"
  20. stop
  21. else:
  22. send "&7<<&c使用法&7>> &d/damagelog <true/enable/yes|false/disable/no>"
  23.  
  24. #初期装備
  25.  
  26. on rightclick holding paper:
  27. name of held item contains "&7<<&3初期装備&7>>"
  28. remove 1 of held item from player
  29. send "&7<<§3初期装備を貰いました&7>>"
  30. execute console command "/give %player% minecraft:wooden_sword 1 0 {""display"":{""Name"":""§7<<§6ウッドソード§7>>"",""Lore"":[""§7<<§3詳細§7>>"",""§7>>§c攻撃力 §7: §22"",""§7<<§3武器種§7>>"",""§7<<§c剣§7>>"",""§7<<§3説明§7>>"",""§7・攻撃速度が速く敵を倒しやすい""]},""Unbreakable"":1b,""AttributeModifiers"":[{""Name"":""HaruEditor"",""UUIDLeast"":936707978l,""UUIDMost"":936707978l,""Operation"":0,""AttributeName"":""generic.attackDamage"",""Amount"":2d,""Slot"":""mainhand""}],""HideFlags"":39}"
  31.  
  32. #武器GET
  33.  
  34.  
  35. command /getweapon <text> :
  36. permission: weapon
  37. trigger:
  38. if arg 1 is "1":
  39. execute console command "/give %player% minecraft:paper 1 0 {""display"":{""Name"":""§7<<§3初期装備§7>>""}}"
  40. else if arg 1 is "2":
  41. execute console command "/give %player% minecraft:wooden_sword 1 0 {""display"":{""Name"":""§7<<§6ウッドソード§7>>"",""Lore"":[""§7<<§3詳細§7>>"",""§7>>§c攻撃力 §7: §22"",""§7<<§3武器種§7>>"",""§7<<§c剣§7>>"",""§7<<§3説明§7>>"",""§7・攻撃速度が速く敵を倒しやすい""]},""Unbreakable"":1b,""AttributeModifiers"":[{""Name"":""HaruEditor"",""UUIDLeast"":936707978l,""UUIDMost"":936707978l,""Operation"":0,""AttributeName"":""generic.attackDamage"",""Amount"":2d,""Slot"":""mainhand""}],""HideFlags"":39}"
  42. else if arg 1 is "3":
  43. execute console command "/give %player% minecraft:wooden_shovel 1 0 {""display"":{""Name"":""§7<<§6ウッドランス§7>>"",""Lore"":[""§7<<§3詳細§7>>"",""§7>>§c攻撃力 §7: §23"",""§7<<§3武器種§7>>"",""§7<<§c槍>>§7"",""§7<<§3説明§7>>"",""§7・攻撃速度はやや遅いが攻撃力が高い""]},""Unbreakable"":1b,""AttributeModifiers"":[{""Name"":""HaruEditor"",""UUIDLeast"":1071048808l,""UUIDMost"":1071048808l,""Operation"":0,""AttributeName"":""generic.attackDamage"",""Amount"":3d,""Slot"":""mainhand""}],""HideFlags"":39}"
  44. else if arg 1 is "4":
  45. execute console command "/give %player% minecraft:stick 1 0 {""display"":{""Name"":""§7<<§6ウッドダガー§7>>"",""Lore"":[""§7<<§3詳細§7>>"",""§7>>§c攻撃力 §7: §21"",""§7>>§3移動速度 §7: §20.03"",""§7<<§3武器種§7>>"",""§7<<§cダガー§7>>"",""§7<<§3説明§7>>"",""§7・攻撃速度が非常に早く敵を素早く倒せる""]},""Unbreakable"":1b,""AttributeModifiers"":[{""Name"":""HaruEditor"",""UUIDLeast"":1286764307l,""UUIDMost"":1286764307l,""Operation"":0,""AttributeName"":""generic.attackDamage"",""Amount"":1d,""Slot"":""mainhand""},{""Name"":""HaruEditor"",""UUIDLeast"":1286764307l,""UUIDMost"":1286764307l,""Operation"":0,""AttributeName"":""generic.movementSpeed"",""Amount"":0.03d,""Slot"":""mainhand""},{""Name"":""HaruEditor"",""UUIDLeast"":1286764307l,""UUIDMost"":1286764307l,""Operation"":0,""AttributeName"":""generic.attackSpeed"",""Amount"":5.03d,""Slot"":""mainhand""}],""HideFlags"":39}"
  46. else if arg 1 is "5":
  47. execute console command "/give %player% minecraft:leather_boots 1 0 {""display"":{""Name"":""§7<<§2リーフブーツ§7>>"",""Lore"":[""§7<<§3詳細§7>>"",""§7>>§3防御力 §7: §20.5"",""§7<<§3装備種§7>>"",""§7<<§c足§7>>"",""§7<<§3説明§7>>"",""§7・何かに使えそうだ""],""color"":32768},""Unbreakable"":1b,""AttributeModifiers"":[{""Name"":""HaruEditor"",""UUIDLeast"":1042926035l,""UUIDMost"":1042926035l,""Operation"":0,""AttributeName"":""generic.armor"",""Amount"":0.5d,""Slot"":""feet""}],""HideFlags"":39}"
  48. execute console command "/give %player% minecraft:leather_leggings 1 0 {""display"":{""Name"":""§7<<§2リーフレギンス§7>>"",""Lore"":[""§7<<§3詳細§7>>"",""§7>>§3防御力 §7: §21"",""§7<<§3装備種§7>>"",""§7<<§c脚§7>>"",""§7<<§3説明§7>>"",""§7・何かに使えそうだ""],""color"":8453888},""Unbreakable"":1b,""AttributeModifiers"":[{""Name"":""HaruEditor"",""UUIDLeast"":1486277335l,""UUIDMost"":1486277335l,""Operation"":0,""AttributeName"":""generic.armor"",""Amount"":1d,""Slot"":""legs""}],""HideFlags"":39}"
  49. execute console command "/give %player% minecraft:leather_chestplate 1 0 {""display"":{""Name"":""§7<<§2リーフチェストプレート§7>>"",""Lore"":[""§7<<§3詳細§7>>"",""§7>>§3防御力 §7: §21.5"",""§7>>§d体力 §7: §22"",""§7<<§3装備種§7>>"",""§7<<§c胸§7>>"",""§7<<§3説明§7>>"",""§7・何かに使えそうだ""],""color"":16384},""Unbreakable"":1b,""AttributeModifiers"":[{""Name"":""HaruEditor"",""UUIDLeast"":2081040535l,""UUIDMost"":2081040535l,""Operation"":0,""AttributeName"":""generic.maxHealth"",""Amount"":1d,""Slot"":""chest""},{""Name"":""HaruEditor"",""UUIDLeast"":2081040535l,""UUIDMost"":2081040535l,""Operation"":0,""AttributeName"":""generic.armor"",""Amount"":1.5d,""Slot"":""chest""}],""HideFlags"":39}"
  50. execute console command "/give %player% minecraft:leather_helmet 1 0 {""display"":{""Name"":""§7<<§2リーフヘルメット§7>>"",""Lore"":[""§7<<§3詳細§7>>"",""§7>>§3防御力 §7: §20.5"",""§7<<§3装備種§7>>"",""§7<<§c頭§7>>"",""§7<<§3説明§7>>"",""§7・何かに使えそうだ""],""color"":8454016},""Unbreakable"":1b,""AttributeModifiers"":[{""Name"":""HaruEditor"",""UUIDLeast"":2066104245l,""UUIDMost"":2066104245l,""Operation"":0,""AttributeName"":""generic.armor"",""Amount"":0.5d,""Slot"":""head""}],""HideFlags"":39}"
  51. else if arg 1 is "6":
  52. execute console command "/give %player% minecraft:leather_helmet 1 0 {""display"":{""Name"":""§7<<§dアップルヘルメット§7>>"",""Lore"":[""§7<<§3詳細§7>>"",""§7>>§d体力 §7: §28"",""§7<<§3装備種§7>>"",""§7<<§c頭§7>>"",""§7<<§3説明§7>>"",""§7・これを装備しているだけで体力が増えそうだ""],""color"":16711680},""Unbreakable"":1b,""AttributeModifiers"":[{""Name"":""HaruEditor"",""UUIDLeast"":1942580376l,""UUIDMost"":1942580376l,""Operation"":0,""AttributeName"":""generic.maxHealth"",""Amount"":8d,""Slot"":""head""}],""HideFlags"":39}"
  53. else if arg 1 is "7":
  54. execute console command "/give %player% minecraft:leather_leggings 1 0 {""display"":{""Name"":""§7<<§fボーンレギンス§7>>"",""Lore"":[""§7<<§3詳細§7>>"",""§7>>§3防御力 §7: §23"",""§7>>§3移動速度 §7: §20.01"",""§7<<§3装備種§7>>"",""§7<<§c脚§7>>"",""§7<<§3説明§7>>"",""§7・軽くけど丈夫で防御力が高そうだ""],""color"":12632256},""Unbreakable"":1b,""AttributeModifiers"":[{""Name"":""HaruEditor"",""UUIDLeast"":125051265l,""UUIDMost"":125051265l,""Operation"":0,""AttributeName"":""generic.armor"",""Amount"":3d,""Slot"":""legs""},{""Name"":""HaruEditor"",""UUIDLeast"":125051265l,""UUIDMost"":125051265l,""Operation"":0,""AttributeName"":""generic.movementSpeed"",""Amount"":0.01d,""Slot"":""legs""}],""HideFlags"":39}"
  55. else if arg 1 is "8":
  56. execute console command "/give %player% minecraft:leather_boots 1 0 {""display"":{""Name"":""§7<<§fストーンブーツ§7>>"",""Lore"":[""§7<<§3詳細§7>>"",""§7>>§3防御力 §7: §24"",""§7>>§3移動速度 §7: §c0.03"",""§7<<§3装備種§7>>"",""§7<<§c足§7>>"",""§7<<§3説明§7>>"",""§7・重いが防御力が高そうだ""],""color"":8421504},""Unbreakable"":1b,""AttributeModifiers"":[{""Name"":""HaruEditor"",""UUIDLeast"":1104552492l,""UUIDMost"":1104552492l,""Operation"":0,""AttributeName"":""generic.armor"",""Amount"":4d,""Slot"":""feet""},{""Name"":""HaruEditor"",""UUIDLeast"":1104552492l,""UUIDMost"":1104552492l,""Operation"":0,""AttributeName"":""generic.movementSpeed"",""Amount"":-0.03d,""Slot"":""feet""}],""HideFlags"":39}"
  57. else if arg 1 is "9":
  58. execute console command "/give %player% minecraft:stone_axe 1 0 {""display"":{""Name"":""§7<<§fストーンアックス§7>>"",""Lore"":[""§7<<§3詳細§7>>"",""§7>>§c攻撃力 §7: §25"",""§7<<§3武器種§7>>"",""§7<<§c斧§7>>"",""§7<<§3説明§7>>"",""§7・攻撃速度が遅いが攻撃力が高い""]},""Unbreakable"":1b,""AttributeModifiers"":[{""Name"":""HaruEditor"",""UUIDLeast"":159169364l,""UUIDMost"":159169364l,""Operation"":0,""AttributeName"":""generic.attackDamage"",""Amount"":5d,""Slot"":""mainhand""},{""Name"":""HaruEditor"",""UUIDLeast"":159169364l,""UUIDMost"":159169364l,""Operation"":0,""AttributeName"":""generic.attackSpeed"",""Amount"":-3d,""Slot"":""mainhand""}],""HideFlags"":39}"
  59. execute console command "/give %player% minecraft:stone_sword 1 0 {""display"":{""Name"":""§7<<§fストーンソード§7>>"",""Lore"":[""§7<<§3詳細§7>>"",""§7>>§c攻撃力 §7: §23"",""§7<<§3武器種§7>>"",""§7<<§c剣§7>>"",""§7<<§3説明§7>>"",""§7・攻撃速度が速く敵を倒しやすい""]},""Unbreakable"":1b,""AttributeModifiers"":[{""Name"":""HaruEditor"",""UUIDLeast"":1987515620l,""UUIDMost"":1987515620l,""Operation"":0,""AttributeName"":""generic.attackDamage"",""Amount"":3d,""Slot"":""mainhand""}],""HideFlags"":39}"
  60. execute console command "/give @p minecraft:stone_shovel 1 0 {""display"":{""Name"":""§7<<§fストーンランス§7>>"",""Lore"":[""§7<<§3詳細§7>>"",""§7>>§c攻撃力 §7: §24"",""§7<<§3武器種§7>>"",""§7<<§c槍§7>>"",""§7<<§3説明§7>>"",""§7・攻撃速度はやや遅いが攻撃力が高い""]},""Unbreakable"":1b,""AttributeModifiers"":[{""Name"":""HaruEditor"",""UUIDLeast"":391766834l,""UUIDMost"":391766834l,""Operation"":0,""AttributeName"":""generic.attackDamage"",""Amount"":4d,""Slot"":""mainhand""},{""Name"":""HaruEditor"",""UUIDLeast"":391766834l,""UUIDMost"":391766834l,""Operation"":0,""AttributeName"":""generic.attackSpeed"",""Amount"":-2d,""Slot"":""mainhand""}],""HideFlags"":39}"
  61. else if arg 1 is "10":
  62. execute console command "/give %player% minecraft:sapling 1 0 {""display"":{""Name"":""§7<<§2リーフアクセサリー§7>>"",""Lore"":[""§7<<§3詳細§7>>"",""§7>>§d体力 §7: §22"",""§7<<§3アイテム種§7>>"",""§7<<§cオフハンドアイテム§7>>"",""§7<<§3説明§7>>"",""§7・これをオフハンドで持っていれば体力が上がりそうだ""]},""AttributeModifiers"":[{""Name"":""HaruEditor"",""UUIDLeast"":1923380134l,""UUIDMost"":1923380134l,""Operation"":0,""AttributeName"":""generic.maxHealth"",""Amount"":2d,""Slot"":""offhand""}],""HideFlags"":39}"
  63. command /stage1 :
  64. trigger:
  65. execute console command "/mvtp %player% stage1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement