Welcome to the PufferPanel community forums! If you need help please register an account and post in the Support category.

Change Port

  • Hello, How i disable change port server.properties on file manager? Because my buyer always change it. Thanks

  • I guess one way could be to go into SSH and make the server.properties file Read Only once you install the server.

    cd /var/lib/pufferd/servers/{Server_UUID}/
    chmod 444 server.properties

    That Should do the job, however it would prevent your customer from being able to edit the MOTD, default game mode, difficulty, map seed, world name, etc.
    Though some of it Can be changed in game if I'm not mistaken, I'm not sure of those commands off the top of my head, and if it writes to that file, it wouldn't be able to, causing more problems.

  • @Coolguy3289 Hmmm. So my Customer not able to edit The MOTD, Default gamemode,etc in server.properties if i run that command? :/

  • Basically. Because you are restricting the file that controls that. There may be another way to restrict the port that I am unaware of, however.

  • No, there is not a native way.

Log in to reply