Biyei Scripts

Installation

  1. 1

    Dependencies

    Make sure you have this resources installed in your server!

    1. Support ESX, QB-CORE or a custom framework
    2. Need to download and ensure xsound
  2. 2

    Install SQL

    Install the SQL files in the [Installation] folder.

    SQL for ESX:

    SQL
    ALTER TABLE `users` ADD COLUMN `is_inPaintball` INT NULL DEFAULT 0;
    ALTER TABLE `users` ADD COLUMN `last_paintball_loc` LONGTEXT NULL DEFAULT NULL;
    
    CREATE TABLE IF NOT EXISTS `biyei_hpaintball_stats` (
      `identifier` varchar(50) NOT NULL DEFAULT 'AUTO_INCREMENT',
      `name` varchar(80) NOT NULL DEFAULT '',
      `kills` int(11) NOT NULL,
      `wins` int(11) NOT NULL,
      `deaths` int(11) NOT NULL,
      `avatar` longtext NOT NULL,
      PRIMARY KEY (`identifier`) USING BTREE
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
  3. 3

    Set Discord bot token

    You will need to put a Discord bot token in the resource to load Discord avatars into the player stats. Change it on line #1 of shared/sv_editable.lua.

  4. 4

    Start order

    Ensure the resources in this order.

    Note

    The source page didn't list the actual ensure lines for this step — start xsound before hpaintball, consistent with every other Biyei script's start order.