CraftBook 4


That's really odd, I can't reproduce the issue. I'll look into it tomorrow


OK, thanks. That will be great from you.


Elevator and Pipe are working for me now - Door and Bridge do not. Haven't tried anything else yet

Sponge dev. 651


Door and Bridge are enabled in the config file?


Yep, same problems on dev 1515 - 655


The same problem on 671.


@me4502 hi there, unfortunately, elevator and gate aren't working with 677 or 678 - haven't tried anything else yet. There is nothing obvious in the log either .... Anyway, off to watch some rugger ... :sunglasses:


Gate, Door, Bridge not working on Sponge 1.8-1515-2.1DEV-688
(OS Ubuntu, Java 8, plugins: PEX, EssentialSponge, AdminShop, Kits, TotalEconomy)
1. Door:
2. Gate:
3. etc...


CB is working well again. Thanks, pal :+1:


Will we see an update for this project for the latest version of SpongeForge?


Yeah, I'll do it later today. I didn't realise it broke.


It's still erroring out, this is the error:

[15:15:22] [Server thread/ERROR] [Sponge]: Could not pass FMLServerStartedEvent to Plugin{id=CraftBook, name=CraftBook, version=4.0}
java.lang.NoSuchMethodError: org.spongepowered.api.Game.getEventManager()Lorg/spongepowered/api/service/event/EventManager;

When attempting to load any of the enabled mechanics. In this instance it's TreeLopper; last time it was Door.


Fixed now, thanks for reporting.


Thanks! If you'd like some help maintaining/developing, I'd love to learn Java.


This plugin needs updating for Sponge's new Text III API, also there is some sort of memory leak that happens after playing with too many people or for too long, plus Craftbook throws errors left and right when doing that. I took this mod off my server about a week back because of that, but if you get it updated I'll load it again and I can give you all sorts of bug reports!


I've already updated it for text API 3, are you able to give me the errors thrown?


I'll do that as soon as I get home tonight! I was waiting on one more mod to update to the new API until I restart my server, but it's no worry.

EDIT: The log is giant so I sent it to your email address as an attachment


I've fixed the error you sent via email in this SpongeCommon commit,


Most errors are gone as of that last commit! Sometimes these still happen:

[18:32:28] [Server thread/ERROR] [Sponge]: Could not pass ChangeBlockEvent$Break$Impl to Plugin{id=CraftBook, name=CraftBook, version=4.0}
        at org.spongepowered.common.block.SpongeBlockSnapshot.get( ~[SpongeBlockSnapshot.class:1.8-1577-3.1.0-BETA-1016]
        at com.sk89q.craftbook.sponge.mechanics.TreeLopper.lambda$onBlockBreak$5( ~[TreeLopper.class:?]
        at java.lang.Iterable.forEach( ~[?:1.8.0_66]
        at com.sk89q.craftbook.sponge.mechanics.TreeLopper.onBlockBreak( ~[TreeLopper.class:?]
        at org.spongepowered.common.event.listener.BreakListener_TreeLopper_onBlockBreak74.handle(Unknown Source) ~[?:?]
        at org.spongepowered.common.event.RegisteredListener.handle( ~[RegisteredListener.class:1.8-1577-3.1.0-BETA-1016]
        at [SpongeModEventManager.class:1.8-1577-3.1.0-BETA-1016]
        at org.spongepowered.mod.event.SpongeModEventManager.postBulk( [SpongeModEventManager.class:1.8-1577-3.1.0-BETA-1016]
        at [SpongeModEventManager.class:1.8-1577-3.1.0-BETA-1016]
        at [SpongeModEventManager.class:1.8-1577-3.1.0-BETA-1016]
        at org.spongepowered.common.SpongeImpl.postEvent( [SpongeImpl.class:1.8-1577-3.1.0-BETA-1016]
        at [aqu.class:?]
        at$1.onProcessPacket(SourceFile:112) [ih.class:?]
        at$ [ih.class:?]
        at java.util.concurrent.Executors$ [?:1.8.0_66]
        at [?:1.8.0_66]
        at net.minecraftforge.fml.common.FMLCommonHandler.callFuture( [FMLCommonHandler.class:?]
        at net.minecraft.server.MinecraftServer.func_71190_q( [MinecraftServer.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q( [po.class:?]
        at net.minecraft.server.MinecraftServer.func_71217_p( [MinecraftServer.class:?]
        at [MinecraftServer.class:?]
        at [?:1.8.0_66]


Hi, can you envisage adding pipes in the future? That would really be a treat .... :grinning: