Docs
Events Panel
Events Panel
The Events Panel provides a powerful, all-inclusive platform to manage every aspect of your server events, from planning to execution.
Configuration
The Events 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/appRealEstate.json
.
appRealEstate.json
{
"useGoogleSheets": true, // Whether to use a Google Sheet or JSON for the events data
"eventsPerPage": 24, // The number of events to display per page
"SheetsEvents": "Google_Sheet_URL", // The URL of the Google Sheet containing the events data
"SheetsEventsLocal": "./data/events.json" // The local path to the events 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/events.json
.
events.json
[
{
"id": "1",
"title": "Hidden Graffiti Tour",
"description": "Embark on a guided exploration through the city's alleys and hidden streets to discover underground art and graffiti masterpieces. Participants use an app to check in at each piece and learn about the artists and stories behind the works. ",
"type": "🏔 Exploration",
"status": "🟢 Live",
"ticket": "1 000$",
"prize": "1 000 000$",
"location": "Los Santos, South",
"date": "3/2/2024",
"time": "20:00",
"image": "./events/hidden-graffiti.webp"
},
{
"id": "2",
"title": "Mountain Peak Challenge",
"description": "Climb to the summit of Mount Chiliad peaks scattered. Participants must check in at the base camp of the mountain to start the timer. The fastest cumulative time wins. Progress and current leaders are updated in real-time on the web map.",
"type": "🏔 Exploration",
"status": "🟢 Live",
"ticket": "500$",
"prize": "500 000$",
"location": "Blaine County, Mount Chiliad",
"date": "2/28/2024",
"time": "20:00",
"image": "./events/mountain-peak.webp"
}
//...
]