Installations

Step 1 ➡ Dependencies

This is one of the most important parts, since without the dependencies, the resource will never work or not start, here we will list the dependencies with their respective links for you to download and add them to your server.

Step 2 ➡ Resources in server.cfg

The correct order of the resources is as follows, always keeping es_extended and its cores above, but the other normal resources below

ensure sfracingtablet

Step 3 ➡ Database

Run query/SQL query and paste below code

CREATE TABLE `sfracingtablet_history` (
  `id` int(11) NOT NULL,
  `name` varchar(256) NOT NULL,
  `type` varchar(8) NOT NULL,
  `checkpointsCount` int(3) NOT NULL,
  `creator` varchar(64) NOT NULL,
  `timeStart` int(16) NOT NULL,
  `timeEnd` int(16) NOT NULL,
  `raceId` varchar(8) NOT NULL,
  `laps` int(3) NOT NULL,
  `classes` text NOT NULL,
  `ghosting` int(3) NOT NULL,
  `racers` longtext NOT NULL,
  `timestampStart` int(16) NOT NULL,
  `isTournament` int(2) NOT NULL,
  `moneyTournament` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;


CREATE TABLE `sfracingtablet_players` (
  `id` int(11) NOT NULL,
  `identifier` varchar(46) DEFAULT NULL,
  `customName` varchar(64) NOT NULL,
  `avatar` text DEFAULT NULL,
  `points` int(11) NOT NULL DEFAULT 500,
  `winTournaments` int(11) NOT NULL DEFAULT 0,
  `winRaces` int(11) NOT NULL DEFAULT 0,
  `finishRaces` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

CREATE TABLE `sfracingtablet_tracks` (
  `id` int(11) NOT NULL,
  `name` varchar(256) NOT NULL,
  `description` varchar(1024) NOT NULL,
  `type` varchar(8) NOT NULL,
  `checkpoints` longtext NOT NULL,
  `creatorid` varchar(64) NOT NULL,
  `creatorname` varchar(128) NOT NULL,
  `raceid` varchar(8) NOT NULL,
  `records` longtext NOT NULL,
  `verified` int(2) NOT NULL DEFAULT 0,
  `finished` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

ALTER TABLE `sfracingtablet_history` ADD PRIMARY KEY (`id`);
ALTER TABLE `sfracingtablet_players` ADD PRIMARY KEY (`id`);
ALTER TABLE `sfracingtablet_tracks` ADD PRIMARY KEY (`id`);

ALTER TABLE `sfracingtablet_history` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;
ALTER TABLE `sfracingtablet_players` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;
ALTER TABLE `sfracingtablet_tracks` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;

Step 4 ➡ Click on Config

Last updated