Guest User

Cannons 2.0 alpha configuration notes and explanations

a guest
Apr 25th, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.25 KB | None | 0 0
  1. general:
  2. #name of the cannon
  3.   designName: Classic
  4. signs:
  5. #Means that a sign is required for cannon to work? (not entirely sure)
  6.   isSignRequired: false
  7. ammunition:
  8. #what the gunpowder is called
  9.   gunpowderName: gunpowder
  10. #what item is used as gunpowder
  11.   gunpowderType: '289:0'
  12. #whether ammo is infinite for the player? not entirely sure
  13.   ammoInfiniteForPlayer: false
  14. #whether ammo is imfinite for redstone?
  15.   ammoInfiniteForRedstone: false
  16. #sets whether the cannon can be autoreloaded using redstone and a chest (not sure if this works yet)
  17.   autoreloadRestone: true
  18. barrelProperties:
  19. #maximum gunpowder that can be loaded in the cannon
  20.   maxLoadableGunpowder: 3
  21. #how much faster the loaded projectile will fired for each gunpowder loaded
  22.   multiplierVelocity: 1.0
  23. #the angle of which a fired projectile spreads when fired. Basically the lower this is, the more accurate the cannon is
  24.   spreadOfCannon: 1.0
  25. timings:
  26. #how long anyone near the cannon without a helmet will be confused when the cannon is fired (not sure if this works)
  27.   blastConfusion: 5
  28. #the delay in seconds between when someone fires a cannon and when the actual frojectileis fired from the cannon
  29.   fuseBurnTime: 1
  30. #the time in seconds before the cannon can be fired again
  31.   barrelCooldownTime: 3
  32. angles:
  33. #used to adjust in what direction a projectile is fired from a cannon. adjust this if your cannon is firing sideways or at itself
  34.   defaultHorizonatalFacing: west
  35. #the default angle verticle angel which the cannon aims at when built. this is good for mortars and similar upwards firing weapons
  36.   defaultVerticalAngle: 0.0
  37. #Min and max horizontal agles deterimin how far to the left and right the cannon can be aim
  38.   maxHorizontalAngle: 45.0
  39.   minHorizontalAngle: -45.0
  40. #min and max verticle angles deterimine how far upwards or downwards the cannon can be aimed
  41.   maxVerticalAngle: 45.0
  42.   minVerticalAngle: -45.0
  43. # each change of the angles will change angle by this amount
  44.   angleStepSize: 1.0
  45. # not sure, does not seem to do anything yet when changed
  46.   angleUpdateSpeed: 1.0
  47. realisticBehaviour:
  48. #Whether a player has to right click while holding flint and steel for the cannon to be fired
  49.   fireWithFlintAndSteel: false
  50. #not sure, does not seem to be implemented yet
  51.   hasRecoil: false
  52. #whether you have to load the cannon from the same place the projectile is fired (aka muzzle loading), does not seem to be implemented yet
  53.   isFrontloader: false
  54. #whether the whole cannon can be roated 90 degrees, not implemented yet
  55.   isRotabable: false
  56. permissions:
  57. #all the permissions required for a player to use certain parts of the cannon
  58.   build: cannon.player.build
  59.   load: cannons.player.load
  60.   fire: cannons.player.fire
  61.   adjust: cannons.player.adjust
  62.   autoaim: cannons.player.autoaim
  63.   targetTracking: cannons.player.targetTracking
  64.   redstone: cannons.player.redstone
  65.   autoreload: cannons.player.autoreload
  66. accessRestriction:
  67. #whether only the owner of the cannon can use it or not
  68.   ownerOnly: false
  69. allowedProjectiles:
  70. #these are the list of projectiles a cannon can fire. The projectiles are taken from the config files in the projectiles folder.
  71. #they do not have to be named after an in-game item and can be named anything.
  72. #Make sure the name matches the name of the config file of the projectile you want this cannon to be able to fire. the .yml part does not need to be included
  73.   - cobblestone
  74.   - stone
  75.   - gravel
  76.   - glass
  77.   - tnt
  78.   - wool
  79.   - wood
  80.   - cake
  81.   - redstone
  82.   - blaze_powder
  83.   - rotten_flesh
  84.   - ender_pearl
  85.   - lava_bucket
  86.   - water_bucket
  87.   - obsidian
  88.   - diamond
  89.   - diamond_block
  90.   - monster_egg
  91.   - leather
  92.   - blaze
  93. #various options for the cannon schematic
  94. constructionBlocks:
  95. #blocks of the cannon shematic which are ignored and not required to build the cannon. Default is sand
  96.   ignore: '12:0'
  97. #the block which the projectle is fired from the cannon, direction can be adjusted using the defaultHorizonatalFacing property. Default is block of snow
  98.   muzzle: '80:0'
  99. #the block used to indicate when a cannon has been fired. default is torch
  100.   firingIndicator: '50:5'
  101. #the block used to indicate where the player can place chests or signs on the cannon. Default is a blank sign
  102.   chestAndSign: '68:-1'
  103. #indicates where redstone torches can be placed for redstone autoload and firing to work. Default is redstone torch
  104.   redstoneTorch: '76:5'
  105. #the block used to indicate where redstone wiring needs to be placed for redstone autoloading and firing to work. Default is redstone dust
  106.   restoneWireAndRepeater: '55:-1'
  107. #options for where a redstone signal needs to lead to in order to activate redstone autoloading and firing
  108.   redstoneTrigger:
  109. #the block used by the schematic to indicate where the redstone signal needs to lead to. Default is a lever
  110.     schematic: '69:-1'
  111. #the block used in game where the redstone signal needs to lead to. Default is stone button
  112.     ingame: '77:-1'
  113. #the blocks which a player right clicks in order to fire a cannon
  114.   rightClickTrigger:
  115. #The block used in the cannons schematic which is used to fire the cannon when right clicked by a player. Default is torch
  116.     schematic: '50:5'
  117. #The block used in game which is used to fire the cannon when right clicked by a player. Default is torch
  118.     ingame: '50:5'
Advertisement
Add Comment
Please, Sign In to add comment