🛠️Setup
This is a detailed setup guide for Ultimate License System. If you have any questions before making a purchase, you can contact us on Discord
Last updated
This is a detailed setup guide for Ultimate License System. If you have any questions before making a purchase, you can contact us on Discord
Last updated
Setting Up the Script
First things first: if you want to change the language, you can do so by modifying the language.lua
file and directly editing the HTML file. This allows you to translate the entire script into your preferred language.
Specify your server type here. For QB, ESX (QBbox users, write QB).
To configure the ID card settings, you can start by adjusting the animation for how the ID is displayed. You also have the option to set the ID to automatically disappear after a certain amount of time or allow users to press the "E" key to manually hide the license. Additionally, you can enable metadata-based ID cards, which assign unique IDs containing information about the person who owns them. This feature ensures that if someone steals another person's ID, the information displayed will still belong to the original owner. Please note that your inventory system must support metadata for this feature to work. If it doesn't, you should disable this option by setting it to false.
You can choose from three profile picture modes: Studio, Auto, and None. Each mode is detailed within the config, allowing you to select the one that best suits your needs. If you opt for Studio mode (which requires metadata to be enabled), you can further configure it to support a greenscreen mode for background-free images.
Configure access to the License Creator, which is used to create live in-game licenses, you can set up the command name using the 'creatorCommand'
parameter. Additionally, you can restrict access to this command by specifying criteria such as Discord user ID, Steam ID, FiveM ID, Ace permissions, or specific jobs, ensuring that only authorized users can create licenses.
License Checker settings allow you to configure the command used for checking and verifying issued licenses, similar to the License Creator. You can restrict access to this command by specifying identifiers such as Discord user ID, Steam ID, FiveM ID, Ace permissions, or specific jobs. This setting is particularly useful for allowing emergency units to verify the licenses of players in-game.
In the Fake/Forge ID Creator settings, you can enable or disable the system as needed. You can specify the item name using the 'itemName'
parameter for the fake or forged ID and even add multiple locations where this menu can be accessed. If you prefer not to use it in this way, you can configure it to suit your needs by using the events provided in the Events and Exports section below. This flexibility allows you to tailor the system to your specific requirements.
In this section, you can configure the License Collection menu, where players can collect their issued licenses. You can add multiple locations for this menu, as shown in the configuration. Additionally, you can specify which types of licenses will be displayed for collection in the menu, such as Public ID, Job ID, or Worker ID. This allows you to customize the menu to display only the relevant licenses for players at certain locations.
In this section, you can configure the Job Management panel. You can create multiple management panels as needed, as shown in the configuration. Specify the minimum job rank required to access each management panel and add the same panel to various locations if necessary. Additionally, you can enable job badges for specific jobs and customize them by changing the logo, theme colour custom backgrounds, price, and item name of the job badge. These job panels are essential for allowing certain jobs to issue specific public licenses that were created using the License Creator in-game.
In this section, you can add Worker IDs by specifying the job name, item name, title, logo, theme colour, and price. You can add an unlimited number of Worker IDs, similar to job badges and public licenses. Worker IDs are required for certain jobs and do not require management to issue or revoke them.
Note: Remember to put all license items on your server after creating them. For example, the Job Badges Item from the config and the License Inventory Item from the Creator UI. These items must be on your server for you to be able to use them
License Collection Menu (Enable/Disable types as required)
Check whether a player has a certain license issued
Check whether a player has a certain license issued (server side):
Give Iicense Item (Public and Job) *If a license type is issued based and the player does not have that license, this export will not function. Instead, use the RegisterCard
export for such cases
Issue license (Public and Job)
Revoke issued license
Give Worker ID Item
Fetch Player's Profile Picture *Note: This will not work if the profile mode is set to 'None' in config
Fetch all issued licenses from a player
Fetch all available to manage licenses from a job