While playing the game, Press tilde ~ (the key above TAB) (Backslash or tilde or ö. Depending on your keyboard layout.) to display the chat window.
Enter the admin mode: admin. This unlocks all buildings. Building is free, and you can add and remove resources to buildings.
Add resource to a building: a Wood 10
Remove resource from a building: r Wood 10