linuxmasterrace / Townvalds

A free town plugin for Cuberite
GNU Affero General Public License v3.0
14 stars 4 forks source link

Start the implementation of the residents system #4

Closed random-nick closed 8 years ago

random-nick commented 8 years ago

This is a still unfinished residents system. What is implemented is a "residents" table in the database that has player_uuid, player_name, town_id, town_rank and last_online columns (the names are self-explanatory), and also a command that shows the player that information for the specified username. There is nothing that uses the town_rank column, the last_online column is more of a registered column, because it doesn't update after the player is first added to the database and the town_id column is only updated when the player makes a new town.