ChairStairs
Sit Down
Ever wanted to sit down and rest after a long day in the mines?
With stairs every where, why not just right-click with an empty hand and you'll be sitting.
This plugin is a small and lite weight plugin designed to allow your players to sit down on stairs (or other blocks if you set them).
Configuration
Configuration isn't required but you can add almost any block type, and steps/slabs work well too.
This is a link to the list of Bukkit Material Names, most blocks will work, don't use items names, like "BOW", etc.
The default config.yml file lists all the current stair types:
Chairs: - WOOD_STAIRS - SPRUCE_WOOD_STAIRS - JUNGLE_WOOD_STAIRS - BIRCH_WOOD_STAIRS - SANDSTONE_STAIRS - COBBLESTONE_STAIRS - BRICK_STAIRS - SMOOTH_STAIRS - NETHER_BRICK_STAIRS - QUARTZ_STAIRS - ACACIA_STAIRS - DARK_OAK_STAIRS
There are also two other options you may set.
UpsideDown: true or false
This option checks for upside down chairs, and if it's set to "false" (which is the default), then all upside down chairs are ignored.
Range: 0
This setting is the number of blocks away a player can be to sit in a chair. The default number is "0" which means the range is the limit that Bukkit detects the player's click, so the range check is ignored. Any number above zero will be the maximum blocks away the player can interact with the chair.
Installation
To use simply copy the ChairStairs.jar file to your plugins folder then /reload your plugins or restart your server.
Permissions
There are no permissions to set and the default configuration will allow any stairs to be used as chairs.
Commands
There are currently no commands used with this plugin.
Use
To sit down simply right-click on a stair block (or other blocks if you add them to the config.yml) with an empty hand, you will get a message that tells you to click the key you have assigned as your "sneak" key to dismount (stand up), you will be returned to the block that you came before you sat down.
Notes
If you sit for a while the arrow used to make you appear to be sitting will despawn, a new arrow will be placed, and you will be seated on it, and a new "dismount" message will be displayed.
If you log out while sitting, you will appear sitting again, but you won't respawn an arrow to be re-seated, and you won't be able to return to the last block you were on when you "dismount", you will instead be placed near the block used as the chair.
If you click on a chair block with a block above it you will take damage until you dismount the block.
This plugin was designed to be small and lite on the server.
@DrakeSnodgrass
Just remove it from the config.yml file, and /reload or restart your server for the changes to take effect.
It's not a permissions file so you can't negate it with the negative sign. The dashes are how Bukkit's Config Files store lists of items.
if i don't want cobblestone stairs to work do i just remove it or can i do this
- -COBBLESTONE_STAIRS the extra - the negate it? or does this not work that way?
@bigwill388
Works fine with 1.7.4 and 1.7.5 Clients.
The newest Bukkit Development builds are 1.7.2 so that is why you can't flag it with a higher number.
@bigwill388
This should work fine with 1.7.4.
And you can always just test it, and see the result.
But 1.7.2 and 1.7.4 is almost the same, the only difference I know, are some bug fixes like the bed.
does this work with 1.7.4? i'm new to all of this but saw the jar said 1.7.2 but someone else told me you can't flag it for any other version on bukkit yet
@AxelDios
Thanks, I will get a message when the new file is uploaded, then I will download it.
@EnergizerBEAST1
I'll add permissions in the first update.
I really like the idea, and I'm gona use it.
But can you add a permission for sitting, because I want that only staff can do it, and maybe later on VIPs.
Sorry if I have a bad English, I'm Dutch.
@MGPLAYS
Well, thank you, and Happy Birthday!
YOU! HAVE EPICNESS! YOU POSTED THIS ON MY BDAY AND YOUR PLUGIN WAS LIKE A GIFT! THANK YOU!
@FabioZumbi12
No, the dismount message is generated by Minecraft.
The sit down would be possible, but does the player really need to know they are sitting since they get the dismount message when they sit?
Can you add custom messages to sit and dismount to config file?