Docs
Groups Panel

Groups Panel

The Groups Panel is a directory for your city groups, providing only the information you want to share with your players.

Groups Panel

Configuration

The Business Panel can be configured in two ways:

  • Using a Live Google Sheet (provided in the package)
  • Using a local JSON file

Using a Google Sheet

The configuration file is located at g-tablet/core/configs/appGroups.json.

appGroups.json
{
  "useGoogleSheets": true, // Whether to use a Google Sheet or JSON for the groups data
  "SheetsGroups": "Google_Sheet_URL", // The URL of the Google Sheet containing the groups data
  "SheetsGroupsLocal": "./data/groups.json" // The local path to the groups data file
}

Using a local JSON file

If you choose to use local JSON instead of Google Sheets, you can use the the configuration file located at g-tablet/core/data/groups.json.

groups.json
[
  {
    "id": "1",
    "name": "Altruist",
    "description": "Blaine County Gang",
    "type": "Gangs",
    "availability": "🟢",
    "location": "Blaine County",
    "contact": "Emma Davis",
    "image": "./groups/gang-altruist-icon.webp"
  },
  {
    "id": "2",
    "name": "Aztecas",
    "description": "Los Santos Gang",
    "type": "Gangs",
    "availability": "🟢",
    "location": "Los Santos",
    "contact": "Sophia Martin",
    "image": "./groups/gang-aztecas-icon.webp"
  },
  //...
]