You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a player can only be on one team at a time, then we can just associate that team to the event when the event happens, and aggregate scores later by filtering the events for that team.
For example, if we have three players in the same dungeon, but all on different teams:
4Ply (team Red)
Abalua (team Blue)
FP (team Green)
4Ply picks up an ember, we write the following event to the DB:
There are three ways of categorizing players (names subject to change based on dev thoughts):
Parties
These are ephemeral, and are used for multiplayer runs.
They have one leader who invites the others to the party to run together.
When the leader disconnects, the party is disbanded.
Clans
These are created by players, and have a leader.
Players compete against other clans with statistics
These clans are permanent, and have their own name and (marking? emblem? banner?)
Event Teams
These are assigned for limited time events (mostly with Drina)
Every player gets randomly assigned a team (likely within Luckperms as mega groups, though that can be changed)
These teams do not last more than a phase or two
I suggest not storing the players team/party/guild within the event, and just looking that up on the user table when needed. If we were on a different database a relation might be good there, but as it is we don't need to duplicate the data imo
If a player can only be on one team at a time, then we can just associate that team to the event when the event happens, and aggregate scores later by filtering the events for that team.
For example, if we have three players in the same dungeon, but all on different teams:
4Ply picks up an ember, we write the following event to the DB:
Then if Abalue picks up treasure, we write:
The text was updated successfully, but these errors were encountered: