-
Notifications
You must be signed in to change notification settings - Fork 7
Config
graywolf336 edited this page Jun 5, 2015
·
7 revisions
The configuration has changed drastically in Jail 3.0, if it doesn't automatically convert your config from 2.x please report that. But if you want to start a fresh and configure it yourself here is the information, the default config is located here.
-
system.configVersion: 3don't change this, bad things will happen -
system.debug: falsetrue/false if you want to enable debugging, outputs lots of console messages -
system.language: enthe language code to use, please see languages for more information -
system.updateNotifications: truetrue/false if you want to be notified when an update is released
-
storage.type: flatfilethe type of storage to use, can be one of the following: flatfile, sqlite, mysql -
storage.mysql.host: localhostthe host for the mysql server, if you're using mysql -
storage.mysql.port: 3306the port for the mysql server, if you're using mysql -
storage.mysql.username: rootthe username for the mysql server, if you're using mysql -
storage.mysql.password: passwordthe password for the user for the mysql server, if you're using mysql
-
jailing.during.countDownTimeWhileOffline: falsewhether prisoner's time should go down while they're offline -
jailing.during.maxFoodLevel: 20the max food level a prisoner should have while in jail -
jailing.during.minFoodLevel: 20the min food level a prisoner should have while in jail -
jailing.during.ignoreSleeping: truetrue/false if you want the sleeping state of prisoners to be ignored -
jailing.during.openChest: truetrue/false if the prisoner should be able to open their inventory during their sentence
-
jailing.jail.automaticMute: truesets whether the player is automatically muted when jailed -
jailing.jail.broadcastJailing: falsetrue/false whether the jailing should be broadcasted to the whole server -
jailing.jail.commands: []list of commands which are executed when a player is jailed -
jailing.jail.defaultJail: nearestthe name of the default jail when no jail is specified, nearest tells the plugin to search for the closest one to the jailer -
jailing.jail.defaultTime: 30mthe default jail time when no time is specified -
jailing.jail.deleteInventory: falsetrue/false if you want their inventory deleted upon being jailed -
jailing.jail.gameMode: adventuresurvival/adventure/creative, depending on what you want their gamemode to be in the jails -
jailing.jail.logToConsole: truetrue/false if we should jail each logging to the console -
jailing.jail.logToProfile: falsetrue/false if we should log the jailing to the player's profile, see prisoner profile -
jailing.jail.storeInventory: truetrue/false if the plugin should store the prisoner's inventory before they are jailed so it is restored later
-
jailing.release.backToPreviousPosition: falsetrue/false if we should send the prisoner back to where they was when they were jailed -
jailing.release.commands: []list of commands to execute when a player is released -
jailing.release.restorePreviousGameMode: falsetrue/false if we should restore their previous GameMode -
jailing.release.teleport: truetrue/false if we should teleport the player out when they are released