Advertisement
Guest User

Fixed items.yml(without colorcodes)

a guest
Jun 1st, 2013
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.78 KB | None | 0 0
  1. # WARNING:
  2. # You should always set a lore,
  3. # because the items are identified by
  4. # id,data,name and lore
  5. # and lore can not be canged in normal minecraft!
  6.  
  7.  
  8. # -------
  9. # Effectsyntax: effect_name:data:<position>
  10. # Soundsyntax: sound_name:volume:pitch:<position>
  11. # -------
  12. # Effect and Sound Names can be found in the Bukkit Javadoc
  13. # org.bukkit.Effect
  14. # org.bukkit.Sound
  15. # -------
  16. # position can be: Caster,Target or something specified by the ItemSpell
  17. # default: Caster
  18.  
  19. # required is a number of the spell that needs to succed before using this(-1 = none)
  20.  
  21. # Usable attacks(cast):
  22. ######################################
  23. # "ItemLeap"
  24. # Leap through the air
  25. #
  26. # castVar0: forwardvel0city(defaut: 4)
  27. # castVar1: upwardvelocity(defaut: 1.5)
  28. # castVar2: power(default: 1)
  29. # castVar3: disableDamage(1=true)
  30. # castVar4: range(only used when casted on a location by another spell)
  31. ######################################
  32. # "ItemLaunch"
  33. # Launches an Falling BlockEntity
  34. # and casts another spell on impact
  35. # EffectPosition: onHit
  36. # castVar0: BlockID
  37. # castVar1: Damagevalue(0-15)
  38. # castVar2: Power
  39. # castVar3: Create Item when not landing right(1=true)
  40. # castVar4: Create Block(1=true)
  41. ######################################
  42. # "ItemDamage"
  43. # Damages or heals a Player
  44. # WARNING: This is affected by the friendly_fire option!
  45. # castVar0: castOnSelf(1=true)
  46. # castVar1: damage(negative to heal)
  47. ######################################
  48. # "ItemCommand"
  49. # Execute command as the Player or console
  50. # -0- gets replaced by the casters name
  51. # -1- gets replaced by the target players name
  52. # (if no target target exists, all commands containing -1- are skipped!)
  53. # castVar0: console(1=true)
  54. # castVar1+: Commands
  55. ######################################
  56. # ""
  57. #
  58. #
  59. # castVar0:
  60. # castVar1:
  61. ######################################
  62.  
  63. items:
  64.    firestaff:
  65.      name: "Firestaff"
  66.      lore:
  67.       - "The first custom item!"
  68.        - "This is just for testing"
  69.        - "Left: Splash (5s cooldown)"
  70.       - "Right: Fireleap (5s cooldown)"
  71.     id: 369
  72.     data: 0
  73.     leftclick:
  74.       effects:
  75.         - "ENDER_SIGNAL:0:onHit"
  76.       sounds:
  77.         - "SPLASH:1:0.5:onHit"
  78.       cooldown: 5
  79.       mana:
  80.         cost: 40
  81.       casts:
  82.         0:
  83.           cast: "ItemLaunch"
  84.           require: -1
  85.           castVars:
  86.             - 8
  87.             - 0
  88.             - 2
  89.             - 0
  90.             - 0
  91.             - "ItemLeap"
  92.             - 4
  93.             - 1.5
  94.             - 1
  95.             - 1
  96.             - 2
  97.     rightclick:
  98.       effects:
  99.         - "MOBSPAWNER_FLAMES:0:Caster"
  100.         - "MOBSPAWNER_FLAMES:0:Caster"
  101.         - "MOBSPAWNER_FLAMES:0:Caster"
  102.         - "MOBSPAWNER_FLAMES:0:Caster"
  103.         - "MOBSPAWNER_FLAMES:0:Caster"
  104.       sounds:
  105.         - "ARROW_HIT:1:0.5:Caster"
  106.       cooldown: 5
  107.       mana:
  108.         cost: 40
  109.       casts:
  110.         0:
  111.           cast: "ItemLeap"
  112.           require: -1
  113.           castVars:
  114.             - 4
  115.             - 1.5
  116.             - 1
  117.             - 1
  118.   vampire:
  119.     name: "Vampire"
  120.     lore:
  121.       - "The second custom item!"
  122.       - "This is just for testing"
  123.       - "Left: none"
  124.       - "Right: Lifesteal(1 Heart) (3s cooldown)"
  125.     id: 369
  126.     data: 0
  127.     leftclick:
  128.       effects: []
  129.       sounds: []
  130.       cooldown: 5
  131.       mana:
  132.         cost: 0
  133.       casts: []
  134.     rightclick:
  135.       effects: []
  136.       sounds:
  137.         - "BAT_IDLE:1:1:Caster"
  138.       cooldown: 1
  139.       mana:
  140.         cost: 15
  141.       casts:
  142.         0:
  143.           cast: "ItemDamage"
  144.           require: -1
  145.           castVars:
  146.             - 0
  147.             - 2
  148.         1:
  149.           cast: "ItemDamage"
  150.           require: 0
  151.           castVars:
  152.             - 1
  153.             - -2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement