How to Protect Minecraft Server From Seed Cracking
Note: Make a full backup of your server before doing this.
If you are running a Minecraft server, you may have experienced players getting your world seed without op. by having world seed gives unfair advantages over other players. like finding biomes, structures etc… players use tools like SeedcrackerX. a tool that helps to get server world seeds.
So how can we stop this ? If your server world seed got leaked, we have to change it. stop the server and go to server.properties file, then change level-seed=.
Like this:
level-seed=54584878744
Add some random numbers to level seed if you have seed then use it.
This changed the leaked seed of your world
And then go to spigot.yml find the following lines and change all of them to random values:
seed-village: 10387312
seed-desert: 14357617
seed-igloo: 14357618
seed-jungle: 14357619
seed-swamp: 14357620
seed-monument: 10387313
seed-shipwreck: 165745295
seed-ocean: 14357621
seed-outpost: 165745296
seed-endcity: 10387313
seed-slime: 987234911
seed-nether: 30084232
seed-mansion: 10387319
seed-fossil: 14357921
seed-portal: 34222645
seed-ancientcity: 20083232
seed-trailruins: 83469867
seed-trialchambers: 94251327
seed-buriedtreasure: 10387320
If players have built any slime farms, Don’t change the slime seed.
Now enable feature-seeds, for old versions of Minecraft check paper.yml. new versions /config/paper-world-defaults.yml
feature-seeds:
generate-random-seeds-for-all: true
That’s all, this is how protect server from seed crackers. These changes work well on brand new worlds. but if you have make these changes to your old world, you can use a tool like MCA selector to remove unused chunks. For example if player not stayed for more than one hour on a chunk you can remove them with this tool.
We can make this bit more cool by adding a message to /seed command. Download and install Skript plugin to your server. then make a file named seed.sk inside the /plugins/Skript/scripts/ folder. copy and paste the below code to that file…
on command "/seed":
if sender is op:
send "%the seed of player's world%" to sender
else:
send "&4&lAccess to the server seed is restricted to maintain a fair gaming experience. Any attempt to view the server seed will result in a permanent ban." to sender
cancel event
Output when non op player type /seed command:
