Configuration
This Page explains the Configuration.
Note: This Page can be more up to date than the latest Version shown in the File Section. Compare the ConfigVersion with your Version!
Every Time value is given in Ticks. 20 Ticks are (on normal server speed) 1 Second!
ConfigVersion: '1.2' Grenades: #Add your Grenades under this Section Explosive: #Explosive = Name of the Grenade Material: EGG #Grenade Material has to be written Uppercase Durability: 2000 #0 is the default Durability Description: #Description text when you hover over the item. Colors supported by '&+colorLetter'. Each "-" entry line represents a line in game. - '&7Explodes like TNT' - '&4Power: 4' GiveCost: 10 #When you use '/grenade give explosion' it costs you 10 units of your server currency ThrowCost: 0 #Set a value to take money from the user when he throws a grenade Protections: #Add 'WorldGuard' or 'Factions:FactionName' - WorldGuard #Grenade won't explode in WorldGuard Regions + you can't throw Grenades while in WorldGuard Regions. - Factions:SafeZone #Grenade won't explode in SafeZone + you can't throw Grenades while in SafeZone Effects: #Scroll down to read more about Effects - explosion:4 Thunder: Material: SNOW_BALL Durability: 2000 Description: - '&7Creates a Lightning' GiveCost: 10 ThrowCost: 0 Effects: - thunder:1 Fireball: Material: FIREBALL Durability: 0 Description: - '&7Splashs like a Molotow-Cocktail' - '&4Range: 5' GiveCost: 10 ThrowCost: 0 Effects: - fire:5 Blindness: Material: COAL Durability: 2000 Description: - '&7Lets near Players become Blind' - '&4Range: 2' GiveCost: 10 ThrowCost: 0 Effects: - potion:2:BLINDNESS:60:1:120 #If CheckItemName is true the Name of the Item in Hand must be equals to the Grenade Name (default Grenade Names: "Explosive", "Thunder", "Fireball", "Blindness") CheckItemName: false #If OnlyThrowWhileSneaking is true you can only throw grenades (using left click) while you hold your sneak button (default: shift) OnlyThrowWhileSneaking: false
List of Materials
Effects
Every Time Value has to be set in Ticks (1 Tick = 1/20 Second)
Effect Name | Setup | Example | Extra Descrption |
---|---|---|---|
explosion | explosion:power:setBlocksOnFire:destroyBlocks | explosion:4:false:true | Example is equals to TNT |
fire | fire:range | fire:4 | The Range is a Radius of Blocks around the Grenades position |
thunder | thunder:power | thunder:1 | The Power is currently Meaningless but has to be added |
potion | potion:range:pEffect:duration:power:airTime | potion:3:BLINDNESS:60:1:120 | airTime is the Time the Grenade exists on floor and adds pEffect to Players. List of Potion Effects (look here for the Name) |
Comments