REC_NameTag
Installation
Installation, configuration, and usage for REC_NameTag.
- Added
- Updated
Download the dependencies
Download main resource
Place the REC_NameTag folder from your distribution inside the server’s resources directory.
Import the SQL files
Apply the SQL below to your server database before starting the resource.
rec_nametag.sql
CREATE TABLE IF NOT EXISTS `rec_nametag` (
`id` bigint(8) NOT NULL AUTO_INCREMENT,
`citizenId` varchar(50) NOT NULL,
`firstName` varchar(50) NOT NULL,
`lastName` varchar(50) NOT NULL,
`displayJob` tinyint(4) NOT NULL,
`displayId` tinyint(4) NOT NULL,
`visible` tinyint(4) NOT NULL,
`updatedAt` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`createdAt` timestamp NOT NULL DEFAULT current_timestamp(),
PRIMARY KEY (`id`),
UNIQUE KEY `citizenId` (`citizenId`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
Copy and paste this on your server.cfg
ensure REC_NameTag
Start the dependencies before this resource.
Done
enjoy it !
