Village - SiD3W4y/VillageSelector GitHub Wiki

Introduction :

The Village object is the core of the api , almost all modification go through it.

How to use it :

Start by creating a village object , you need to pass your json village as a string to the constructor. Village village = new Village(jsonVillage);

Now the json will be parsed , and you will have to use the modules to mod it ! Different modules are present : buildings , traps , decos and respawnVars You can access them like this : village.buildings(); // Accessing buildings module

To get info on how to use the modules , check the dedicated wiki page for each module.