Running bukkit server.

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Potcat
A semi-regular
A semi-regular
Posts: 28
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sat Apr 20, 2013 6:05 am

Running bukkit server.

Post by Potcat »

Hi.

I am trying to run bukkit on my unmanaged VDS. Unfortunately neither I nor my users can connect to the server when it is running. I've tried forwarding ports, installing the latest java and making various tweaks to bukkit's settings. I've even tried running a clean bukkit install opposed to attempting to run my backed up world and plugins. As such, I must inquire if there is something in my account settings I might have missed? Do I need to mess around with the firewall settings in my control panel?
User avatar
Edge100x
Founder
Founder
Posts: 12945
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Running bukkit server.

Post by Edge100x »

Our VDSes comes fully capable of running Minecraft or any other software and you won't have to change the firewall settings in the control panel to support it.

Please post the messages that show when the server is started, and your server.properties file.
Potcat
A semi-regular
A semi-regular
Posts: 28
Joined: Sat Apr 20, 2013 6:05 am

Re: Running bukkit server.

Post by Potcat »

When the server starts:

Code: Select all

2013-04-20 09:53:56 [INFO] Starting minecraft server version 1.5.1
2013-04-20 09:53:56 [INFO] Loading properties
2013-04-20 09:53:56 [INFO] Default game type: SURVIVAL
2013-04-20 09:53:56 [INFO] Generating keypair
2013-04-20 09:53:56 [INFO] Starting Minecraft server on 0.0.0.0:25565
2013-04-20 09:53:56 [INFO] This server is running CraftBukkit version git-Bukkit-1.5.1-R0.1-21-g49b0699-b2754jnks (MC: 1.5.1) (Implementing API version 1.5.1-R0.2)
2013-04-20 09:53:56 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
2013-04-20 09:53:56 [WARNING] The server will make no attempt to authenticate usernames. Beware.
2013-04-20 09:53:56 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
2013-04-20 09:53:56 [WARNING] To change this, set "online-mode" to "true" in the server.properties file.
2013-04-20 09:53:56 [INFO] Preparing level "world"
2013-04-20 09:53:57 [INFO] Preparing start region for level 0 (Seed: -4733326782828321877)
2013-04-20 09:53:57 [INFO] ----- Bukkit Auto Updater -----
2013-04-20 09:53:57 [INFO] It appears that you're running a Beta Build, when you've specified in bukkit.yml that you prefer to run Recommended Builds.
2013-04-20 09:53:57 [INFO] If you would like to be kept informed about new Beta Build releases, it is recommended that you change 'preferred-channel' in your bukkit.yml to 'beta'.
2013-04-20 09:53:57 [INFO] With that set, you will be told whenever a new version is available for download, so that you can always keep up to date and secure with the latest fixes.
2013-04-20 09:53:57 [INFO] If you would like to disable this warning, simply set 'suggest-channels' to false in bukkit.yml.
2013-04-20 09:53:57 [INFO] ----- ------------------- -----
2013-04-20 09:53:57 [INFO] Preparing start region for level 1 (Seed: -2802359016421405722)
2013-04-20 09:53:58 [INFO] Preparing spawn area: 49%
2013-04-20 09:53:58 [INFO] Preparing start region for level 2 (Seed: -2802359016421405722)
2013-04-20 09:53:58 [INFO] Server permissions file permissions.yml is empty, ignoring it
2013-04-20 09:53:58 [INFO] Done (1.578s)! For help, type "help" or "?"
Server.properties:

Code: Select all

#Minecraft server properties
#Sat Apr 20 09:53:56 EDT 2013
generator-settings=
allow-nether=true
level-name=world
enable-query=false
allow-flight=false
server-port=25565
level-type=DEFAULT
enable-rcon=false
level-seed=
server-ip=
max-build-height=256
spawn-npcs=true
white-list=false
spawn-animals=true
snooper-enabled=true
hardcore=false
texture-pack=
online-mode=false
server-id=unnamed
pvp=true
difficulty=3
server-name=Bancraft
gamemode=0
max-players=20
spawn-monsters=true
generate-structures=true
view-distance=10
spawn-protection=16
motd=hello
I know the server-ip is left blank, but I have tried playing around with that field and nothing has worked. I have thus reverted it back to it's original state, which worked on my previous server.
User avatar
Spray
Former staff
Former staff
Posts: 630
Joined: Wed Dec 28, 2011 10:41 pm
Location: Oregon

Re: Running bukkit server.

Post by Spray »

As it says in your server log, your server is running in offline mode. Set online-mode=true in your server.properties and give your server a restart.
Potcat
A semi-regular
A semi-regular
Posts: 28
Joined: Sat Apr 20, 2013 6:05 am

Re: Running bukkit server.

Post by Potcat »

As far as I understand, online mode is for verification of user accounts; if set to false people don't need to have their accounts verified with minecraft.net to join.

Regardless, I tried this and it did not work.
.=QUACK=.Major.Pain
This is my homepage
This is my homepage
Posts: 1573
Joined: Sun Jun 26, 2011 8:03 am

Re: Running bukkit server.

Post by .=QUACK=.Major.Pain »

You didn't set the server ip.
server-ip=

You can see the issue in the log.
2013-04-20 09:53:56 [INFO] Starting Minecraft server on 0.0.0.0:25565

And as mentioned above, your running in offline mode.

Read the wiki here: http://www.minecraftwiki.net/wiki/Server.properties


online-mode

Code: Select all

Server checks connecting players against minecraft's account database. [color=#FF0000]Only set this to false if your server is not connected to the Internet.[/color] Hackers with fake accounts can connect if this is set to false! If minecraft.net is down or inaccessible, no players will be able to connect if this is set to true. Setting this variable to off purposely is called "cracking" a server, and servers that are presently with online mode off are called "cracked" servers.
true - Enabled. The server will assume it has an Internet connection and check every connecting player.
false - Disabled. The server will not attempt to check connecting players.
Only set this to false if your server is not connected to the Internet.
Last edited by .=QUACK=.Major.Pain on Sun Apr 21, 2013 4:22 am, edited 1 time in total.
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
Potcat
A semi-regular
A semi-regular
Posts: 28
Joined: Sat Apr 20, 2013 6:05 am

Re: Running bukkit server.

Post by Potcat »

I've already tried changing that to the server's ip. It doesn't do anything. And I've tried setting online-mode to true as well - nothing.
.=QUACK=.Major.Pain
This is my homepage
This is my homepage
Posts: 1573
Joined: Sun Jun 26, 2011 8:03 am

Re: Running bukkit server.

Post by .=QUACK=.Major.Pain »

I edited the post - needs online-mode=true.
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
Potcat
A semi-regular
A semi-regular
Posts: 28
Joined: Sat Apr 20, 2013 6:05 am

Re: Running bukkit server.

Post by Potcat »

I retried connecting with online-mode=true and server-ip=74.91.112.155 and this is the output.

Code: Select all

08:26:13 [INFO] Starting minecraft server version 1.5.1
08:26:13 [INFO] Loading properties
08:26:13 [INFO] Default game type: SURVIVAL
08:26:13 [INFO] Generating keypair
08:26:13 [INFO] Starting Minecraft server on 74.91.112.155:25565
08:26:13 [INFO] This server is running CraftBukkit version git-Bukkit-1.5.1-R0.1-21-g49b0699-b2754jnks (MC: 1.5.1) (Implementing API version 1.5.1-R0.2)
08:26:13 [INFO] Preparing level "world"
08:26:13 [INFO] Preparing start region for level 0 (Seed: -4733326782828321877)
08:26:14 [INFO] ----- Bukkit Auto Updater -----
08:26:14 [INFO] It appears that you're running a Beta Build, when you've specified in bukkit.yml that you prefer to run Recommended Builds.
08:26:14 [INFO] If you would like to be kept informed about new Beta Build releases, it is recommended that you change 'preferred-channel' in your bukkit.yml to 'beta'.
08:26:14 [INFO] With that set, you will be told whenever a new version is available for download, so that you can always keep up to date and secure with the latest fixes.
08:26:14 [INFO] If you would like to disable this warning, simply set 'suggest-channels' to false in bukkit.yml.
08:26:14 [INFO] ----- ------------------- -----
08:26:14 [INFO] Preparing start region for level 1 (Seed: -2802359016421405722)
08:26:14 [INFO] Preparing spawn area: 49%
08:26:14 [INFO] Preparing start region for level 2 (Seed: -2802359016421405722)
08:26:15 [INFO] Server permissions file permissions.yml is empty, ignoring it
08:26:15 [INFO] Done (1.536s)! For help, type "help" or "?"
Still unable to connect.
.=QUACK=.Major.Pain
This is my homepage
This is my homepage
Posts: 1573
Joined: Sun Jun 26, 2011 8:03 am

Re: Running bukkit server.

Post by .=QUACK=.Major.Pain »

Did you install any firewalls?
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
Potcat
A semi-regular
A semi-regular
Posts: 28
Joined: Sat Apr 20, 2013 6:05 am

Re: Running bukkit server.

Post by Potcat »

None. Server is days old.
User avatar
Spray
Former staff
Former staff
Posts: 630
Joined: Wed Dec 28, 2011 10:41 pm
Location: Oregon

Re: Running bukkit server.

Post by Spray »

When I ping port 25565 at that IP I get that the port is closed. Would you mind showing us the output of iptables -L ?
User avatar
Edge100x
Founder
Founder
Posts: 12945
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Running bukkit server.

Post by Edge100x »

Does the server work normally without Bukkit?
User avatar
Vanderburg
Former staff
Former staff
Posts: 1253
Joined: Sat Nov 13, 2010 7:27 am
Location: Dallas, TX

Re: Running bukkit server.

Post by Vanderburg »

As long as you are on a single IP address, or running nothing else on 25565 with any other IP address, you can bind to 0.0.0.0 without any issues. Also, offline mode is only for verifying your username on the server end.

I would reiterate John's suggestion of simply trying to run with only minecraft_server.jar first, making sure you can connect, then switching to your craftbukkit.jar (with no plugins), verifying that works, then slowly adding one plugin at a time.
Potcat
A semi-regular
A semi-regular
Posts: 28
Joined: Sat Apr 20, 2013 6:05 am

Re: Running bukkit server.

Post by Potcat »

I just tried vanilla server, no luck. iptables -L outputs this:

Code: Select all

Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     icmp --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ssh
REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:25565

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
I forwarded port 25565 and it's still coming as closed, which is why I initially asked if there were some additional settings that I might have missed.
Post Reply