Skip to content
graywolf336 edited this page Jun 5, 2015 · 7 revisions

Overview

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 section

  • system.configVersion: 3 don't change this, bad things will happen
  • system.debug: false true/false if you want to enable debugging, outputs lots of console messages
  • system.language: en the language code to use, please see languages for more information
  • system.updateNotifications: true true/false if you want to be notified when an update is released

storage section

  • storage.type: flatfile the type of storage to use, can be one of the following: flatfile, sqlite, mysql
  • storage.mysql.host: localhost the host for the mysql server, if you're using mysql
  • storage.mysql.port: 3306 the port for the mysql server, if you're using mysql
  • storage.mysql.username: root the username for the mysql server, if you're using mysql
  • storage.mysql.password: password the password for the user for the mysql server, if you're using mysql

jailing section

during

  • jailing.during.countDownTimeWhileOffline: false whether prisoner's time should go down while they're offline
  • jailing.during.maxFoodLevel: 20 the max food level a prisoner should have while in jail
  • jailing.during.minFoodLevel: 20 the min food level a prisoner should have while in jail
  • jailing.during.ignoreSleeping: true true/false if you want the sleeping state of prisoners to be ignored
  • jailing.during.openChest: true true/false if the prisoner should be able to open their inventory during their sentence

jail

  • jailing.jail.automaticMute: true sets whether the player is automatically muted when jailed
  • jailing.jail.broadcastJailing: false true/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: nearest the 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: 30m the default jail time when no time is specified
  • jailing.jail.deleteInventory: false true/false if you want their inventory deleted upon being jailed
  • jailing.jail.gameMode: adventure survival/adventure/creative, depending on what you want their gamemode to be in the jails
  • jailing.jail.logToConsole: true true/false if we should jail each logging to the console
  • jailing.jail.logToProfile: false true/false if we should log the jailing to the player's profile, see prisoner profile
  • jailing.jail.storeInventory: true true/false if the plugin should store the prisoner's inventory before they are jailed so it is restored later

release

  • jailing.release.backToPreviousPosition: false true/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: false true/false if we should restore their previous GameMode
  • jailing.release.teleport: true true/false if we should teleport the player out when they are released

Clone this wiki locally