Got a question that the wiki doesn't answer? Ask on the forum (preferred), or join us on IRC.

BeastNode MC-Market.org

CraftBook/Chairs

From EngineHub.org Wiki
Jump to: navigation, search

Chairs make stairs or other customizable blocks able to be sat on.

Usage

Right click a block that is defined as a chair to sit on it. A message will be shown if there is no block beneath the chair, and the player will not be allowed to sit.

Sign Requirements

In the configuration it is possible to require a sign to sit, this allows for players to specify what blocks they want as chairs, instead of just sitting on every block which can be very annoying. To put a sign on a chair, it needs to be attached to a side. It is recommended with stairs, to put them on the side to look like armchairs. If multiple of the same block are connected, a sign isn't required on each block. The maximum distance connected blocks can be from the sign is also configurable.

Image

CraftBookChairSitting.png

Permissions

Permission Node Effect
craftbook.mech.chair.use Allows use of the Chairs mechanic.

Configuration

Configuration Node and Path Default Value Effect
mechanics.chair.enable false Enable chair mechanic.
mechanics.chair.allow-holding-blocks false Allow players to sit in chairs when holding blocks.
mechanics.chair.regen-health true Regenerate health when sitting down.
mechanics.chair.blocks [WOOD_STAIRS, COBBLESTONE_STAIRS, BRICK_STAIRS, SMOOTH_STAIRS, NETHER_BRICK_STAIRS, SANDSTONE_STAIRS, SPRUCE_WOOD_STAIRS, BIRCH_WOOD_STAIRS, JUNGLE_WOOD_STAIRS, QUARTZ_STAIRS] A list of blocks that can be sat on.
mechanics.chair.face-correct-direction true When the player sits, automatically face them the direction of the chair. (If possible)
mechanics.chair.require-sign false Require a sign to be attached to the chair in order to work!
mechanics.chair.max-distance 3 The maximum distance between the click point and the sign. (When require sign is on)
mechanics.chair.max-click-radius 5 The maximum distance the player can be from the sign.

Troubleshooting

Issue Solution
The sitting animation doesn't appear on 1.6! Update to the latest versions of CraftBook, a major change occurred with the sitting animation!
Players are kicked when sitting! You are using a version of bukkit with a bug in it relating to vehicles! Please use Bukkit Build #2812.
Players are kicked for Nope! Make sure to use the LATEST version of ProtocolLib alongside CraftBook.
Players bob up and down on chairs. Make sure you don't have a plugin that erases arrows (Or a spigot setting).

Navigation menu