garbagemule / MobArena

MobArena plugin for Minecraft
GNU General Public License v3.0
194 stars 151 forks source link

Soft-Restore: Lever postitions and chest contents not restoring #447

Open Zephez opened 6 years ago

Zephez commented 6 years ago

Summary

Background

I have made a dungeon style arena where the player must activate levers and get items from chests to be able to progress. It would be great to be able to restore items to chests and levers to their original states when the arena is complete.

Bug report

garbagemule commented 6 years ago

Thanks for the bug report!

Soft-restore is definitely due for a revisit. I'm not sure if it's better to try to re-introduce the full region sweep, or if there is another plugin that would make this whole thing a lot simpler and more robust (maybe WorldEdit/WorldGuard could work).

Do we know of any minigame plugins with a robust restore feature, or is it just a weird MobArena thing?

Haileykins commented 6 years ago

I'd like to pipe in here and say that, I run an arena with levers, pressure plates, and chests, furnaces etc, that all restore perfectly fine. I have an arena where you must kill a boss, get a lever, and use the lever to progress to the next region, those levers always get removed before the next round restarts by soft restore.

I might be mis-interpreting this situation here. If so, my apologies.

Nesseley commented 6 years ago

Tested on newest build. As Haileykins states the lever placed gets removed on arena end. - But as OP says the chest/furnace I took it from doesnt get a new lever.