Other players unable to join

Discussion in 'Bukkit Help' started by Todd794, Aug 26, 2011.

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

    Todd794

  2. Offline

    hammale

    Can I have your server.log and server.properties? This smells like a port forwarding error to me though, did the server ip change? Did you give your friends your Public IP or the internal ip? LOCALHOST IS AN INSIDE ADDRESS :p
     
  3. Offline

    AwesomeGaming

    I have teh same problem. Bump!
     
  4. Offline

    Retricide

    @Todd794

    Please post your Start.bat's contents.
     
  5. Offline

    MagikarpLOL123

    Try DynDns.
     
    Sketaful likes this.
  6. Offline

    Retricide

    @Todd794

    Right click the .bat and click "edit." Select your favorite text editor, to edit it, and paste the code here.

    Also, your problem doesn't seem to be IP related, if what you said in your first post is true, so DynDNS won't be the solution, though it is a nice feature. It's what's called a static Ip. That means it will never change, so it'll always point to your dynamic, or changing, IP address. Don't worry about it now though.
     
  7. Offline

    Mapatti

    Is your router port forwarded properly?
     
  8. Offline

    Retricide

    @Todd794

    I solved a very similar problem with someone else, yesterday, by changing the startup script.
    I'll post the script later, once I get home, but for now look at Server Remote Toolkit. It has a ton of features, which I use, but it starts your server differently, with a different script.
    If you don't want to use a server wrapper, I can post the code we used to resolve the problem, but it'll have to wait until later.

    Cheers
     
  9. Offline

    thejayhill

    Ok sometimes this happens to me maybe ur ipv4 address changed
    you may need to re portforward
    go to commandprompt
    then type ipconfig and look for the ipv4address
     
  10. Offline

    micah-catman

    hey im haveing the same trouble with my bukkit server ecxept i didnt use the minecraft server.exe i just used the craftbukkit starter.bat
     
  11. Offline

    zaxwas21

    @Retricide

    I have been having this exact same problem, and i have been trying to fix it for almost two weeks. Can you post the script?
     
  12. Offline

    bugolf

    Can you please post the script I want to use bukkit but I get the same problem as Todd794
     
  13. Offline

    Retricide

    I'm not sure if this will work you for guys.
    I tweaked it best I could, but i'm still a bit doubtful.
    Try both scripts, and tell me the result. If neither work, give the last one a shot.
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xincgc -Xmx1024M -jar craftbukkit-0.0.1-SNAPSHOT.jar
    PAUSE
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xmx8192M -Xms8192M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
    PAUSE
    Show Spoiler
    Code:
    if 24==12 java -Xmx512M -Xms512M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
    if 24==24 java -Xmx1024M -Xms1024M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
    if 24==36 java -Xmx1536M -Xms1536M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
    if 24==48 java -Xmx2048M -Xms2048M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
    if 24==72 java -Xmx30724M -Xms3072M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
    if 24==96 java -Xmx4096M -Xms4096M  -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
    if 24==120 java -Xmx5120M -Xms5120M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
    if 24==144 java -Xmx6144M -Xms6144M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
    if 24==168 java -Xmx7168M -Xms7168M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
    if 24==192 java -Xmx8192M -Xms8192M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
     
  14. Offline

    WALK2222

    Hi, I am having the same exact problem. I downloaded the Server remote toolkit but I don't know where to enter the new startup script :(
    Please help guys
     
  15. Offline

    Retricide

    @Todd794
    No problem. Sorry for the delay, but glad I could help.
    Regarding the scripts - I realized why you got the problem with the 2nd script; I forgot to change the java params.
    If you want, give the second script another try, but change this:
    Code:
     -Xmx8192M -Xms8192M
    to this
    Code:
     -Xmx1024M -Xms1024M
    and keep the rest of the second script the same.
    Basically, the problem was you were telling your computer to allocate 8GB of memory to the server, which your computer wasn't capable of doing. The solution is to allocate less memory, such as ~1GB of memory.
    Give it a try, if you want.

    @WALK2222
    If you want to use Server Remote Toolkit then you shouldn't need to worry about the scripts. However, you must read the documentation, for SRT, thoroughly in order to install and understand it.

    The simplest solution, for you, is just a startup script, like those above.
    Assuming you're running windows, make a file called "startup.bat" in the root directory of your server (same place as craftbukkit.jar) and paste the code for one of the start scripts in there. Tell me your results.
     
    Todd794 likes this.
  16. Offline

    WALK2222

    Well actually I'm running mac lol
    But ill try
    thnx for your help ill get back to you


    Okay I made a file called startup.bat and ran the third script. Couldn't connect but I will try the second script with the edits you said to put in. ;)

    Didn't work for some reason this is the startup message


    >Macintosh-163:CraftBukkit christie$ cd /Users/christie/Desktop/CraftBukkit
    Macintosh-163:CraftBukkit christie$ java -Xms1024M -Xmx1024M -jar craftbukkit.jar nogui
    161 recipes
    17 achievements
    13:49:23 [INFO] Starting minecraft server version Beta 1.8.1
    13:49:23 [INFO] Loading properties
    13:49:23 [INFO] Starting Minecraft server on *:25565
    13:49:23 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1067-g6301507-b1185jnks (MC: 1.8.1)
    13:49:23 [SEVERE] Could not load 'plugins/BananaProtect.jar' in folder 'plugins':
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:168)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:138)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:103)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    13:49:23 [SEVERE] Could not load 'plugins/MCteleport.jar' in folder 'plugins':
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:168)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:138)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:103)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    13:49:23 [SEVERE] Could not load 'plugins/SkylandsPlugin.jar' in folder 'plugins':
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:168)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:138)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:103)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    13:49:23 [INFO] Preparing level "world"
    13:49:23 [INFO] Default game type: 1
    13:49:23 [INFO] Preparing start region for level 0 (Seed: 9047576900358788837)
    13:49:24 [INFO] Preparing start region for level 1 (Seed: -4866616374205851210)
    13:49:24 [INFO] Preparing spawn area: 0%
    13:49:25 [INFO] WorldEdit 4.6 enabled.
    13:49:25 [INFO] WorldEdit: No known permissions plugin detected. Using configuration file for permissions.
    13:49:25 [SEVERE] Error occurred while enabling WorldEdit v4.6 (Is it up to date?): javax/script/ScriptException
    java.lang.NoClassDefFoundError: javax/script/ScriptException
    at com.sk89q.worldedit.bukkit.WorldEditPlugin.onEnable(WorldEditPlugin.java:99)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    13:49:25 [INFO] WorldGuard: No known permissions plugin detected. Using configuration file for permissions.
    13:49:26 [INFO] WorldGuard: (world) Single session is enforced.
    13:49:26 [INFO] WorldGuard: (world) TNT ignition is blocked.
    13:49:26 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    13:49:26 [INFO] WorldGuard: (world) Lava fire is blocked.
    13:49:26 [INFO] WorldGuard: (world) All fire spread is disabled.
    13:49:26 [INFO] WorldGuard: Loaded configuration for world 'world"
    13:49:26 [INFO] WorldGuard: (world_nether) Single session is enforced.
    13:49:26 [INFO] WorldGuard: (world_nether) TNT ignition is blocked.
    13:49:26 [INFO] WorldGuard: (world_nether) Lighters are PERMITTED.
    13:49:26 [INFO] WorldGuard: (world_nether) Lava fire is blocked.
    13:49:26 [INFO] WorldGuard: (world_nether) All fire spread is disabled.
    13:49:26 [INFO] WorldGuard: Loaded configuration for world 'world_nether"
    13:49:26 [INFO] WorldGuard: Unable to register missing event type SNOW_FORM
    13:49:26 [INFO] WorldGuard 5.2.2 enabled.
    13:49:26 [INFO] Server permissions file permissions.yml is empty, ignoring it
    13:49:26 [INFO] Done (0.223s)! For help, type "help" or "?"
    >

    By the way I can host a server fine without Bukkit

    I think i fixed it thanks!

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

    bugolf

    Apparently No other sever expect vanilla works for me. (please help)
     
  18. Offline

    Rwembee

    @Todd794 @ others: Are your friends added to the whitelist? Or rather, try setting whitelist to false in the server.properties?

    Did you find the problem out?

    That's pretty odd, as I'm not seeing any cause for that to work :p , as long as it does I guess. Was asking cause lots of people seem to have this problem, so i'll redirect them here.

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

    bugolf

    Anyone got any other idea. I relly want to use bukkit
     
  20. Offline

    Rwembee

    @bugolf You've been able to get people through to the standard server but not bukkit? And when you switch back to standard it works again?
     
  21. Offline

    Retricide

    That's what made me think it was a startup script issue - and considering running a different script resolved the problem for Todd, I assume it was.

    @bugolf
    Try using all 3 of the scripts I posted on the first page, one at a time, and post you results.
    Youll receive no further help from me if you ignore my requests.
     
  22. Offline

    Rwembee

    I just see no reason the script would change anything relating to networking...
     
  23. Offline

    bugolf

    Script Number 1: Same problem no one can connect.
    Script Number 2: Same problem no one can connect
    Script Number 3: Window opens for a second the closes.
     
  24. Offline

    Retricide

    Do you get any errors on startup?
    Post your server.log on pastebin.com
    Only the most recent/ applicable portion of it.
     
  25. Offline

    bugolf

    Here is the log

    http://pastebin.com/0ZgLi4jQ
     
  26. Offline

    Retricide

    Odd. I'm kind of stumped. You've had success running a vanilla server?
    And what happens when someone tries to connect. Does your server recognize that someone is trying to connect?
     
  27. Offline

    bugolf

    The vanilla server works fine. When people try to connect to the bukkit sever they get a connection timed out error.(My sever dosent see people trying to connect)
     
  28. Offline

    Rwembee

    @bugolf and you can connect using your local/internal IP ?
     
  29. Offline

    honam1021

    I have the same problem too.Now my friends are complaining about this problem.Can anyone help?
     
  30. Offline

    bugolf

    I just tested it and only the computer running the server can connect. I tried connecting to the server on my brother's laptop using the Local IP but just got the connection timeout error.
     
Thread Status:
Not open for further replies.

Share This Page