So I've been running a vanilla Minecraft server just for me and a few of my friends. I leave it running most of the time just so it's always available to play on. I didn't think a whitelist would be necessary because no one can join without the IP address. Maybe that was a mistake...
The other day a random player by the name of "aidman" joined the server. Here's a copy of the log file:
[16:18:47] [Server thread/INFO]: aidman[/71.74.119.80:50167] logged in with entity id 210692 at (-200.5, 73.0, 98.5)
[16:18:47] [Server thread/INFO]: aidman joined the game
[16:18:50] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2263ms behind, skipping 45 tick(s)
[16:19:17] [Server thread/INFO]: aidman has just earned the achievement [Taking Inventory]
[16:19:32] [Server thread/INFO]: history
[16:22:17] [Server thread/INFO]: aidman lost connection: TextComponent{text='Disconnected', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
[16:22:17] [Server thread/INFO]: aidman left the game
I thought this was a little weird so I decided to log in and see if anything had changed. I went ahead and killed myself to get back to the spawn and was alarmed to see that I didn't spawn in the correct place. I tried killing myself again and spawned in the same place. I also noticed that the coordinates where he logged in were where the spawn was moved to. I took a look around and noticed that there were a bunch of chunks that didn't fit. It looked like someone copied chunks from MC Edit and dropped them in my world. After a while of trying to fix the issue I noticed that the seed for the world had changed, and all new chunks I was generating were messed up.
This whole thing seems really weird to me and I don't see how a player could just change the seed of my world. Is it possible? And how can I change the seed back to what it was before?
The Meaning of Life, the Universe, and Everything.
Location:
Sydney
Join Date:
7/11/2013
Posts:
62
Location:
localhost
Minecraft:
aaron1998ish
Member Details
Hey, this is a really weird case ive never seen something like this before, are you able to pastebin the server log on when this occured? also is the server online or offline mode
The server is in offline mode and there is nothing else in the log relating to this event other than what you see in my original post. It is my understanding that offline mode just makes it so players don't need to log in through the Minecraft.net servers to connect. Does offline mode make the server less secure in other ways?
The server is in offline mode and there is nothing else in the log relating to this event other than what you see in my original post. It is my understanding that offline mode just makes it so players don't need to log in through the Minecraft.net servers to connect. Does offline mode make the server less secure in other ways?
Offline mode allows players to connect with any name and UUID they choose. They can log in with your name and UUID and abuse your operator privileges. Maybe that's what happened, someone used your UUID and got op privileges.
No one on the server had op privileges. Unless there is some default op ID I don't see how this is possible.
Besides, is there some op command to change the seed? Based on the backup the seed should be -351946675887704765 but when I do the /seed command it returns 5156062362902932168. I am thinking I can just change the seed back and replace the incorrectly generated chunks with the chunks in my backup.
How can I change the seed of an already generated world? There must be a way since it happened here.
The Meaning of Life, the Universe, and Everything.
Location:
Sydney
Join Date:
7/11/2013
Posts:
62
Location:
localhost
Minecraft:
aaron1998ish
Member Details
i dont believe theres a way to edit a seed on a made server, correct me if im wrong but i think you may need to reset the map, ontop of that Change your server back to Onlinemode or get some security plugins, Offlinemode + No security is like running into a battle field with a red cape on your back saying shoot me.
Offline mode has nothing to do with this. It's not possible to change the seed of a map while it is loaded on a server. As for how your spawn changed, it's possibly a bug with the map file. Chunks corrupt all the time, especially if the hard drive is not very stable. I use to run a server on an old server machine I had built, and we would get corrupted chunks all of the time. One time a chunk which a part of my castle was built on had gotten corrupted, and was found several days later a few thousand blocks away, we also had problems with the spawn positions moving around frequently. This was back beta however, I have since replaced the hard drive (it was a few years past its expected life time, and ultimately just died on me) and we have not had any problems since. A few friends of mine have also had these issues with their worlds in the newer builds.
When you are in offline mode, there is not much of a change, the only thing to be altered is how the game checks who is who. Because offline is used, there is no attempt by mojang's servers to authenticate a player, this means that if you are an operator and your selected username is "ServerAdmin" another player can change their set username to "ServerAdmin" and the server will treat both players the same, giving the other player, perhaps a friend or a enemy, full admin controls while they have your username, this is why it's best to use server console on an offline server if you are the only admin, if other players should have operator access then you should use modified server files, such as spigot.
The Meaning of Life, the Universe, and Everything.
Location:
Sydney
Join Date:
7/11/2013
Posts:
62
Location:
localhost
Minecraft:
aaron1998ish
Member Details
There are too many variations of why this could have occurred, The only real way of knowing for sure is checking the logs, if he typed any suspicious commands or logged into an OP account. DarkHax could be onto something, do check your drives however i dont think that would be the case if you arent experiencing any other computer difficulty
I can see things getting weird if my hard drive were to be acting screwy, but that isn't what's happening here. I promise you the seed isn't what it used to be. Somehow it changed. The drive I'm running the server off of is an SSD that I've never had any issues with. The problem also did not affect existing chunks, only chunks that have been generated since this problem cropped up, which is exactly what I would expect if the seed were to be different.
The place where the spawn moved to, near (-200.5, 73.0, 98.5), was by an area of the map that were never explored, so those chunks got messed up. Also I just generated a world with the seed 5156062362902932168 and got the same chunks that are the bad chunks in my server, and when I generate a world with the seed -351946675887704765 I get the chunks I want. Also the location of the moved spawn corresponds to the 51... seed.
Unless I missing something the seed have to of changed right? Also the snippet of the server log I posted before shows everything that happened on the only occasion this "aidman" guy logged in. What really gets me is this line:
[16:18:50] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2263ms behind, skipping 45 tick(s)
The system this server is running on is well suited to keep up with just about anything a player could do on the server, and 2263ms is significant. This leads me to believe this change happened at that time and "aidman" had something to do with it, though I can't wrap my head around what it could possibly be.
Once again, while what happened is one of the strangest things I've ever seen happen to a Minecraft world, all I want to do is change the seed back and fix my world. There absolutely has to be a way because somehow something caused the seed to change in the first place. I really do appreciate the help.
The Meaning of Life, the Universe, and Everything.
Location:
Sydney
Join Date:
7/11/2013
Posts:
62
Location:
localhost
Minecraft:
aaron1998ish
Member Details
Is this server hosted by a company or your home pc? also the "Cant keep up!" error isnt something you should worry about it shouldnt have anything to do with aidman
i get the can't keep up errors on my server a lot... never caused any problems.... how can a file be manipulated while its even open i mean like WUT. uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh get a better computer
The other day a random player by the name of "aidman" joined the server. Here's a copy of the log file:
I thought this was a little weird so I decided to log in and see if anything had changed. I went ahead and killed myself to get back to the spawn and was alarmed to see that I didn't spawn in the correct place. I tried killing myself again and spawned in the same place. I also noticed that the coordinates where he logged in were where the spawn was moved to. I took a look around and noticed that there were a bunch of chunks that didn't fit. It looked like someone copied chunks from MC Edit and dropped them in my world. After a while of trying to fix the issue I noticed that the seed for the world had changed, and all new chunks I was generating were messed up.
This whole thing seems really weird to me and I don't see how a player could just change the seed of my world. Is it possible? And how can I change the seed back to what it was before?
Offline mode allows players to connect with any name and UUID they choose. They can log in with your name and UUID and abuse your operator privileges. Maybe that's what happened, someone used your UUID and got op privileges.
Besides, is there some op command to change the seed? Based on the backup the seed should be -351946675887704765 but when I do the /seed command it returns 5156062362902932168. I am thinking I can just change the seed back and replace the incorrectly generated chunks with the chunks in my backup.
How can I change the seed of an already generated world? There must be a way since it happened here.
Peace
When you are in offline mode, there is not much of a change, the only thing to be altered is how the game checks who is who. Because offline is used, there is no attempt by mojang's servers to authenticate a player, this means that if you are an operator and your selected username is "ServerAdmin" another player can change their set username to "ServerAdmin" and the server will treat both players the same, giving the other player, perhaps a friend or a enemy, full admin controls while they have your username, this is why it's best to use server console on an offline server if you are the only admin, if other players should have operator access then you should use modified server files, such as spigot.
Farewell everyone o/
The place where the spawn moved to, near (-200.5, 73.0, 98.5), was by an area of the map that were never explored, so those chunks got messed up. Also I just generated a world with the seed 5156062362902932168 and got the same chunks that are the bad chunks in my server, and when I generate a world with the seed -351946675887704765 I get the chunks I want. Also the location of the moved spawn corresponds to the 51... seed.
Unless I missing something the seed have to of changed right? Also the snippet of the server log I posted before shows everything that happened on the only occasion this "aidman" guy logged in. What really gets me is this line:
The system this server is running on is well suited to keep up with just about anything a player could do on the server, and 2263ms is significant. This leads me to believe this change happened at that time and "aidman" had something to do with it, though I can't wrap my head around what it could possibly be.
Once again, while what happened is one of the strangest things I've ever seen happen to a Minecraft world, all I want to do is change the seed back and fix my world. There absolutely has to be a way because somehow something caused the seed to change in the first place. I really do appreciate the help.