open_tavern/db.md

979 B

DATA base of operations

Users:

  • Username - Unique
  • Hashed password
  • max managed tables (how many tables can the user create and make)
  • table invites (pending)

Tables:

  • UID (text)
  • Table desc/name (text)
  • Which users are in it (text)
  • Who are the GMs (text)
  • Owning user (text)
  • Game type (name of the game) (text)

Directories and Files

Games: Directories with the name of the game, with contents that define the game

Table: game table

  • Game Settigns: Game specific settings (might not be needed)
  • Entities (dir?): Contains data about entities (such as players and NPCs)
  • Custom images (dir): custom images for maps, tokens, entity portrait, cards and whatever else
  • Image Data: What each image is used for, is it visible to all and location (custom or shared - server generic) and extra stuff like map constant data
  • Map data (dir): "dynamic" data about maps, such as entities position and which entities are there