Configuration

This section explains the config file and it's options. The file is automatically generated on the first run of the plugin and any new entries will be added with their defaults.

jail:
    leave:
    use: command // The option to use when releasing someone (teleport, command or both)
    command: spawn // The command or commands to be run upon release (multiple commands are separated with a ; ) no / needed
    coords: world,-8.65625,65.0,-251.53125,180.99083,13.3241625 // The coordinates of the jail release point, set by `/jail set leavetp` in game
  coords: world,-8.5,65.0,-262.65625,2.5364277,10.355569 // The coordinates of the jail point, set by `/jail set jail` in game
  allowchat: false // Allow the people jailed to chat, toggled by `/jail set chat`, `/jail set chat on` or `/jail set chat off`
  griefingextends: true // Any attempts to use an item, break or place blocks will extend the persons sentence
  extendtime: 30 // Number of seconds to extend their time
  broadcast: true // Broadcast to the server of jailed/released players
string: //The rest should be pretty self explanatory. $s = the prefix set below, $p is the playername, $t is time
  leave:
    jailee: $s You have been released from jail!
    jailor: $s You have released $p from jail!
    broadcast: $s $p was released from jail!
  add:
    jailee: $s You have been thrown in jail by $p for $t!
    jailor: $s You have thrown $p in jail for $t!
    blocked: $s You cannot throw $p in jail!
    broadcast: $s $p was jailed for $t!
  info:
    self: $s You have $t left in jail!
    other: $s $p has $t left in jail!
    notin:
      self: $s You are not in jail!
      other: $s $p is not in jail!
    extended: $s You have extended your stay by $t!
  misc:
    noperm: $s You do not have permission for that!
    noconsole: $s You cannot do that from the console!
    nosuchuser: $s That user was not found!
    nouser: $s You need to specify a user!
    nocommand: $s You need to specify an option!
    msgprefix: '&4[Jail]&f'
    second: second
    minute: minute
    hour: hour
    day: day
    week: week
    year: year
    forever: eternity
    'on': 'on'
    'off': 'off'
  admin:
    jail: $s You set the jail point!
    leave: $s You set the jail release use option!
    release: $s You set the jail release point!
    command: $s You set the jail leave command!
    chaton: $s You turned jailee chat ON!
    chatoff: $s You turned jailee chat OFF!
    broadcaston: $s You turned jail broadcast ON!
    broadcastoff: $s You turned jail broadcast OFF!
    griefextendon: $s You turned jail grief time extender ON!
    griefextendoff: $s You turned jail grief time extender OFF!


Comments

Posts Quoted:
Reply
Clear All Quotes