My server.properties doesn't work – I turned off my server and edited the server.properties, saved it and turned my server on again. I changed the max-players to 50 and level-name to Spawn. But every time I restart my server, it resets it back to the old/normal version. max-players is now 20 again and level-name is world. It's annoying, because it always creates a new world named "world". The /spawn command didn't bring me back to the spawn, it brought me to this world "world" instead, because level-name is always set to world. How can I fix this?
Where is your server running? If you're on linux and you have nothing else than your mcpe server on there try doing 'killall php' before editing. You may want to check with htop or sth that there really are no php processes that belong to pm.
It's a Debian Server + MCPE. I don't know anything about htop or sth. I have no idea what to do now...
try shutting down your server enter killall php edit your file with nano press CTRL+O and enter start your server
1. I entered killall php, but it said: php: no process found 2. Can I edit the server.properties with Notepad?
Which Notepad app? Most of them can, as long as they support the extension. What version of Debian are you using anyway?
Are you editing via sftp? Make sure you upload your local (edited) file to server. Before starting the server cd into your server and print out the file content (cat). Code: cat server.properties Try using `nano` or `vim` it's a lot easier for small tasks.
You have to keep the server off while editing the server.properties. You can only reload the server when it's on. Reloading it right after you restart it from being off (at least shouldn't) do anything extra.
Yes, I am doing all that. I tried that but... it didn't work. No changes, always resets back to old version. I said, I am editing the file when the server is off. My server is off when I edit. I always did that. I tried reloading too, but it didn't work.
I meant that you should try it while the server is on, and reload it when you are done instead of starting/restarting the server. It's always worked for me, so it's at least worth trying.
@Edwardthedog2 I saved the server.properties on my computer (the edited version). I move the file from my computer (Desktop) into FileZilla, into my server. It asks me if it should overwrite the old version, I clicked Yes/OK. @corytortoise I did that. But it didn't change anything.
Can you please run your server and enter the following command into the console: Code: version Then post the output here in code blocks?
Code: [Server thread/INFO]: This server is running PocketMine-MP 1.6.2dev ♦ Unleashed♦ implementing API version 3.0.0-ALPHA4 for Minecraft: PE v1.0.4.11 (protocol version 102)