Skip to content
graywolf336 edited this page Jan 2, 2015 · 1 revision

Jail Stick Overview

Jail sticks are useful for jailing people with items instead of commands, for example town police or server police. The following is the configuration for how to setup the items.

configuration

config section

  • jailstick.enabled: true true/false on whether this feature should be enabled or not
  • jailstick.sticks: ["stick,30m,,Running away,-1", "blaze_rod,15m,,Having too much fun,6"] a yml list of sticks, see below for the syntax.

stick syntax

  • "stick,30m,,Running away,-1" Enables a stick to be used to jail people for thirty minutes in the nearest jail (since no jail is provided) with a reason of Running away and the prisoner can have any amount of health to be jailed.
  • "blaze_rod,15m,,Having too much fun,6" Enables a stick to be used to jail people for fifteen minutes in the nearest jail (since no jail is provided) with a reason of Having too much fun and the prisoner must have 3 hearts or less to be successfully jailed (aka resisting arrest via health).

command

information

  • Max arguments: 0
  • Min arguments: 0
  • Needs a player: true
  • Command: /jail stick
  • Permission needed: jail.usercmd.jailstick
  • Usage: /jail stick

usage

/jail stick

This command toggles the usage of jail sticks, enable it before trying to use a jail stick.

Clone this wiki locally