GeN Scripts
YoutubeDiscordGithub
  • 👋Welcome!
  • Information
    • 👮‍♂️Discord Customer Role
    • ❓How can i download my script
    • 🔒Whats escrow system?
    • 😥You lack the required entitlement
  • Scripts
    • gen_spawnselector
      • Installation guide
      • Accessible files
    • gen_loading
      • Installation guide
      • Accessible files
    • gen_pausev1
      • Installation guide
      • Accessible files
    • gen_pausev2
      • Installation guide
      • Accessible files
    • gen_caseopening
      • Installation guide
      • Accessible files
      • Config adjustment
    • gen_fishing
    • gen_hud
Powered by GitBook
On this page

Was this helpful?

  1. Scripts
  2. gen_caseopening

Installation guide

Previousgen_caseopeningNextAccessible files

Last updated 1 year ago

Was this helpful?

Welcome to the Gen Spawn Selector installation guide, here you can learn how to completely install our asset.

If you don't have any experience in development we are highly recommend to follow each step in this documentation, and if you have a developer ask them to install the script for you as they have more experience.


Asset download

Once the purchase is made on our , you will receive your asset directly in your , in the Granted Assets panel you will see the asset, download it and do the following steps to install it correctly.

Once the purchase is made on our , you will receive your asset directly in your , in the Granted Assets panel you will see the asset, download it and do the following steps to install it correctly.

  • Put the script folder to your server. (dont change name)

  • Read the following sql code!

    CREATE TABLE IF NOT EXISTS `gen_case_codes` (
      `code` varchar(50) NOT NULL,
      `points` int(11) NOT NULL DEFAULT 0,
      `used` int(11) DEFAULT 0,
      `usedby` varchar(50) NOT NULL,
      PRIMARY KEY (`code`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
    
    CREATE TABLE IF NOT EXISTS `gen_case_recents` (
      `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
      `identifier` varchar(46) DEFAULT NULL,
      `name` varchar(255) DEFAULT NULL,
      `itemname` varchar(255) DEFAULT NULL,
      `itemimage` longtext DEFAULT NULL,
      `itemstate` varchar(255) DEFAULT NULL,
      `itemprice` int(255) DEFAULT NULL,
      `unix` bigint(255) DEFAULT NULL,
      PRIMARY KEY (`id`)
    ) ENGINE=InnoDB AUTO_INCREMENT=123 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
    
    CREATE TABLE IF NOT EXISTS `gen_case_users` (
      `identifier` varchar(46) NOT NULL,
      `name` varchar(255) DEFAULT NULL,
      `points` int(11) DEFAULT NULL,
      `tasks` longtext DEFAULT '[]',
      `freeusedtime` bigint(255) DEFAULT 0,
      PRIMARY KEY (`identifier`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
  • Start the script in the server.cfg. (ensure gen_caseopening)

official Tebex Store
Keymaster
official Tebex Store
Keymaster
Page cover image