Installation & Configuration/General
General.yml - everything in there will affect the whole plugin.
id-info-guns: true id-info-ammo: true id-info-additions: true loaded-guns: true loaded-ammo: true loaded-additions: true show-debug: false show-warnings: true send-notifications: true auto-reload: true use-permissions: true tool-like-gun-holding: true zoom: left_ fire: right reload: R transparent-materials: 0, 6, 83, 107, 68, 50, 18, 31, 8, 9, 10, 11, 101, 77, 113, 85, 75, 76, 90, 55, 30, 106, 111, 37, 38, 39, 40, 51, 59, 65 hud: enabled: true background: 'http://dl.dropbox.com/u/44243469/GunPack/Textures/HUDBackgroundBlue.png' position: X: 20 Y: 20 tripod: enabled: true texture: http://dl.dropbox.com/u/44243469/GunPack/Textures/tripodSprite.png hardness: 2.0 inventory-size: 18 max-count-per-player: -1 force-zoom: true recipe: amount: 1 type: shaped ingredients: blaze_rod, 0, blaze_rod, 0, cobblestone, 0, blaze_rod, 0, blaze_rod
These are the nodes, the accepted value types and their function.
node | value | function |
---|---|---|
id-info-x | true/false | if set to true it will print the id's of the specific items in the startup log |
loaded-x | true/false | if set to true it will print a list of all loaded items of this type |
show-debug | true/false | if set to true it will print error messages and stack traces in the log, to find bugs and errors |
show-warnings | true/false | if set to true it will print warnings if a available config node is missing |
auto-reload | true/false | if set to true every gun will automatically reload if the clip is empty |
use-permissions | true/false | if set to false the plugin will ignore pemissions |
tool-like-gun-holding | true/false | if set to true guns look like tools look for other players (means you can better see if a player holds a gun) |
zoom | string | sets the key for zooming for every gun, see the table below for the available settings |
fire | string | sets the key for fireing for every gun, see the table below for the available settings |
reload | string | sets the key for reloading for every gun, see the table below for the available settings |
transparent-materials | comma-separated material id's | sets the materials, guns can shoot through |
hud.enabled | true/false | if true players will get a HUD while holding a gun |
hud.background | string | sets the url that should be used for the background texture of the HUD |
hud.position.X | integer | sets the X-coord for the HUD on the screen |
hud.position.Y | integer | sets the Y-coord for the HUD on the screen |
tripod.enabled | true/false | enables/disables the tripod block and its features |
tripod.texture | string | the texture url for the tripod block (you can set the color of the block throught that) |
tripod.inventory-size | integer | the amount of slots of the tripod inventory; NOTE: the value has to be a multiple of 9 |
tripod.hardness | float | the hardness of the tripod block. examples: obsidian: 50, cobbles: 2, dirt: 0.5 |
tripod.max-count-per-player | integer | the maximal count of tripod blocks per player |
tripod.force-zoom | true/false | set either to zoom in and dont allow to zoom out whilst entered the tripod, or not |
tripod.recipe.amount | integer | the amount of tripods in the output of the crafting grid per craft |
tripod.recipe.type | string | this can either be shaped or shapeless for more info see recipes.yml below |
tripod.recipe.ingredients | string | a comma separated list of item ids/names; see recipes.yml for more info |
A list of all abailable key settings and their triggers
setting | trigger |
---|---|
right | if you right click |
left | if you left click |
middle | if you press your mouse wheel |
<any-key> | if you press the given letter |
<any-key/mouse button>_ | if you press the given character it will start doing the action, if you release it, it will stop (currently only for zooming) |
Comments