Configuration
Standard configuration file:
MySQL:
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:
time: 200 - how often it work on player
uCount: 4 - how often it update all players (updating automaticaly when player move, place block..)
radiation:
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:
Rsome: 5
Rmedium: 20
Rhight: 60
effects:
- <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
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:
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:
mapChangeBlocks: 18:0,31:0,2:3,60:3- blocks to change leaves to air => 18:0
safeZones: