1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved server.properties doesn't work

Discussion in 'Help' started by WinterBuild7074, Mar 25, 2017.

  1. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    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?
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Are you 100% sure that the server is turned off while editing?
     
  3. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    Yes, I am 100% sure. I did this around 10 times but it always reset the server.properties.
     
  4. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    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.
     
  5. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    It's a Debian Server + MCPE.
    I don't know anything about htop or sth. I have no idea what to do now...
     
  6. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    try shutting down your server
    enter killall php
    edit your file with nano
    press CTRL+O and enter
    start your server
     
    EdwardHamHam likes this.
  7. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    1. I entered killall php, but it said: php: no process found
    2. Can I edit the server.properties with Notepad?
     
  8. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    Which Notepad app? Most of them can, as long as they support the extension. What version of Debian are you using anyway?
     
  9. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    1. Notepad Windows 7
    2. Debian 8.0
     
  10. Primus

    Primus Zombie Pigman

    Messages:
    749
    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.
     
    HimbeersaftLP and EdwardHamHam like this.
  11. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    Try reloading your server after editing the server.properties instead of restarting it.
     
  12. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    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.
     
  13. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    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.
     
  14. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    Are you using FTP, or is it on a local machine?
     
  15. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I use FileZilla, SFTP.
     
  16. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    Okay. Before uploading the new server.properties do you make sure to delete the old one first?
     
  17. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    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.
     
  18. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    @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.
     
  19. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    Can you please run your server and enter the following command into the console:
    Code:
    version
    Then post the output here in code blocks?
     
  20. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    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)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.