How to Change the World Seed on a Minecraft Java Server
Attention
Create a backup of your server beforehand, as the current world can be lost by changing the world seed.
Connect to your server via SFTP and open the file
server.properties.Look for the following entry:
level-seed=level-seed=Insert the desired world seed at this point (e.g.
level-seed=5101553622029575588).Save the changes and restart the server.
Tip
You can find out the current world seed of an existing world by entering the command /seed in the game.