Configuration Files
config.yml
robot: maxHealth: 100 maxArmor: 100 maxPower: 10000 maxDamage: 15 blockPower: '17': 100 '263': 1000 function: maxStackSize: 1000 allowUseStatisticsSubmit: true allowFeedbackSubmit: true
Robot section defines various robot statistics.
Health and armor are used in robot vs robot fighting.
Max power determines how much fuel can robot hold and in a way how long can a single robot operate without user interaction.
Max damage specifies maximum amount of damage robot can give to another robot or to nearby entities. This will be a seed for a randomly generated number.
Block power section defines which blocks can give fuel to the robot, by default wood and coal, as well as, how much a single block adds.
Function section has a single setting for maximum stack size. This is used in recursion when function calls start to add up, perhaps due to a faulty function. In either case this is set to safeguard the server from running out of memory.
database.yml
UseMySQL: true host: localhost username: root database: minecraft port: 3306 password: root
All of the settings should be self explanatory here. If UseMySQL is set to false (default) SQLite will be used instead.
directives.yml
exterminate: enabled: true data: range:3;attack:monster vacuum: enabled: true data: range:5;pickupitems
Here you can create new directives. Atm support is fairly limited. You have two options - pick up items and attack a specific type of targets while robot is running a function.
Each directive must have a name such as exterminate in the config above with 2 sub fields - enabled (should be set to true if you would like to use it in game) and data.
Data has actual settings for the directives, you can combines range, pickupitems, attack:targetType in any way. Range should be always present specifying how far from the robot directive will be in effect.
Available target types are Monster, Animal, Creature, Player, All.