Chairs
Chairs - Sit down on stairs
The Chairs plugin makes it possible to use stair-blocks as seats so that you are able to sit down on them. It is similar to the ChairCraft plugin. This one works properly, though.
Note: It appears that you will see yourself as sitting a bit higher than you are supposed to, other players will see you sitting normal, though (screenshot).
How To:
Thanks to the guys from WoopaGaming who did a showcase of this plugin: https://www.youtube.com/watch?v=PbUxIiBYJ6k
To sit down on a chair, you simply have to rightclick on the stairs-block.
- If you have the "sneaking"-option in the config.yml enabled, you have to sneak while rightclicking.
- If you have set the "distance"-option to a value higher than 0, you have to be close enough to the chair to be able to sit down.
- If you have the "sign-check"-option enabled, there have to be signs at the end of the chair/row of chairs to be able to sit down.
- If you have set the "max-chair-width"-option to a value higher than 0, the chair/row of chairs must not be longer than this value.
To stand up from a chair, you have to rightclick on it. You can also destroy the chair to stand up.
The config.yml contains an explanation to all the options you can set, please read it before asking questions.
Note: The "item"-option in the config.yml if the type of item you are sitting on. Players can only "sit" on entities (like minecarts or mobs. Item drops are entities, too). This plugin uses item drops on which the player sits down. You can configure the type of item drop, because it is possible that you will sometimes see it floating through the player's body. A lever is quite small, that's why it is the default value
Commands & Permissions:
chairs.reload
- /chairs reload - Reload the Chairs configuration file.
chairs.sit
- Sit down on chairs.
Tried this plugin in 1.3.1-R2.0, with PEX permissions node added and got this:
2012-09-28 14:07:57 [SEVERE] Could not pass event PlayerInteractEvent to Chairs org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177) at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:355) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:649) at net.minecraft.server.Packet15Place.handle(SourceFile:58) at net.minecraft.server.NetworkManager.b(NetworkManager.java:276) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NoSuchMethodError: net.minecraft.server.Block.a()Z at net.spoothie.chairs.EventListener.onPlayerInteract(EventListener.java:43) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330) ... 16 more
@TNTUP
As an op you will still need to grant yourself the correct permission to use this.
@cnaude
No errors. I'm OP and I can't use it. I even need the perm to sit? To allow the others, okay but me why? Nope, I can think it would give the same result. Its the default config, plugin generated it.
Empty hand does the trick. Thanks. The peeps on my server thank you too.
@TNTUP
Do you get errors? Are your permissions setup? Have you tried different stairs? What does your config.yml look like?
@cnaude
Used with CB 2364, 1.3.2-R0.1
@batbat01
The current version of the plugin checks if the hand is empty before allowing a person to sit. It's probably a good thing. It would suck to try and build a roof out of stairs and accidently sit all the time.
@hex37
Glad to hear that.
@chrisknyfe
I would love to do that but I'm not on this project. The owner, spoothie, would have to do that. The best I can do right now is make it available dropbox.
@cnaude
Thanks for the update. Do you plan on posting this to the downloads on the sidebar? Or is this a dev version?
@cnaude You're a godsend, Cnaude. The admins of my server have been waiting a long time for this. I'll show it to them ASAP.
@cnaude
That would be a,... probably not? I will for sure try that when I get home. Didn't realize it might make a difference.
Thanks. WIll let you know.
@batbat01
One more thing. Is your hand empty when trying to escape the chair?
@cnaude
I sure am. Tried targeting all over the chair. I only have dynmap installed for other plugins so I would guess it's not a conflict, but will try disabling it when I get home later.
@batbat01
When shift+right click to stand up are you targeting the chair you are sitting on?
I try to sit down but i cant i tryd all the ways no working for 1.2.5 :(
Thanks for the update. I was able to sit but the only way I could stand up was to destroy the chair. Right Clicking and /or Shift+Right Clicking didn't work for me. Can anyone else confirm?
I would hate to have to recreate my chairs every time I use them.
@cnaude
Thank a lots of for your udapte ! I test it immediately ! :)
For anyone wanting to use the new stair types just add these to your config.yml.
@TNTUP
What version of CraftBukkit did you test it with? Did you get errors? I tested it it with 1.3.2-R0.1 and it seemed okay. The only issue I noticed was trying to sit with the new wood stairs.