Guest User

Cannons 2.0 alpha projectile configuration

a guest
Apr 25th, 2013
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.02 KB | None | 0 0
  1. general:
  2. #the name of the projectile displayed in game
  3.   projectileName: cannonball
  4. #the name of the projectile displayed in game as well? not entirely sure, does not seem to affect anything
  5.   itemName: cobblestone
  6. #The item which is associated with the proectile.
  7. #Items can be assigned to many different projectiles which are used with different cannons
  8. #example: on cannon can be loaded with stone but will fire an armor piercing round, while a different cannon
  9. #can be loaded with stone and it will fire an explosive projectile
  10.   loadingItem: '4:0'
  11. #not sure what this does, just leave it alone to avoid any errors or other things
  12.   alternativeId:
  13.     - '1:0'
  14. cannonball:
  15. #the velocity of the projectile.
  16.   velocity: 3
  17. #how many blocks the prpojectile will penetrate before it explodes
  18.   penetration: 1
  19. #how long in seconds the porjectile will detonate if it does not hit anything (i think? not sure what happens if it does hit something before the delay is up)
  20.   timefuse: 0
  21. #how many pojectiles are fired
  22.   numberOfBullets: 1
  23. #the higher this is, the more innacurate the projectile. This multiplies the "spreadOfCannon" property of the cannon it is fired from
  24.   spreadMultiplier: 1.0
  25. #different properties of the projectile. if you dont want any of these properties then just leave this all blank
  26.   properties:
  27. #This means the cannonball will break through obsidian, water, and lava
  28.     - superbreaker
  29. #this propery sets the impact area on fire. range is determined by the explosion power propery
  30.     - incendiary
  31. explosion:
  32. #the explosion power of the cannonball when it hits; this number setermine the explosions range in blocks.
  33. #for comparison, the explosion power of a creeper is 3. anything above 50 will cause lag on smaller servers
  34.   explosionPower: 2
  35. #whether the explosion will destroy blocks
  36.   doesExplosionDamage: true
  37. #whether the projectile destroyes blocks it penetrates? not entirely sure
  38.   doesPenetrationDamage: true
  39. #the range of the potion effects specified below
  40.   potionRange: 5
  41. #how long the effects will last
  42.   potionDuration: 7
  43. #how powerful the effect is, the higher this is the more powerful the effect. If set to 1 it has normal effect, if set to 0 it does nothing.
  44.   potionAmplifier: 1
  45. #which potion effects are used. a list of effects supported by bukkit can be found here-
  46. #http://jd.bukkit.org/rb/apidocs/org/bukkit/potion/PotionEffectType.html
  47.   potionEffects:
  48.    - harm
  49.     - slow
  50. #options which determine whether blocks are blocks around the impact ares. set all to 0 if you want no blocks placed.
  51. #does not seem to work with items, but will work with spawn eggs
  52. placeBlock:
  53. #the radius where blocks will be places
  54.   radius: 3
  55. #the maximum ammount of blocks placed
  56.   amount: 0
  57. #the blocks which will be placed. does not seem to support more tha one block type at a time
  58.   material:
  59. #this one is a spawn-egg with its parameters set to launch a firework rocket
  60.     - '383:20'
  61. loadPermission:
  62. #the permissions required for a player to use this projectile
  63.   - cannons.projectile.cobblestone
Advertisement
Add Comment
Please, Sign In to add comment