Configuration

Standard configuration file:


MySQL:
useMySQL: false - true if you use MySQL database
hostname: localhost - hostname (IP)
port: 3306 - port
database: radiation - database (it must exist, radiation can't create it)
username: root - username..
password: someSecretPassword - password...

timer:
timerEnabled: true - if is timer enabled (it must be true, becouse plugin don't have any other way to control player)
time: 200 - how often it work on player
uCount: 4 - how often it update all players (updating automaticaly when player move, place block..)

radiation:
blocks: true - \/ List of enabled parts, to disable change to false
biome: true
inventory: true
rain: true
biomeP: true
roof: true
armor: true
- <block or item id>:<value>, - list of radioactive blocks, negative value make radiation smaller
RadioactiveBlocks: 89:12,348:3,8:0.01,9:0.01,19:-5
- <biome>:<value ,% add to curren radiaiton>, - list of biome radiaiton, if you use TerrainControl use biome ids, if don't use biome names (OCEAN, PLAINS...)
biomeRadiation: 7:0.2,28:0.05
rainRadiation: 4 - value added when raining

limits:
Rnone: 0 - radiaiton limits, (none is from <Rnone> to <Rsome>, some from <Rsome> to <Rmedium>...)
Rsome: 5
Rmedium: 20
Rhight: 60

effects:
- effect applying on player if is in radiation level
- <effect type>:<data1>:<data2>
- possible effect types:
  • none - don't do anything
  • damage - remove <data1> player hearts
  • potion - <data1> potion effect name, <data2> effect level
    list of possible potion effects: BLINDNESS, CONFUSION, DAMAGE_RESISTANCE, FAST_DIGGING, FIRE_RESISTANCE, HARM, HEAL, HUNGER, INCREASE_DAMAGE,JUMP, POISON, REGENERATION, SLOW, SLOW_DIGGING, SPEED, WEAKNESS
  • effect - <data1> effect name, <data2> effect level
RnoneEffect: none
RsomeEffect: potion:HUNGER:0
RmediumEffect: potion:HUNGER:1,potion:WEAKNESS:1
RhighEffect: damage:2,effect:POTION_BREAK:3,potion:POISON:1,potion:BLINDNESS:2

protection:
- <armor id>:<value(0.0-1.0)>, - list of armors
ProtectionArmor: 298:0.04,299:0.05,300:0.04,301:0.03,306:0.1,307:0.12,308:0.1,309:0.08...
- <biome>:<value ,% add to less radiaiton>, - list of biome protection
ProtectionBiome: 1:0.07
- list of radiaiotn protection blocks (roof over player head)
ProtectionBlocks: 42:0.3,98:0.15,1:0.03,4:0.02,5:0.01

mapChanges:
useAutomaticMapChanges: false - start map changes automaticaly
mapChangeBlocks: 18:0,31:0,2:3,60:3- blocks to change leaves to air => 18:0

safeZones:
safeRegions: safezone, someregion - list of safe zones: <region name>,