Configuration

KarmicJail YAML configuration
config.yml

Please note that the config yaml shouldn't have to be edited manually as majority of things are configured via in-game commands. The only major thing that needs to be configured/specified is the jail group, based on your specific permission group setup.



entrylimit: integer - Specifes the number of entries to show per page when listing jailed users. Must be between 1 and 15 or else it goes to default. (Default: 10)
timedJailNeedsPermission - Players will need a permission node (KarmicJail.timed) in order to set times on jailed players.
version - This is for the internal updater. DO NOT MODIFY

deny:

  • block:
    • break: If true, jailed players cannot break blocks (Default: true)
    • place: If true, jailed players cannot place blocks (Default: true)
  • chat: If true, jailed players cannot speak (Default: false)
  • commands: If true, jailed players cannot use commands (Default: true)
  • interact: If true, jailed players cannot interact with blocks / entities (Default: true)
  • inventory: If true, jailed players cannot interact with inventories (Default: false)
  • item:
    • craft: If true, jailed players cannot craft items (Default: true)
    • drop: If true, jailed players cannot drop items (Default: true)
    • enchant: If true, jailed players cannot enchant items (Default: true)
    • pickup: If true, jailed players cannot pickup items (Default: true)

group:

  • removeOnJail - If true, removes players previous groups on jail (Default: true)
  • returnOnUnjail - If true, returns previous groups to player on unjail (Default: true)
  • jail:
    • group: Specifies the group to give a jailed player to. (Default: Jailed)
    • use: If true, will give the above group to the jailed player (Default: true)
  • unjail:
    • group: Specifies the group to give when unjailing a player (Default: Default)
    • use: If true, will give the above group when a player is unjailed (Default: false)

jail:

  • world - world of the location of the jail warp (Default: the first world that it finds on the server)
  • x - x value of the location of the jail warp (Default: 0)
  • y - y value of the location of the jail warp (Default: 0)
  • z - z value of the location of the jail warp (Default: 0)
  • warpAllOnJoin - warps all players to the jail location when they join. Does not "jail" them, just teleports. (Default: false)

unjail:

  • world - world of the location of the unjail warp (Default: the first world that it finds on the server)
  • x - x value of the location of the unjail warp (Default: 0)
  • y - y value of the location of the unjail warp (Default: 0)
  • z - z value of the location of the unjail warp (Default: 0)

mysql:

  • tablePrefix - Don't edit this if you are either a) using SQLite or b) doing the import.
  • password - password for MySQL (Default: pass)
  • user - username for MySQL (Default: username)
  • import - will import from the SQLite table to the MySQL table. Will autoset to false when it is done (Default: false)
  • use - whether or not to connect to MySQL. If false, it will use SQLite. (Default: false)
  • host - host name / ip of MySQL database (Default: localhost)
  • database - name of the database to connect to (Default: minecraft)
  • port - port number of MySQL database (Default: 3306)

inventory:

  • clearOnJail - removes the inventory from the player when they are jailed (Default: true)
  • returnInventory - returns inventory from database to the player when they are unjailed (Default: true)
  • modify - allows inventory modification by players. If false, overrides the permission node to modify. (Default: true)

broadcast:

  • jail - broadcast message when a player is jailed, along with details.
  • unjail - broadcast when a player is unjailed as well as who issued the command
  • reason - broadcast when a jailed player's reason is changed/updated
  • ignorePermission - broadcast message to everyone, regardless if they have the permission node 'KamicJail.broadcast' or not
  • onjoin - broadcast a jailed person when they join the server

debug:

  • events - get messages for events logged to console
  • time - get how long a command takes to execute in nanoseconds.

Comments

Posts Quoted:
Reply
Clear All Quotes