-
-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automated island ownership transfer in case of inactivity #167
Comments
It seems there is currently no way to know from how many time a player is member on an island... I might need to work on the island history first then... |
Postponed for now - it needs to fully implement the "island logs" and to ensure they are reliable enough. |
Okay, so I've worked on this a bit (got the help of a few classmates). We raised the following points:
About "being member for the longest time"...Here lies the tricky part of this feature request. We need to do changes to the
This will require the adaptation of some methods in the However, @tastybento, will the database code support such a twist? Indeed, the implementation of the "members" list for the Would that be possible? |
It could probably store in every database except YAML because we're using GSON serializing and the field are generic, but it will break all current installations unless you write conversion code into the class. That would have to stick around for a very long time just in case someone was late in upgrading. However, I would recommend you try to develop something simpler. This feature is there to make admins lives easier so that motivated players don't bug them for a manual transfer. How about this:
In this approach, you don't need to change or store any data in the Island object. It's all done via the server API and it's just simple to understand. Admins can pick what rank they want. If they want a really quiet life, they set it as MEMBER. I would set it there. It will require two additions to WorldSettings - handover rank and abandonment time. In this regards, I'd like to propose that all new additions to WorldSettings go in as default methods and not abstract methods. That way, GameModeAddons can have a choice as to whether they will override them or not and current versions will not break by this being added. For example, in the case of SkyGrid, I don't see a need to ever need to have this, so I'd prefer it to just default to never. But in BSkyBlock, it'll be a useful addition. |
Taken from #109.
Add an option so if the leader of a team doesn't log in the server for X configurable amount of time (For example: 3 months), the island leadership would go to other team member.
@tastybento Would it be better to transfer the ownership to the oldest member of the island or to the "most" active (connected the most recently) one ?
The text was updated successfully, but these errors were encountered: