Sueta

Sittable

1.2

A sitting / chair plugin designed around simplicity, with the essential features, no extra frills.

·Plugin

A simple lightweight plugin that lets you sit on stairs, slabs, carpets any any other configurable block.

Supports:

  • 1.8.*, 1.9.*, 1.10.*, 1.11.*, 1.12.*, 1.13.*, 1.14.*, 1.15.*, 1.16.*, 1.17.*, 1.18.*, 1.19.*
  • Spigot, Paper, Purpur, Pufferfish, Airplane, Tuinity, CraftBukkit, Mohist, Magma, CatServer
  • GeyserMC (Bedrock Players)
  • Forge/Bukkit Hybrid servers (Mohist, Magma, CatServer)

Features:

  • Allows sitting everywhere, on the ground, on any configured block.
  • Finds the safest location to put the player when standing up.
  • Restores player to their original location when standing up.
  • Health regeneration while sitting.
  • Hand swing animaiton played when sitting down.
  • Configurable distance you can sit from.
  • WorldGuard region flag to enable sitting.
  • Simplicity, it just works as it should, no frills.

WorldGuard Flags:
sittable
- allow sitting in this region, allow by default.

Config
# Sit
sit:
  distance: 3.5 # Distance a player needs to be within to sit on a block.

  animation:
    block: true # Should play swing hand animation when sitting on a block.
    ground: false # Should play swing hand animation when sitting on the ground.

  regeneration:
    block: -1 # Regeneration amplifier, 0 is normal regeneration, -1 to disable.
    ground: -1 # Regeneration amplifier, 0 is normal regeneration, -1 to disable.

  offset:
    below: 0.0 # Modify how high the player sits.
    behind: 0.0 # Modify how close the players back is to stairs.

  materials: # https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
    - "(.*)_STAIRS"
    - "(.*)_SLAB"
    - "(.*)_CARPET"
    - "PLAYER_HEAD"
    # Legacy support
    - "(.*)SLAB2"
    - "(.*)CARPET"
    - "(.*)STEP"
    - "SKULL"

# Stand
stand:
  return: true # Should the player be teleported to where their location before sitting.

# Messages
messages: # Set to "" to disable.
  prefix: "&aSittable &8» &r"
  sit-failure-unable: "Unable to sit here."
  sit-failure-worldguard: "Not allowed to sit in this region."
  sit-failure-distance: ""
  sit-success: ""
  stand-success: ""
  plugin-reload: "Reloaded config file."
  plugin-permission: "No permission."

Commands:
/sit
- Sit on the ground
/sittable - Plugin info
/sittable reload - Reload command

Permissions:
sittable.sit.command (Default)
sittable.sit.block (Default)

Similar projects

Plugin →