⚙️How to set it up

Before you start the fun, here are some things you need to do


  • Do not change the name of the script

  • Put the script in the resources folder, do not use any folderisation.

  • Prefer to start manually in server.cfg as follows.

  • Take care to start the script manually after your core.

  • You will also need ox_lib and xsound scripts!

This is not the layout and appearance that should be in Server.cfg

#ensure oxthings
ensure [yourcore]
#ensure other-wais-scripts
ensure xsound
ensure wais-club

SQL Table codes where we will keep Club data.

CREATE TABLE IF NOT EXISTS `wais_clubs` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `club` mediumtext DEFAULT NULL,
  `settings` longtext DEFAULT NULL,
  `favsongs` longtext DEFAULT '{}',
  `money` int(11) DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

Last updated