taoneill / war

War - Minecraft TDM & CTF for Bukkit
war.tommytony.com
MIT License
69 stars 152 forks source link

Despawn all entities during a reset #362

Open j2ther opened 12 years ago

j2ther commented 12 years ago

Original title: Boats not despawning after zone reset

After testing a new map I noticed that boats will not reset/despawn after a zone reset. Tested it on multiple maps afterwards and same result. Any placed boat will not despawn on zone reset.

Using 1.7 build 11 on CB 1772

p.s. did a search and didn't see any similar issues, if any other warhubbers/server admins see's this and wants to test and verify the bug on another server that'd be great!

taoneill commented 12 years ago

Yeah, my ghetto map-save format doesn't save entities. D:

I'm planning to switch to NBT so warzones are easier to share and to close that feature gap (minecarts, boats, entities in general) eventually.

j2ther commented 12 years ago

Any news on this? I ask because we have a new map that utilizes dispensors with mob eggs for some cool warhub action with monsters. Only problem is the all the mob entities don't reset after the round is over.

taoneill commented 12 years ago

Hmmm so what you need if for all boats and mobs to despawn during a reset, basically?

That could be managed pretty easily, I think. It would make for better "mobarenas" and race-type competitions where minecarts and boats are involved.

I renamed the ticket and pushed this into milestone v1.8.

Sorry I misunderstood you earlier. I thought you wanted to keep entities as part of a /savezone. It must have been late at night. :P

j2ther commented 12 years ago

:D np and thanks, look forward to 1.8!

cmastudios commented 12 years ago

Maybe you could use schematic format? You could probably get the code to do that from WorldEdit.

taoneill commented 12 years ago

Yes @cmastudios that would be best - but that means a big rewrite so I've been putting it off since January.