Advertisement
Jabber666

Busted PVP kill drop spell. Minecraft plugin MagicSpells 4.0 ComputerGeek2 fork.

Jun 6th, 2021
1,227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.62 KB | None | 0 0
  1. KP2:
  2.     spell-class: ".PassiveSpell"
  3.     always-granted: true
  4.     name: KP2
  5.     triggers:
  6.         - kill player
  7.     chance: 100
  8.     delay: -1
  9.     cancel-default-action: false
  10.     spells:
  11.        - §2⚔001§r
  12.         - FlipChippie
  13.     cast-without-target: true
  14.     variable-mods-cast:
  15.        - PlayersKilled 1
  16.     str-cast-self: "§4§lPlayer Killed!§r §7§c%var:PlayersKilled:0% §fKills"
  17. ############################################################################
  18. §2⚔001§r:
  19.     spell-class: ".ExternalCommandSpell"
  20.     name: §2⚔001§r
  21.     enabled: true
  22.     cooldown: 2
  23.     helper-spell: true
  24.     temporary-op: true
  25.     always-granted: true
  26.     command-to-execute:
  27.        - 'effect %t minecraft:levitation 20 90'
  28.         - 'summon item ~ ~1 ~ {PickupDelay:100,NoGravity:1b,Age:4200,Motion:[0.4,0.0,0.4],Rotation:[20f,90f],Invulnerable:1,Fire:160,Item:{id:"minecraft:player_head",Count:1b,tag:{CustomName:"\"%randomcolor_selected_a,b,c,d,e,f,1,2,3,4,5,6,7,8,9%§l%a Head!\"",CustomNameVisible:1,SkullOwner:{Name:"%t",Id:"%t"}}}}'
  29.         - 'summon experience_orb ~ ~2 ~ {id:"minecraft:experience_orb",PickupDelay:100,NoGravity:1b,Value:500,Motion:[0.2,0.0,0.2],Rotation:[20f,90f],PickupDelay:160,CustomNameVisible:1,Invulnerable:1,Fire:160,CustomName:"\"%randomcolor_selected_a,b,c,d,e,f,1,2,3,4,5,6,7,8,9%§l2000 %randomcolor_selected_a,b,c,d,e,0,1,2,3,4,5,6,7,8,9%§lPVP EXP§r\"",Glowing:1,Age:4200,Value:2000}'
  30.     command-to-execute-later: []
  31.     command-delay: 0
  32.     command-to-block:
  33.        - ""
  34.     temporary-permissions:
  35.        - "minecraft.command.summon"
  36.         - "minecraft.command.effect"
  37.     require-player-target: true
  38.     execute-as-target-instead: false
  39.     block-chat-output: true
  40.     obey-los: false
  41.     range: 50
  42.     effects:
  43.         1:
  44.           position: target
  45.           effect: explosion
  46.         2:
  47.           position: target
  48.           effect: blockbreak
  49.           id: chorus_plant
  50.           height-offset: 1.0
  51.         3:
  52.           position: target
  53.           effect: blockbreak
  54.           id: chorus_flower
  55.           height-offset: 2.0
  56.         4:
  57.           position: target
  58.           effect: blockbreak
  59.           id: redstone_block
  60.           height-offset: 3.0
  61.         5:
  62.           position: target
  63.           effect: blockbreak
  64.           id: red_concrete
  65.           height-offset: 4.0
  66.         6:
  67.           position: target
  68.           effect: blockbreak
  69.           id: red_concrete_powder
  70.           height-offset: 3.0
  71.         7:
  72.           position: target
  73.           effect: blockbreak
  74.           id: red_wool
  75.           height-offset: 2.0
  76.         8:
  77.           position: target
  78.           effect: blockbreak
  79.           id: red_terracotta
  80.           height-offset: 1.0
  81.         9:
  82.           position: caster
  83.           effect: particlecloud
  84.           radius: 1
  85.           duration: 20
  86.           radius-per-tick: 0.1
  87.           y-offset: 2
  88. ############################################################################
  89. FlipChippie:
  90.     spell-class: ".instant.ConjureSpell"
  91.     helper-spell: true
  92.     name: FlipChippie
  93.     always-granted: true
  94.     can-cast-by-command: false
  95.     bindable: false
  96.     cooldown: 1
  97.     calculate-drops-individually: true
  98.     items:
  99.        - FTChip1 1-1 2%
  100.         - FTChip2 1-1 2%
  101.         - FTChip3 1-1 2%
  102.         - FTChip4 1-1 2%
  103.         - FTChip5 1-1 2%
  104.         - FTChip6 1-1 2%
  105.         - FTChip7 1-1 2%
  106.         - FTChip8 1-1 1%
  107.         - FTChip9 1-1 1%
  108.         - FTChip10 1-1 1%
  109.         - FTChip11 1-1 1%
  110.         - FTChip12 1-1 1%
  111.         - FTCredit 1-10 100%
  112.     add-to-inventory: false
  113.     drop-if-inventory-full: true
  114.     auto-equip: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement