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

    Timberjaw

    Mine looks like this:
    Code:
    @echo off
    start /b javaw -Xincgc -Xmx1G -jar crafty.jar "-nojline"
    You probably don't have your bin folder on your windows PATH.

    1. Go to Control Panel -> System
    2. Click on 'Advanced System Settings' on the left
    3. Click on 'Environment Variables' at the bottom
    4. Scroll down the 'System Variables' list until you find 'PATH'
    5. Click on PATH, then click on 'Edit...' below
    6. At the end of the text, add a semicolon
    7. After the semicolon, add C:\Program Files (x86)\Java\jre6\bin
    8. Click OK, OK, OK (you should be back at the Control Panel)
    9. Reboot
    10. Open a command prompt window (Start -> Run -> cmd.exe)
    11. Run this command: java -version (you should see something like "java version 1.6.0_22")
    12. If step 11 worked, reset your crafty.bat file to the default one included in the zip file and try to run Crafty
     
  2. Offline

    Celtic Minstrel

     
    Last edited by a moderator: Feb 23, 2019
  3. Offline

    Timberjaw

    Well spotted. That could indeed be the problem.

    By the way, on my system (Vista x64) at least, the quotes/no-quotes issue does actually make a difference (unfortunately).
     
  4. Offline

    LibertasMens

    I am semi-familiar with java, and after tweaking just about everything I could with crafty.bat, I am always returned an error stating something like "Could not find the main class: com.aranai.crafty.Crafty"
     
  5. Offline

    ACStache

    I originally had that same error, but my craftbukkit.jar was named something like craftbukkit-SNAPSHOT-0.0.1.jar or something like that. rename it to craftbukkit.jar and it may work. if that's not the case then idk what's wrong
     
  6. Offline

    LibertasMens

    Yeah... I've found the same thing... Why would crafty.jar point to a name which is not currently used for bukkit?
     
  7. Offline

    ACStache

    not sure, I just changed it to craftbukkit.jar anyways and off I went :)
     
  8. Offline

    uber141

    Oh, I see. Upon following the directions, I mistakenly thought I actually had to name it craftbukkit.jar but now that I've looked at it, I now notice it is already a .jar file. Thus naming it craftbukkit.jar would be problematic. :D
    I'll try doing what you said to do regarding adding my bin to the PATH, TimberJaw.
     
  9. Offline

    Celtic Minstrel

    Yes and no. You have file extensions hidden, so what Windows shows as the name of the file is not its full name. If it shows "craftbukkit", and says it's a JAR file, then its actual full name is craftbukkit.jar. So, you do have to name it craftbukkit.jar. However, when you change the name, Windows doesn't let you change the file extension, so if you try to rename it to xyz, Windows really renames it xyz.jar, and if you try to rename it craftbukkit.jar, Windows instead renames it craftbukkit.jar.jar. Thus, if you have file extensions hidden, you need to make sure the displayed name is craftbukkit, with no file extension.

    Or you could just find and turn off the setting to hide file extensions.
     
  10. Offline

    uber141

    Alright, step 11 worked. Thanks for your help so far! :D

    I hate to ask this, I sound like a noob haha. But do you by chance know the default .bat (like, what it said) for Crafty?
     
  11. Offline

    ACStache

    mine says:
    @echo off
    start /b javaw -Xincgc -Xmx1G -jar crafty.jar

    I don't recall if I had changed it or not.
     
  12. Offline

    uber141

    It worked! :D

    However, could anybody tell me what the appropriate way is to update your server's craftbukkit? For one, I'm not sure which build I downloaded, and two, I wanted to add this Big Brother plug-in but it said I needed build 928 or up for the latest version.

    Any help on this would be appreciated, and thanks for your assistance,Timberjaw! Really goes to show how much you care for your customers when you help them directly like this. ;)
     
  13. Offline

    ACStache

    @uber141 when you start your server up, one of the first lines you'll see is something along these lines:
    Code:
    [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-892-ga9ddbaa-b935jnks (MC: 1.6.6)
                                                                                      ^
                                                                 this part tells you what CB build you're on
    
    in my example, that part says b935jnks, and I'm on Craftbukkit build 935, which is also the latest recommended build
     
  14. Offline

    uber141

    That's odd. I too am on Build 935.

    I'm confused as to why when I download plug-ins (such as the Big Brother one I mentioned) and add it to the plugins folder it doesn't work. Do I have to add it to the plugins folder and then re-run the server? Or am I doing something wrong, or is it all determined on the plugin?
     
  15. Offline

    ACStache

    normally yes, you have to restart the server once you add new plugins into the plugins folder, they don't auto run. there's a process when the server is booting up that loads all the plugins, you can't really do it midway.

    actually... you could try typing 'reload' (with no quotes) into the console and see if it launches it.
     
  16. Offline

    uber141

    Okay, I'll redownload it now knowing I have the correct build, and see what happens upon typing reload or retarting the server. Another question I had was what is all this nonsense about MySQL Library? Almost every plug-in uses it or requires it one way or another, but I have not a single clue as to what it is, what it does, where to put it, etc.
     
  17. Offline

    ACStache

    I haven't played with it much, most plugins have an option to use it but don't require it. I know plugins like Permissions, MyHome and MyWarp all can use it, but you're not required to do so. MySQL is essentially just a database, but I've no clue how to set it up/manipulate it/anything. Supposedly it makes for a much more stable (and faster) plugin use vs YML format
     
  18. Offline

    uber141

    Do you know of any programs that can open .yml files?
     
  19. Offline

    LibertasMens

    Most yaml files can be opened using a basic text editor, but I use Adobe Dreamweaver.
     
  20. Offline

    uber141

    Would something like Microsoft Windows 2007 work?
     
  21. Offline

    ACStache

    personally have been using Notepad++ (it's a free download)
    it's pretty useful, but so is Dreamweaver if you've got access to it :D
     
  22. Offline

    Celtic Minstrel

    Even Notepad would do in a pinch.
     
  23. Offline

    uber141

    Ugh, this is so aggravating. Kind of really off topic considering this is talking about a totally different plugin here, but in order to run Permissions plugin I need something to run a .yaml. Notepad doesn't work, but is there a different between Notepad and Notepad++?

    I know it doesn't work because the file I'm opening in an attempt to edit persmission looks like this: []

    That's all there is. However in the tutorial video I'm watching on this Permissions plugin, his has all this stuff about Admins, Moderators, Whitelist, Non-registered, etc. Then below these there are spaces to put usernames into. So without access to this, everybody can't break/place blocks or anything.

    So in short, all I need is a program that can open .yaml without issues.

    EDIT: Luckily I was able to put the video into 720p, Fullscreen and could make out what program he was using. I opened the files with WordPad, and that solved my problem. Thanks everybody! :D
     
  24. Offline

    Celtic Minstrel

    Notepad does work, but it has issues with line endings, so it might make it look like everything is on one line. Notepad++ is a completely different program, but WordPad is just fine.
     
  25. Offline

    Timberjaw

    That looks like the 0.7.3 default (unchanged). Note that the .bat changed in 0.7.4, however.
     
  26. Offline

    ACStache

    oh, wow I feel blind. I suppose I should update then :p haha
     
  27. Offline

    chips700

    can someone write an OS X shell script for this please, or just say what i need to add...
    #!/bin/bash
    # Server Startup
    java-Xincgc-Xmx1G-jar crafty.jar
     
  28. Offline

    noahwhygodwhy

    [​IMG]
    any ideas?
     
  29. Offline

    Celtic Minstrel

    The only thing I can think of is maybe the download was incomplete...
     
  30. Offline

    Timberjaw

    @noahwhygodwhy You're launching this with the included .bat file?

    Is craftbukkit.jar in the same folder?
     
Thread Status:
Not open for further replies.

Share This Page