MobArena icon indicating copy to clipboard operation
MobArena copied to clipboard

Soft-Restore: Lever postitions and chest contents not restoring

Open Zephez opened this issue 6 years ago • 3 comments

Summary

  • This issue is a…
    • [x] Bug report
    • [ ] Feature request
    • [ ] Documentation request
    • [ ] Other issue
    • [ ] Question
  • Describe the issue / feature in 1-2 sentences: Soft-restore does not restore levers to their original positions and does not restore items in chests.

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

  • MobArena version: Latest for 1.11+
  • Server version: Spigot 1.12.2-R0.1-snapshot (we're a little behind on updates to spigot, though I do not think that's the problem)
  • Plugins: see attached image, there's like 45 plugins image

Zephez avatar Apr 29 '18 16:04 Zephez

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?

garbagemule avatar Apr 29 '18 16:04 garbagemule

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.

Haileykins avatar Apr 30 '18 11:04 Haileykins

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.

Nesseley avatar Jul 18 '18 09:07 Nesseley