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

    Fo0lz

    Hi, this plug-in is excellent, exactly what I was looking for. But, I have a few questions:
    1) When you say to "point" the bat file to javaw, how exactly do you do this?
    2) I tried out the method of GamerX, but the "save and exit" button does not work, and I cannot stop the server.
    Thanks in advance!
     
  2. Offline

    GamerX

    try to change java.exe to javaw.exe
     
  3. Offline

    gdscei

    I have an issue as where I minimize it and leave it for a certain long time, when i click on the icon again it randomly closes?
     
  4. Offline

    Robby Stolle

    Will this work in combination with the bukkit updater plugin?
     
  5. Offline

    Bakuhatsu

    My server log get blank pretty instantly after startup in the GUI, no idea if a plugin might effect it. I see all the load up stuff and a bit of chat then 5min or so, poof.

    Using: RedstoneSponge, HeroicDeath, Permissions, ProtectedDoors, Lockette, iWatch, LoginMessage, Persistence, TreeHugger, PlayersOnline, multiplehomes
     
  6. Offline

    Timberjaw

    @Bakuhatsu Check your server log file and see if there are any errors in it, just in case. The only thing I'm aware of that can cause the log output to go blank is if one of Crafty's threads dies unexpectedly, though. I haven't seen this happen in the latest version.

    I'll be adding a log file for Crafty soon to hopefully catch this sort of thing.
    --- merged: Feb 16, 2011 2:15 AM ---
    I don't see why not, but I haven't tried it. Crafty shouldn't interfere with the operation of any plugins.
     
  7. Offline

    Bakuhatsu

    @Timberjaw
    A reload log button or command maybe could be useful? Making the program re-read the logfile. Oh, and there is no errors.

    Also, a thing I want to request. When you do .crafy Restart, could you fix so people on the server get autokicked instead of having to wonder what happened before they time out almost a minute later?

    And... i wonder another thing... if having etc a database plugin, as this example Persistence and SQLite.. could the exit command also execute a "/persist save" to save the database before exit?
     
  8. Offline

    Timberjaw

    @Bakuhatsu If the log disappears, it's likely that something internal in Crafty or the server has broken. I'll need to diagnose that issue; attempting to recover from it without knowing what the problem is could cause further issues.

    Re: restart: autokick seems like a good idea.

    Re: databases: why would these not be saving themselves? If there's a problem with databases not saving, that would be a problem with regular CraftBukkit as well, and a flaw in the design of those plugins.

    In any case, I'm very wary of incorporating any functionality into Crafty that deals with specific plugins. Plugins should be written to work properly within the constraints of CraftBukkit, not the other way around.
     
  9. Offline

    Bakuhatsu

    Another idea just because~

    What about if an inbuilt backup option that can be set with a timer for easy automatic updates and no need of extra programs? And maybe even if a timer function, a timer for automatic restarts.
     
  10. Offline

    Jamie7996

    didn't work, It's sys32 now BTW
     
  11. Offline

    Timberjaw

    @Jamie7996 What's sys32 now?

    Java installation path may vary significantly from system to system. The .bat included with Crafty references the default location Java installed to on my Vista x64 machine. The end user will have to verify the correct location when using Crafty.
     
  12. Offline

    QQCucumber

    There seems to be a bug with Crafty 0.6 where the console scrolls all the way back to the top whenever something adds a new line. It doesn't reset for the warning that it can't keep up it seems, but almost everything else seems to make it happen.

    I'm not sure what triggers this behavior, but if I had to guess, it's when the server log gets so long that it starts clipping it at the top.

    I'm on CentOS.
     
  13. Offline

    Reterg

    When I try to load tha BAT file I get a dialog window that says "Could not find the main class: com.aranai.crafty.Crafty. Program will exit"

    Any idea what the problem might be?

    When I run crafty from the command prompt I get this.

    C:\Games\Minecraft-bukkit\bin>java -jar crafty.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: joptsimple/OptionException
    Caused by: java.lang.ClassNotFoundException: joptsimple.OptionException
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    Could not find the main class: com.aranai.crafty.Crafty. Program will exit.

    It started after I was testing something by changing the bat file to just run craftbukkit.jar and then changed it back to crafty.jar. It even does it when I redownload the crafty jar and bat file from this forum.

    EDIT: Don't worry fixed it. My craftbukkit.jar had a space in it. [​IMG]. Silly me
     
  14. Offline

    acolite246

    Really cool and runs on Mac, too! Maybe you want to inclue a Mac Launcher, like this one, in further versions?
     
  15. Offline

    Daveyo

    ok, ive been puting up with it for a week or so, but this scrolling thing is driving me freakin nuts. It keeps putting the scroll bar all the way to the top. Some times it will just leave the scroll bar in the middle. Very rarely does it actually scroll. I am going to lose my mind!
     
  16. Offline

    Timberjaw

    I haven't been able to reproduce this. :( I've had my server running with Crafty v0.6 for several days and have not seen messed up scrolling. I saw it in v0.5 but not in v0.6.

    v0.7 will be out soon, perhaps that will help.
    --- merged: Feb 20, 2011 12:23 AM ---
    You're not the only one reporting this, but I haven't been able to reproduce it. I'm on Vista x64 though.

    It could also be something specific to a particular plugin (not that I'm trying to shift the blame; that just may be why I can't repro it).
    --- merged: Feb 20, 2011 12:24 AM ---
    What's the benefit of this over starting it with a shell script?
     
  17. Offline

    QQCucumber

    Well, it probably doesn't help that I'm using CentOS. I can't really test it on my test server because my test server doesn't have a GUI.
     
  18. Offline

    acolite246

    Mac users can't start shell scripts by double clicking them. A .command file is a shell script with a different name.

    If you're asking why you should include mine, I suggested it simply because it's easier for those who don't know their way around shell.

    BTW, is there anything I can help with interface-wise? I don't know a speck of Java, but I do have a mockup.
     
  19. Offline

    mrboese

    It's a really nice GUI, but can you add an commandline argument (or settings file) to choose the file name of CraftBukkit?
    To prevent problems, I always rename craftbukkit-snapshot.jar to craftbukkit-###.jar (###=build number), so I can select the last working CraftBukkit, if some plugins won't work anymore (A customizeable plugin folder would make it even better ...)
     
  20. Offline

    Jeb

    looks nice, ill have to try
     
  21. Offline

    br0ad456

    could you make it for mac because that would be sweet :D
     
  22. Offline

    acolite246

    It already works on Mac. Try this file I made
     
  23. Offline

    Timberjaw

    Regarding the scrolling issue: I was able to reproduce this recently after installing a whitelist plugin. My best guess so far is that it happens when a plugin uses System.out.print instead of a logger. Still working on a complete diagnosis and fix. Will release 0.7 when I get that figured out.

    0.7 will also have customizable text size.
     
  24. Offline

    GamerX

    Oyeah!
     
  25. Offline

    Timberjaw

    Found and fixed the port check issue for 0.7. Good news for anyone running multiple servers on a single machine or running MC on a non-default port.

    0.7 is working for the latest CB builds (421+) and Minecraft 1.3. I'll release it later tonight.

    The 'player give' feature is not going to make it into 0.7.

    I have not been able to reproduce the scrolling issue in 0.7. Either it's fixed, or very intermittent.
     
  26. Offline

    QQCucumber

    Did you not get it out in time? The download link in the OP is still 0.6.
     
  27. Offline

    Daveyo

    grown attached to this program so it's going to be painful going back to the old dos gui lol. Oh well, I suppose an update will come eventually
     
  28. Offline

    MultiAznGamer

    Hey, I Got an problem, This is really Nice, cool and all, but i downloaded it,unziped it to the folder where my server is, Ran the crafty.bat, i got an error messege saying "can't find javaw", i tried editing the java .bat script, notin :/, Can u help me?
     
  29. Offline

    GamerX

    Code:
    @echo off
    "%ProgramFiles(x86)%\Java\jre6\bin\javaw.exe" -Xms1024M -Xmx1024M -jar crafty.jar org.crafty.Crafty
    pause
     
  30. Offline

    Timberjaw

    Updated! v0.7 adds font size commands, fixes the server port bug, and hopefully addresses a few other issues like scrolling. Tested with CB 426 (Minecraft 1.3). Let me know if you encounter any problems; I've been running this on my 426 server for the last 12 hours without issue.

    I'm still taking feature suggestions; check the roadmap/wishlist in the OP before posting though. :)

    Big-ticket items for the next version are setting persistence (primarily for theme/font settings) and a Give menu for players.
    --- merged: Feb 23, 2011 11:37 PM ---
    Some info on usage for the new commands:

    .crafty font setsize 12.0 - Sets the font size to 12pt
    .crafty font increase - Increases the font size by 2pt
    .crafty font decrease - Decreases the font size by 2pt

    I'd like to reiterate that the theme and font support is currently considered experimental; thus the slightly kludgy way of manipulating them. This will be presented in a more accessible manner in the future (this is a GUI, after all!)
     
Thread Status:
Not open for further replies.

Share This Page