Skip to content

The Advent calendar is open: a new gift every day, and seven lucky doors where you could win £2.50 of server credit.Open today's door

Back to Blog
Guides3 December 20266 min read

How to Fix a Griefed Terraria World Without Rolling Back Everything

Someone wrecked your spawn. Restoring an old save fixes it but wipes everything built since. Here is how to put back only the damaged area, ban a griefer who already left, and stop it happening again.

On 2 December our public Terraria crossplay server got griefed twice in one day. The first time someone tore apart the spawn overnight. The second time a player joined, blew up spawn and a big stretch of the surface, and left about thirteen minutes later. Both times we got the world back without losing anything other players had built. This is what we did, and what works on any Terraria server.

Why a normal rollback hurts

The usual fix is to stop the server and copy an older .wld file over the current one. That does put spawn back, but it puts back the whole world. Every house, chest and boss kill since that save is gone. On our server one player had built a new house three hours earlier, so a full rollback would have punished them for someone else's griefing.

What you actually want is to take only the damaged area from the old save and leave the rest of the world as it is now.

Option 1: copy the area across by hand with TEdit

TEdit is a free world editor. With the server stopped:

  1. Download both the old save and the current world.
  2. Open the old save in TEdit, select the damaged area and copy it.
  3. Open the current world, paste the area in exactly the same place and save.
  4. Upload the fixed world and start the server.

It works, but lining the paste up by hand on a big world is fiddly, and you need an old save from before the damage in the first place.

Option 2: Rewind an area (Zeros Host servers)

Our panel does the same thing in a few clicks. On the official server it took about five minutes from stopping the server to players being back:

  1. Warn the players. We used the console to tell everyone the server would restart in two minutes, that only the damaged area would change, and that their inventories were safe. Inventories live on each player's own device, so a world rewind never touches them.
  2. Stop the server and pick a save. Open the World Map and choose a restore point from before the damage. The panel keeps restore points before every new boss or Hardmode and before every update, and lists your backups too.
  3. Press Show what changed. Red marks every block, wall and piece of furniture built or broken since that save. Yellow marks chests whose contents changed.
  4. Draw a box around the damage and press Rewind this area. Blocks, walls, furniture, chests, signs, mannequins, item frames and weapon racks inside the box go back. Everything outside the box stays exactly as it is. The panel keeps a copy of the world first, so even the rewind can be undone.

The first time, 4,934 tiles came back at spawn and nothing else in the world changed.

Check the terrain as well as the buildings

This is the mistake we made the second time. The red overlay is for things players build, so it does not mark plain dirt, stone or sand. The griefer had also blown up a long stretch of natural terrain, and a player had to tell us the map was still in a state after we had fixed every red area.

If the ground itself looks cratered, draw a much bigger box, or a box over the whole map if the old save is recent enough that nobody has built much since. We did a whole-map rewind from a save taken five minutes before the griefer joined, and the world matched that save exactly.

Ban a griefer who has already left

Vanilla Terraria bans by IP address, and the ban console command only works on someone who is still connected. Most griefers are gone by the time anyone notices.

You can still ban them by hand. Terraria keeps bans in banlist.txt next to the world, as two lines per player: the name after //, then the IP. Find their IP in the server log (the line before "name has joined" says which address was connecting), add the two lines, and the ban works on their next connection attempt without a restart.

On Zeros Host the Players page now does this for you: every player in Everyone who has played has a Ban button, even when they are offline. It finds their last IP in the console history, adds them to the ban list and kicks them if they are somehow still on.

Make the next one less painful

  • Take saves often. A fix is only as good as your newest clean save. After the second griefing we set our public world to save a snapshot every 15 minutes and a full backup every 2 hours.
  • Use a password if the server is only for friends. Vanilla supports one, and it stops random joins completely.
  • Run TShock on a public server. It adds accounts, permissions and protected regions, so new players cannot dig up spawn.
  • Write down the time as soon as someone reports damage. It tells you which save to pick.

Rewind an area is on every Zeros Host Terraria server, whether it runs vanilla, TShock or tModLoader. See our Terraria hosting, which comes with a 48-hour free trial, or come and play on our public crossplay server at ca.zerosrp.co.uk:7777.

Want to try this on a real server?

Everything in this post works the same on ours, with the panel, off-site backups and full file access included on every plan. Try it free for 48 hours, no credit card required.

Still stuck after reading this?

Ask in our Discord - we help with hosting questions whether or not you host with us.