ChairsReloaded
About Chairs Reloaded
This is a reload of the original Chairs mod by Spoothie. That plugin was no longer being updated so I have continued it here.
This plugin allows players to sit in chairs (stairs).
Installation
- Drop the Chairs jar file in your plugins directory.
- Setup permissions accordingly.
Video:
Special ends for chairs
Corner stairs:![]()
Sign:
![]()
Commands & Permissions
chairs.reload
- /chairs reload - Reload the Chairs configuration file.
chairs.sit
- Sit down on chairs.
chairs.sit.health
- If the health sitting effects are enabled then players with this permission node are healed while siting.
-
View User Profile
-
Send Message
Posted Jul 31, 2013too tall is closer to sitting then no sitting=)
i prefer sitting bit higher in air then not sitting at all, or being kicked off server every time i unboard chair.
also you can sit on bat or silverfish ofcourse. I can still sit on my bat with citizens plugin. Im just pointing at pig, cause pig seems to be the very easiest way.
-
View User Profile
-
Send Message
Posted Jul 31, 2013@laacis2
Pigs are too tall.
-
View User Profile
-
Send Message
Posted Jul 31, 2013Why don't we just sit on invisible pig? Make so when you rightclick chair block, plugin spawns invisible pig inside the chair block, and you sit on it. If essentials can make you perma vanish without bubbles, im sure you can make pig stay vanished while you sit.
-
View User Profile
-
Send Message
Posted Jul 30, 2013@cnaude
Thank you for that update! It is nice to know what is actually happening with the plugin. I love the chairs plugin, so take your time with it because quality is always better! :D
-
View User Profile
-
Send Message
Posted Jul 29, 2013I am a bit concerned about these non despawning invisible chickens ... since I already have arrows all over my server that disappear and appear again and again. If you break the chairs they are attached to they fall but will return to their previous position after a while. And you can't destroy them, pick them up, you can't burn them and you can't remove them with world edit.
I have uninstalled ChairsReloaded .. but I still have the arrows and they don't seem to be going anywhere.
And chickens are well known for causing lag in larger quantities .. hm.
-
View User Profile
-
Send Message
Posted Jul 29, 2013Thanks for the status update. It is much appreciated. Good luck in figuring this out.
-
View User Profile
-
Send Message
Posted Jul 29, 2013@fjutte
The reason we have plugins in the first place, is because Mojang won't add in these features (for various reasons), and will not consider adding it in either for years or an eternity. I think it would've been easier if Mojang just took a different approach to altering the sitting mechanic; an approach that wouldn't have broken this plugin. Maybe instead of requiring extra data for player entities to sit, it could've been made optional.
@cnaude
Judging from your three options, and your descriptions of all three, I would predict solution #2 to be the most popular one (seeing as it's the only one that doesn't spawn a "real" entity). From what I can gather, is solution #2 basically just a modified version of the way you made players sit before 1.6 broke that method? Modified in that you're just sending extra (albeit required) data to make the client sit.
-
View User Profile
-
Send Message
Posted Jul 29, 2013@cnaude
Sounds like it would be a lot easier if Mojang would make their own built-in 'sit' function :)
-
View User Profile
-
Send Message
Posted Jul 29, 2013@pilvimaa
I have been playing with three different methods of making players site.
1. The arrow method: Unfortunately the current version of CB is broken and will kick players trying to exit an arrow. Another issue is there is no way to prevent an arrow from despawning. I don't have confidence in this method.
2. The custom packet method: The original method of sending a "sit" packet to the player is no longer possible in its current form. The client does not recognize these packets due to the introduction of horses and the change in vehicle mechanics. I have been experimenting with a new way to send the "sit" packet. I can actually force a client to think it is sitting by tricking it into sitting on an entity without the server knowing about it.
3. The invisible frozen chicken method: I figured out how to successfully spawn an invisible frozen chicken. The chicken can be used in a similar way to the arrow method. The advantage to this method is that the chicken is safer to exit and will never despawn. The disadvantage is the chicken needs to be facing the correct direction otherwise the player will not sit correctly. I'm working on getting the chicken to face the correct direction.
-
View User Profile
-
Send Message
Posted Jul 28, 2013Hello cnaude and thank you for your hard work!
Could we have a status update on what is going on at the moment? If you have a moment maybe you could write a bit about what the challenges with making ChairsReloaded work with 1.6 is at the moment? And tell us about your approach to solving the problem? Or have you hit a dead end?
Also. Have you tried asking the author of protocol lib for advice? Because he's a really nice guy and knows his stuff. He might have some suggestion you haven't thought of.
-
View User Profile
-
Send Message
Posted Jul 28, 2013Could you please update to 1.6.2?
-
View User Profile
-
Send Message
Posted Jul 27, 2013I also had a user get the "Player was caught trying to crash the server with an invalid position." error when he was trying to build a roof with stairs.
-
View User Profile
-
Send Message
Posted Jul 27, 20131.6.2 update time?
"Nope"
:)
-
View User Profile
-
Send Message
Posted Jul 27, 2013@Peregrin5
I did post an update in the link below where even though 2812 fixed most of the crashes it would still kick you if there is a wall in the way of where it wants to place you when you want to get off the chair.
Full conversation (including video here) http://youtrack.sk89q.com/issue/CRAFTBOOK-2645#comment=67-4471
-
View User Profile
-
Send Message
Posted Jul 26, 2013Does anybody solve that problem with sit ?
-
View User Profile
-
Send Message
Posted Jul 26, 2013Epic Plugin
-
View User Profile
-
Send Message
Posted Jul 25, 2013I have no idea why this is happening but here is the Java error.
13:21:32 [SEVERE] Could not pass event PlayerMoveEvent to Chairs v3.0.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 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 net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:229) at net.minecraft.server.v1_6_R2.Packet10Flying.handle(SourceFile:136) at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:118) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.IllegalArgumentException: Cannot measure distance between NewSurvival and world at org.bukkit.Location.distanceSquared(Location.java:381) at org.bukkit.Location.distance(Location.java:364) at com.cnaude.chairs.EventListener.onPlayerMoveEvent(EventListener.java:55) at sun.reflect.GeneratedMethodAccessor37.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:425) ... 14 more
-
View User Profile
-
Send Message
Posted Jul 24, 2013@Richardarkless
Actually it happens on 2812 as well, because this is what we use on our server. The only thing is that it wouldn't reset their position back to spawn and just kept kicking them every time they tried to log on. Disabling Chairs for now.
-
View User Profile
-
Send Message
Posted Jul 24, 2013@cnaude
Is there no way Protocollib can solve this for you if you suggested a feature? Using minecarts isn't really ideal either as on large servers they often get wiped too.
Anyway good luck!
-
View User Profile
-
Send Message
Posted Jul 24, 2013When I try to sit, It crashes my client and in console tells me this SEVERE AlanGreyjoy was caught trying to crash the server with an invalid position.
What am I doing wrong?