MineColonies

MineColonies

53M Downloads

After loading a deleted colony from backup, you can set owner of colony to neutral

pokemonlover1234 opened this issue ยท 0 comments

commented

Minecolonies version # Update to the newest minecolonies and structurize alpha first and see if your issue might be already fixed!

Version: 0.11.954-ALPHA

Expected behavior

  • Town owner privileges cannot be set to neutral, or owner status overrides current privilege status within town hall, regardless of its setting.

Actual behaviour

  • After loading a colony from backup, it is possible for the owner to set themselves as neutral, essentially locking themselves out of their own colony.

Unlisted demonstration video
https://www.youtube.com/watch?v=xMjArcMxaJQ&feature=youtu.be

Steps to reproduce the problem

  1. Create a colony
  2. Delete that colony using /mc colony delete 1 false keep buildings
  3. Immediately load the created backup using /mc colony loadBackup 1
  4. Place a town hall within the area of the reloaded colony
  5. Interact with it, noticing it says you cannot create a colony as one already exists
  6. Exit the world (or close the server)
  7. Re-enter the world (or reopen and rejoin the server)
  8. Interact with the town hall again. This time you should see the town hall GUI as if a colony is there
  9. In the permissions tab, enter your IGN and press the +
  10. You as the owner should now be set as neutral, and be unable to do anything in your own colony.

Note for step 5, it is also possible to break it before step 6 and replace it between steps 7 and 8 and achieve the same effect. This is what I did in the demonstration video.

Logs: Latest.log and crashlog at https://gist.github.com/