Closed dretax closed 4 years ago
Opening only works for metal doors at the moment. Some API needs to be updated to the current spigot version, but it seems fine now. Elevators v2.zip
How difficult would it be to re-enable glass doors? My whole server relies on elevators using doors of said material :D
I'll see to It, haven't checked It yet.
@tkf0 Update your config.
Following sections are important: blockList: IRON_BLOCK: 8 GOLD_BLOCK: 10 EMERALD_BLOCK: 12 DIAMOND_BLOCK: 15 LEGACY_STAINED_GLASS: 5 GLASS: 4
doorBlock: 'GLASS_PANE' # Material used for elevator block-doors.
Got the basics working but seen this error in log.
Error while loading config!
No enum constant org.bukkit.Material.STAINED_GLASS
@OverDhill
Thanks.... it is working great
@dretax I got it working! Thank you!
Would it be possible to fix the doors/glass panes not properly "connecting"/attaching to the adjacent blocks (stone here)?
Here's my current config:
blockList:
WHITE_WOOL: 12
IRON_BLOCK: 12
GLASS: 12
doorBlock: 'GLASS_PANE'
Also, while just a minor bug, there seems to be an encoding issue:
I noticed a bug that when the elevator is told to go to another floor, if you are using doors, then the doors open and close really quickly once. This seems to be causing lag for all players.
Interesting, I didn't get those encoding issues. I'll take a look at these soon.
Ahh I can't believe I didn't accept this pull forever ago, I thought I had. Anyhow someone convinced me to start playing Minecraft again, I'll have a look at it and see how it goes on 1.15.x
Well there seem to be a few issues getting it to compile for 1.15, however the pull is closer than it was before.
Unfortunately the formatting of the files is completely messed up, making diff-checking an absolute pain, so I expect it to take a few days to work through everything, however after I get things working I'll accept the pull and release a 1.15 version.
Let me know. I dropped MC again. xD
@Pecacheu If you don't mind i have done some refactoring. I am really suggesting your to switch to IntellIJ IDEA instead of Eclipse, and start using maven. (I can help you with that.)
Aside of that I have done fixes, but I haven't been able to create an elevator yet. Seems like the sign is remaining as "Error"