-
Notifications
You must be signed in to change notification settings - Fork 3
Configuration
Joshua Hertlein edited this page Aug 28, 2014
·
12 revisions
Server-wide configuration settings are done in .../plugins/MCTowns/config.yml
The configuration file is located at .../plugins/MCTowns/config.yml.
The table below explains what the 'type' column means in the "Configuration Options" section.
| Value Type | Explanation | Example |
| integer | An integer. | 7, 8, 9... |
| float | A single-precision floating-point number. | 2.43, 6.555, 1.34543... |
| boolean | Either 'true' or 'false' | true, false |
| (empty) | In the config, the key exists but there is no value. | defaultTown: |
| (unlisted) | Both the key and value are not listed in the default config. |
| Option Name | Type | Default Value | Description |
| defaultTown | String | (empty) | If a town name is specified here, players joining the server for the first time will be added to this town. |
| economyEnabled | boolean | false | Whether or not economy features are enabled. |
| mayorsCanBuyTerritories | boolean | false | Whether or not mayors can create territories with `/town add territory` by paying money on a per-column basis (defined by pricePerXZBlock). |
| pricePerXZBlock | float | 0.0 | Amount a player will be charged for each column of blocks (from sky to bedrock) when purchasing a new territory. |
| minNumPlayersToBuyTerritory | integer | 3 | Minimum number of players that must be in a town before the town can buy territories. |
| allowTownFriendlyFireManagement | boolean | false | If enabled, mayors will be able to toggle whether players can damage fellow townmates in PvP. |
| qsTool | integer | 290 | Item ID of the quick-select tool. |
| debugModeEnabled | boolean | (unlisted) | Whether the plugin should run in debug mode. Don't enable this unless you're debugging. |
| territoryXZSizeLimit | integer | 800 | Maximum number of tiles in the XZ plane that a mayor can use when making a territory. MCT Admins bypass this limit. |
To set up permissions, see the Permissions page.