[MECH] CraftBook - Redstone bridges, gates, minecarts, ICs, more [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by sk89q, Feb 27, 2011.

  1. Offline

    sk89q

    CraftBook adds a number of original gameplay elements to Minecraft from switchable bridges to elevators to gates (including flood gates)! It also has redstone support, allowing you to wire up pumpkins and use integrated circuits!

    Some cool stuff people made last year:




    Features:
    • Mechanisms
      • Bridges
      • Doors *not yet ported*
      • Gates
      • Elevators
      • Cauldrons
      • Light switches
      • Readable bookshelves
      • Toggle areas (advanced toggle doors and bridges)
      • Hidden switches
      • Custom block drops
      • Apple tree drops
      • Bookshelf drops
      • MORE!
    • Redstone
      • Integrated circuits
      • Programmable logic chips
      • Redstone pumpkins
      • Redstone netherstone
      • Ammeter
      • MORE!
    • Minecart features
      • Booster blocks
      • Brake blocks
      • Reverse blocks
      • Ejector blocks
      • Chest-storage minecart transfer blocks
      • Station blocks
      • Sort blocks
      • Message announcer block
      • Minecart dispensers
      • Change minecart behavior
      • MORE!
    Download

    CraftBook is being developed again, although by someone else. Get the latest downloads here: http://dev.bukkit.org/server-mods/craftbook/

    [​IMG] (CraftBook is open source!)
     
    kazeen, dragon8510, Jaein and 45 others like this.
  2. Offline

    cam198

    Hey, I've run into some minor problems on my server with the bridges that Craftbook has. They toggle out and in fine, but after about an hour of gameplay, I go to try to toggle it and it stops working and all the other Craftbook bridges on our server stop working. The plugins that I'm currently running are: Worldedit, Worldguard, InfChests, and MyHome.
    If you guys have any suggestions as to some ways I could get this working, then that'd be awesome. Thanks.
     
  3. Offline

    Rilly

    Hi - i just installed the plugin, worldedit is in the root folder. I don't get any errors when loading, and it says everything has loaded. Using 531 build.
    I'm trying to make the redstone pumpkin like here http://craftbook.sk89q.com/wiki/Redstone_pumpkins except putting the redstone behind the wall outside. When i flip the switch, the pumpkin just turns around and faces toward the redstone, but doesn't light up or anything. Am I doing something wrong, or does this mean the plugin isn't working?

    edit: Actually.. it is lighting up, but it keeps turning around on first flick, but won't turn back. I tried putting it in backwards, that then it just didn't turn around
     
  4. Offline

    SkyFlyer

    Can i only turn of the book feature ?
    I want the Gate feature and so on but i dont want the book feature...

    mfg SkyFlyer
     
  5. Offline

    evangds

    not yet.

    soon(tm)
     
    SkyFlyer likes this.
  6. Offline

    Xemnas33

    It's a known problem I remember seeing a fix for it back in the hmod version but for now you have to put it on the other side so it flips around to face the area you want.
     
  7. Offline

    Rilly

    Thats the thing.. it doesn't flip when i put it on the other side.. its weird.. its like it HAS to face the redstone wiring. Not a big deal though..
     
  8. Offline

    cam198

    Here's what I got when I tried to work the bridge and it didn't work:
    Code:
    10:49:09 [SEVERE] Could not pass event REDSTONE_CHANGE to CraftBookMechanisms
    java.lang.NullPointerException
            at org.bukkit.craftbukkit.block.CraftSign.getLines(CraftSign.java:20)
            at com.sk89q.craftbook.mech.Bridge.<init>(Bridge.java:121)
            at com.sk89q.craftbook.mech.Bridge.<init>(Bridge.java:39)
            at com.sk89q.craftbook.mech.Bridge$Factory.detect(Bridge.java:66)
            at com.sk89q.craftbook.mech.Bridge$Factory.detect(Bridge.java:40)
            at com.sk89q.craftbook.MechanicManager.detect(MechanicManager.java:201)
            at com.sk89q.craftbook.MechanicManager.load(MechanicManager.java:171)
            at com.sk89q.craftbook.MechanicManager.dispatchBlockRedstoneChange(Mecha
    nicManager.java:135)
            at com.sk89q.craftbook.bukkit.MechanicListenerAdapter$MechanicBlockListe
    ner.handleDirectWireInput(MechanicListenerAdapter.java:239)
            at com.sk89q.craftbook.bukkit.MechanicListenerAdapter$MechanicBlockListe
    ner.onBlockRedstoneChange(MechanicListenerAdapter.java:210)
            at org.bukkit.plugin.java.JavaPluginLoader$28.execute(JavaPluginLoader.j
    ava:299)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
            at net.minecraft.server.BlockRedstoneTorch.a(BlockRedstoneTorch.java:104
    )
            at net.minecraft.server.World.h(World.java:1503)
            at net.minecraft.server.World.g(World.java:1434)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:348)
    Your feedback would be greatly appreciated :D
     
  9. Offline

    Jessicadawn

    Does the [Bridge] and the [Bridge End] UNDER the bridge?
     
  10. Offline

    madlymonkey

    Are the ICs out? It says they are working in the CraftBook title. If they are, how can i get it?
     
  11. Offline

    Triggjo2

    How do i speperate book text
     
  12. Offline

    ThePilotGuy

    Great Plugin!
    Quick question:
    Light switches will not work. I have done exactly what the wiki said to create them, and lights won't turn off.
     
  13. Offline

    Triggjo2

    you need to use pumpkins not jack o lanters
     
  14. Offline

    Noctis Akatsuki

    Would be nice to get a config file so that I can change what materials I can use to make a bridge. Since most of the bridges atm on my server(traps), is from stone and not cobblestone(Stone doesnt work now it seems.)
     
  15. Offline

    sk89q

    You can pop into #craftbook in Espernet if you want to play with ICs.
     
  16. Offline

    cam198

    It sure does.
     
  17. Offline

    Xemnas33

    Is your sign below a torch? Does the sign have on the second line? Afaik [|] doesn't work well it didn't when I tried it a while ago.
     
  18. Offline

    Julzso23

    Code:
    12:20:37 [INFO] Starting minecraft server version Beta 1.3
    12:20:37 [INFO] Loading properties
    12:20:37 [INFO] Starting Minecraft server on *:25565
    12:20:37 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-502-
    ge211472-b517jnks (MC: 1.3)
    12:20:37 [INFO] Preparing level "world"
    12:20:37 [INFO] Preparing start region
    12:20:38 [INFO] Preparing spawn area: 85%
    12:20:39 [INFO] CraftBookCommon 3.0-alpha1 enabled.
    12:20:39 [INFO] CraftBookCircuits 3.0-alpha1 enabled.
    12:20:39 [INFO] CraftBookCircuits: Default configuration file written: custom-ic
    s.txt
    12:20:39 [SEVERE] com/sk89q/worldedit/Vector loading CraftBookCircuits v3.0-alph
    a1 (Is it up to date?)
    java.lang.NoClassDefFoundError: com/sk89q/worldedit/Vector
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClassCond(Unknown Source)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$000(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:30)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at com.sk89q.craftbook.bukkit.MechanicListenerAdapter.register(MechanicL
    istenerAdapter.java:66)
            at com.sk89q.craftbook.bukkit.CircuitsPlugin.onEnable(CircuitsPlugin.jav
    a:51)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:451)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:217)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassNotFoundException: com.sk89q.worldedit.Vector
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:30)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 24 more
    12:20:39 [INFO] CraftBookMechanisms 3.0-alpha1 enabled.
    12:20:39 [INFO] CraftBookMechanisms: Default configuration file written: books.t
    xt
    12:20:39 [INFO] CraftBookMechanisms: Default configuration file written: cauldro
    n-recipes.txt
    12:20:39 [SEVERE] com/sk89q/worldedit/Vector loading CraftBookMechanisms v3.0-al
    pha1 (Is it up to date?)
    java.lang.NoClassDefFoundError: com/sk89q/worldedit/Vector
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClassCond(Unknown Source)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$000(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:30)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at com.sk89q.craftbook.bukkit.MechanicListenerAdapter.register(MechanicL
    istenerAdapter.java:66)
            at com.sk89q.craftbook.bukkit.MechanismsPlugin.onEnable(MechanismsPlugin
    .java:57)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:451)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:217)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassNotFoundException: com.sk89q.worldedit.Vector
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:30)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 24 more
    12:20:39 [INFO] CraftBookVehicles 3.0-alpha1 enabled.
    12:20:39 [INFO] CraftBookVehicles: Default configuration file written: config.ym
    l
    12:20:39 [INFO] DefaultCommands 1.6.9 is enabled. Using OP-version.
    12:20:39 [WARNING] Bukkit version is not the recommended build for Essentials.
    12:20:39 [INFO] Loaded Essentials build 2.0.295 maintained by Zenexer, ementalo,
     Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    12:20:39 [INFO] Loaded EssentialsChat build 2.0.295 by Zenexer, ementalo, Aelux,
     Brettflan, KimKandor, snowleo and ceulemans.
    12:20:40 [INFO] Loaded EssentialsProtect build 2.0.295 maintained by Zenexer, em
    entalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    12:20:40 [INFO] EssentialsServerlist version 2.0.295 by Vimae Development enable
    d.
    12:20:40 [INFO] Loaded EssentialsSpawn build 2.0.295 maintained by Zenexer, emen
    talo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    12:20:40 [INFO] MoveCraft 0.6.8 plugin enabled
    12:20:40 [INFO] Done (0.332s)! For help, type "help" or "?"
     
  19. Offline

    hash

    Dude. Look at the first line of the error. You don't have to know a thing about java or be a genius to pick out keywords -- the one to note here is "worldedit".

    You didn't read any of the documentation that clearly states that WorldEdit is a dependency for Craftbook, did you.
     
  20. Offline

    Taksioras

    Plz i need more explanation it doesnt work for me ;(
     
  21. Offline

    Julzso23

    how am I suposed to know anything about this when this page is not descriptive at all
     
  22. Offline

    hash

    ...

    I just looked into cam198's bug and it as best as I can tell we're looking at a craftbukkit bug here, and it appears to be stemming from some shaky chunk caching that's still going on in fairly recent builds (516 in this case) -- the bug starts on line 16 of CraftSign where the construction of the CraftSign object is demanding a TileEntity object from the world, and it's getting a null because a cache that's out of date is having a mismatch with the up-to-date world.

    I'm pretty sure the underlying bug was reported here http://leaky.bukkit.org/issues/553 and that it's now fixed in craftbukkit 552. (Pretty sure :/ )

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 10, 2016
  23. Offline

    Ghostetr

    hello there i know i'm not the only to report this but....
    the config file dont seem to be generated
    so would it like work if i used the config file from craftbook-hmod with this one or do i just have to wait for next update??
     
  24. Offline

    ThePilotGuy

    Yes and Yes
     
  25. Offline

    Thorned Rose

    ↓ ↓ ↓ ↓​
    - http://blog.craftbook.sk89q.com
     
  26. Offline

    SpeedyDawg

    I believe that the doors are not working. Any idea why?
     
  27. Offline

    pagan0ne

    Ok guys, hopefully this will stop a lot of these repeat questions (i doubt it though)
    At this time (march 18th 2011) Craftbook is currently in Alpha 1, Alpha 2 is due out SOON (no ETA, just when its ready)

    Currently in Alpha 1 Most minecart control features DO NOT work.

    Currently in Alpha 1 IC's DO NOT work

    Currently in Alpha 1 Doors DO NOT work

    Currently in Alpha 1 Gates DO work

    Currently in Alpha 1 Bridges DO work

    Currently in Alpha 1 there ARE NOT any configuration files in /plugins/CraftBook

    Currently in Alpha 1 YOU CAN use Minecart Mania, so long as you remove CraftbookVehicles.jar


    -edit-:

    if you want IC's join #CraftBook on irc.esper.net and check out a Dev build!

    *or*


    Also for those of you who want IC's now, FalseBook has a independent implementation of IC's, however CraftBook 3.0 when its released will support many more IC's than are currently available. Please dont ask for support for FalseBook in this thread as it is not supported by sk89q!

    -/edit-

    Planned in Alpha 2 (not yet released!):

    Configuration files in /plugins/Craftbook (probably)

    Some Working IC's (probably all, however i can promise SOME will work)

    As well as all current WORKING features
     
  28. Offline

    anon

    So.... you will release ICs before permission support? That doesnt make sense, will open a huge exploit on servers that are not familiar of the powers of the ICs. People will install it just because something new was added, even thou they do not know ics, users know ics, shit happens.
     
  29. Offline

    pagan0ne

    they may not release exploitable IC's, ie stuff that may cause server issues...., or they may include permissions support for IC's before it is released. Either way you look at it, it really is the server admin's job to know, test, and understand any plugins they install....
     
  30. Offline

    SpeedyDawg

    Gotcha.. ok thanks didn't really read entire post soo sorry if it was a repeat question
     
  31. Offline

    Strebelschneck

    Hello, I'm stupid.​
    I got this gate, which you can open with a lever on each side (both levers are connected to 1 shield). It works well, but i got this problem:​
    I want the Gate to trigger EVERYTIME someone pulls one of the levers.​
    So far it's like this: When the gate is open and only 1 lever is activated, it doesn't close when you activate the other lever. So you gotte press the lever 2 times, to trigger the gate. How can I avoid this? My people already stopped to close gates cause they got annoyed by having to press the lever 2 times.​
    I bet the solution is really simple, but I'm too stupid.​
     

Share This Page