# Configuration

**What is configuration?**

Configuration is a set of settings that are necessary to build a minigame.

Default values for these settings are set in configurators.&#x20;

The library has three types of configuration:

1. PluginConfiguration - This configuration contains settings about plugin configuration&#x20;

* useDatabase (true|false) - enables or disables integration with SQL database&#x20;
* tablesPrefix (string)  - prefix of every table in SQL database
* useDefaultStatsSystem (true|false) - enables or disables using default stats system
* arenaSaveType - (SINGLE\_FILE | MANY\_FILES) - sets arena save type (SINGLE\_FILE - this type means arenas will be loaded from single file, MANY\_FILES - every arena has single file)

2. GameConfiguration

* blockBreaking (true|false) - enables or disables breaking blocks during the game
* blocksPlacing (true|false) - enables or disables placing blocks during the game
* droppingItems (true|false) - enables or disables dropping itmes during the game

3. CommandConfiguration - **deprecated**

* doNotHavePermissionMessage (string)- sets a message which will be displayed when player don't have permission&#x20;
* onlyPlayersMessage (string) -  sets a message which will be displayed when a command is not for player
