BetterChair icon

BetterChair -----

Sit on almost everything




Blocks were reviewed and chairs were turned off for blocks that could not be seated:
  • PRESSURE_PLATE
  • LANTERN
  • AMETHYST
  • POINTED_DRIPSTONE
  • DEAD_HORN_CORAL
  • LIGHTNING_ROD
  • GLASS_PANE

Please write to me privately if you want me to change anything.
----------, Jun 22, 2022

Code (Java):
        IChair chair = BetterChair. createChair (player, block ) ;
        if (chair instanceof BedChair ) {
            BedChair bed = (BedChair )chair ;
            // YOUR STAFF
        }
        else if (chair instanceof BlockChair ) {
            BlockChair block = (BlockChair )chair ;
            // YOUR STAFF
        }
        else if (chair instanceof CarpetChair ) {
            CarpetChair carpet = (CarpetChair )chair ;
            // YOUR STAFF
        }
        else if (chair instanceof SlapChair ) {
            SlapChair slap = (SlapChair )chair ;
            // YOUR STAFF
        }
        else if (chair instanceof SnowChair ) {
            SnowChair snow = (SnowChair )chair ;
            // YOUR STAFF
        }
        else if (chair instanceof StairChair ) {
            StairChair stair = (StairChair )chair ;
            // YOUR STAFF
        }
----------, Jun 21, 2022

When a player removes a block that he is not allowed to remove, the player is no longer thrown from the chair.

A special thanks to MithrandirCraft for reporting the bug.
----------, Jun 2, 2022

Add Worldguard Flag Support:
  • mob-damage // If the flag is deny then a player cannot be pushed off the chair by a mob.
  • pvp // If the flag is deny then a player cannot be pushed off the chair by another player.
----------, May 18, 2022

The update 1.8.0 is not 100% tested yet. I was on vacation and did not have the time to check everything. But since many told me to upload it first, I ask you to write me privately if you find a bug.

The version 1.8.0 is now only for the MC 1.17. Since now in the MC 1.17 the JDK 1.16 is used I cannot offer good support for both.

Version 1.8.0 = 1.17
Version 1.7.1 = 1.14 - 1.16
----------, Jul 6, 2021

Added Spigot 1.16.5 ( View)
----------, Jan 17, 2021

Use "/chair" for switch on/off mode for you.
Please delete the old settings or change them manually.

New Settings
Code (Text):
{
  "global": {
    "SLAP": true,
    "CARPET": true,
    "STAIR": true,
    "BED": true,
    "SNOW": true,
    "BLOCK": true
  },
  "message": "Chairs used: %value%"
}
Old Settings
Code (Text):
{
  "SLAP": true,
  "CARPET": true,
  "STAIR": true,
  "BED": true,
  "SNOW": true,
  "BLOCK": true
}
----------, Jun 30, 2020

Code (Text):
api-version: 1.14
Thanks fjeddy
----------, Jun 29, 2020

It happens that BetterChair was unable to register the flags. This has now been fixed.

Thanks fjeddy
----------, Jun 28, 2020

There is now a pre event for the chairs to block them. ( PlayerChairCreateEvent)

The other event is activated when a chair is created or deleted. ( PlayerChairSwitchEvent)

If WorldGuard was loaded before this plugin, the plugin cannot register flags. Warning with the message: WorldGuard may only start after BetterChair!
----------, Jun 28, 2020

WorldGuard Flags
Code (Text):
chair-stair
chair-slap
chair-bed
chair-snow
chair-carpet
chair-block
----------, Jun 28, 2020

Checks whether another version of the plugin is available on Spigot.
----------, Jun 27, 2020

Code (Text):
api-version: 1.16
Code (Text):
CRIMSON_NYLIUM
CRIMSON_PLANKS
CRIMSON_STEM
CRIMSON_HYPHAE
STRIPPED_CRIMSON_STEM
STRIPPED_CRIMSON_HYPHAE
WARPED_NYLIUM
WARPED_PLANKS
WARPED_STEM
WARPED_HYPHAE
STRIPPED_WARPED_STEM
STRIPPED_WARPED_HYPHAE
WARPED_WART_BLOCK
BASALT
POLISHED_BASALT
NETHER_GOLD_ORE
BLACKSTONE
CHISELED_POLISHED_BLACKSTONE
POLISHED_BLACKSTONE
POLISHED_BLACKSTONE_BRICKS
CRACKED_POLISHED_BLACKSTONE_BRICKS
GILDED_BLACKSTONE
NETHERITE_BLOCK
ANCIENT_DEBRIS
CRYING_OBSIDIAN
HONEY_BLOCK
HONEYCOMB_BLOCK
SHROOMLIGHT
FIRE_CORAL_BLOCK
BUBBLE_CORAL_BLOCK
BRAIN_CORAL_BLOCK
HORN_CORAL_BLOCK
TUBE_CORAL_BLOCK
----------, Jun 27, 2020

Request from SpecialSKG
Code (Text):
{
  "STAIR": true,
  "SNOW": false,
  "CARPET": false,
  "SLAP": false,
  "BED": true,
  "BLOCK": false
}
----------, Jun 26, 2020

I added support for "1.15.x" and the "EntityPassengerRotateEvent" error was removed.
----------, Dec 20, 2019

Now Spigot 1.15 and 1.14
Code (Text):
BEE_NEST
BEEHIVE
REDSTONE_LAMP
----------, Dec 16, 2019

Resource Information
Author:
----------
Total Downloads: 33,432
First Release: Oct 1, 2019
Last Update: Jun 21, 2022
Category: ---------------
All-Time Rating:
11 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings