Inactive [ADMIN] Crafty v0.7.6 - Server GUI [1240]

Discussion in 'Bukkit Tools' started by Timberjaw, Feb 3, 2011.

Thread Status:
Not open for further replies.
  1. Offline


    What's even weirder is sometimes when I try to open the .bat file it'll open for a split second then make a windows error sound and close.
    The contents of the file look like this:
    @echo off
    start /b javaw -Xincgc -Xmx1G -jar crafty.jar "-nojline"
  2. Offline


    Im having a really weird issue, when I double-click the crafty.bat it gives me the error "Could not find the main class: com.aranai.crafty.Crafty. Program will exit" I have windows 7 64bit I also tried the different .bat that was posted by pyongyang99 and it gives the exact same error. Please help!
  3. Offline


    How did you manage to get the players and their status? I would love to know. :)
    Please answer, I was working on my own wrapper. :)
  4. Offline

    Celtic Minstrel

    Failed to bind to port could also mean that there's another instance of Minecraft that didn't shut down properly; in fact I'd suspect that's the most likely reason to get that error.
  5. Looks nice and clean :)
  6. Offline


    Preview Build
    Could use some testers on v0.7.6. I have two fixes:
    • Strips color codes (the "[0m" stuff)
    • Prevents auto-scrolling if you've manually scrolled up (a lot of people have asked for this)
    Give it a try, let me know if you run into trouble (in particular, weird viewport behavior or garbled output).

    Attached Files:

  7. Offline

    Celtic Minstrel

    Wouldn't it be better to interpret rather than strip colour codes?
  8. Offline


    Yes. That's a larger task though. In MC, you just interject a color code when you want it to change, like in IRC. In a JTextPane though, you have to select a specific region to style. So you need to parse the first color code in a line, then look for the next color code before you can finish coloring the first.

    Not an unmanageable task by any means, but a quick fix for garbled output in the meantime is better than nothing.
  9. Offline

    Celtic Minstrel

    It would be easier if you had an embedded terminal rather than a JTextPane. :p Then it would do all that for you.

    Also, it might help to replace the ColouredConsoleCommandSender in the CraftServer class with something else. Unless that's what you already did.
  10. Offline


    I have no idea how to do that, but I can google it later ;)

    I just search for the ESC code. The color codes come in as ESC[#m

    I've avoided mucking about in the CB internals as much as I can (Crafty already does too much of that). Right now I just take over the,System.out, and System.err streams before CB loads.
  11. Offline

    Celtic Minstrel

    I have no idea how to do it either. I don't even know if it's possible.

    True, but if you had a ConsoleComandSender that didn't convert the colours you'd be able to just search for the ยง character instead. :p I guess it's not much of a difference though.
  12. Offline


    source??? :D
  13. Offline


  14. Offline


    @Timberjaw When can i use it on Minecraft 1.8?:oops:
  15. Offline


    @CrazyBoman You already can, it has got no issues running on 1.8, the only issue that remains is if using Ubuntu and doing the .crafty restart command which calls a default startscript instead of the custom one.
  16. Offline


    can you please help me =)? what shuld i do to make it work? when i try to connect it yust says "outdated"...:eek:
  17. Offline


    @CrazyBoman You need to either download a newer craftbukkit.jar or update your Minecraft.
  18. Offline


    where do i downlad the new craftbukkit.jar?
  19. Offline


  20. Offline


    @Timberjaw @Bakuhatsu are you guys useing the "Crafty server"?[sheep]

    @Timberjaw Thanks!

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


    how do i add more ram? i use the jar file, i tried editing the batch file and using the code-

    @echo off
    Java -Xms1024M -Xmx1024M -jar craftbukkit.jar

    and it says " java is not recognized as an internal or external command ", the server lags so i would love to allocate more RAM, i have 4GB available and wold like to use 2GB as i always do when i use minecrafts provided server, thanks for any advice in advance!
  22. Offline


    @BJonez21 Go back to the original batch file (if it was working ok for you) and change -Xmx1024M to -Xmx2G
  23. Offline


    19:56:06 [SEVERE] Received string length longer than maximum allowed (18 > 16)
    19:56:06 [SEVERE] at net.minecraft.server.Packet.a(
    19:56:06 [SEVERE] at net.minecraft.server.Packet1Login.a(SourceFile:38)
    19:56:06 [SEVERE] at net.minecraft.server.Packet.a(
    19:56:06 [SEVERE] at net.minecraft.server.NetworkManager.h(
    19:56:06 [SEVERE] at net.minecraft.server.NetworkManager.c(
    19:56:06 [SEVERE] at
    19:56:06 [INFO] / lost connection

  24. Offline


    @Jow2009 Looks like an issue with the server itself, not Crafty.
  25. Offline


    Crafty doesn't work with later dev builds.
  26. Offline


  27. Offline


    No, 1.8 ones, sometime after 1213, I know 1228 doesn't work with crafty but works without. Also... the error about server.log seem to be an issue in Ubuntu 11.04 which has existed for long.

    [SEVERE] Unexpected exception
        at net.minecraft.server.StatisticList.<clinit>(SourceFile:65)
        at net.minecraft.server.Item.<clinit>(SourceFile:212)
        at net.minecraft.server.Block.<clinit>(
        at net.minecraft.server.BiomeBase.<init>(SourceFile:33)
        at net.minecraft.server.BiomeOcean.<init>(SourceFile:6)
        at net.minecraft.server.BiomeBase.<clinit>(SourceFile:17)
        at net.minecraft.server.WorldChunkManager.<init>(SourceFile:22)
        at net.minecraft.server.WorldChunkManager.<init>(SourceFile:28)
        at net.minecraft.server.WorldProvider.a(SourceFile:38)
        at net.minecraft.server.WorldProvider.a(SourceFile:25)
        at net.minecraft.server.World.<init>(
        at net.minecraft.server.WorldServer.<init>(
        at net.minecraft.server.MinecraftServer.a(
        at net.minecraft.server.MinecraftServer.init(
    Caused by: java.lang.NullPointerException
        at net.minecraft.server.ItemStack.b(
        at net.minecraft.server.ItemStack.<init>(
        at net.minecraft.server.ItemStack.<init>(
        at net.minecraft.server.ItemStack.<init>(
        at net.minecraft.server.Achievement.<init>(SourceFile:21)
        at net.minecraft.server.AchievementList.<clinit>(SourceFile:21)
        ... 16 more
    Sep 30, 2011 10:49:08 PM com.aranai.crafty.Crafty prepAndPrintText
    ALL: 22:49:08 [SEVERE] null Input/output error
        at Method)
        at jline.ConsoleReader.readLine(
        at jline.ConsoleReader.readLine(
    Sep 30, 2011 10:49:12 PM com.aranai.crafty.Crafty startServer
    ALL: Using JLine: NO
    Sep 30, 2011 10:49:12 PM com.aranai.crafty.Crafty prepAndPrintText
    ALL: 22:49:12 [WARNING] Failed to log to server.log
        at net.minecraft.server.ConsoleLogManager.init(
        at net.minecraft.server.MinecraftServer.init(
  28. Offline


    @Bakuhatsu I'll take a look at it tomorrow. Thanks for the log.
  29. Offline


    @Timberjaw In case you haven't looked into it or found any solution yet, it's either the #1215 or #1216 build that breaks craftbukkit. Likely the 1216 one as the 1215 is flagged as red. And I would say 1216 because of tons of modifications in server related files.
  30. Offline

    Snow Leopard

    Crafty definitely needs updating for CB 1240.
Thread Status:
Not open for further replies.

Share This Page