For the complete documentation index, see llms.txt. This page is also available as Markdown.

Configuration Files

1. Adjust config.lua to your server core

  1. Adjusting the script to your server core

Config.Core = "ESX"
Config.CoreExport = function()
    return exports['es_extended']:getSharedObject()
end

  1. Adjusting the PlayerLoaded trigger from server core to the script

Config.PlayerLoaded = "esx:playerLoaded"

  1. Adjusting the PlayerLoadedServer trigger from server core to the script

Config.PlayerLoadedServer = "esx:playerLoaded"

  1. Adjusting the PlayerLogoutServer trigger from server core to the script

Config.PlayerLogoutServer = "esx:playerDropped"

  1. Adjusting the JobUpdated trigger from server core to the script

Config.JobUpdated = "esx:setJob"

  1. Adjust the Menu to your menu script

  1. Adjusting GetClosestPlayersFunction to your core

2. Adjust config.lua to server preferences


  1. Target: If you use a target, markers for gym activities will not be displayed - the marker will remain for the boss menu


  1. EnableMemberships: If you use in any gym the required membership, run it then it will work correctly reading memberships


  1. EnableGiveMembership: Allows employees to give gym memberships.


  1. EnableStrenghtModifier: In the config.client.lua file, you can modify the player's hitting power with certain power stats.


  1. EnableRunSpeedModifier: In the config.client.lua file, you can modify the player's running speed with certain condition stats.


  1. EnableStaminaModifier: In the config.client.lua file, you can modify the player's stamina level with certain condition stats.


  1. AutoMembershipForEmployees: Every gym employee will have a gym membership with no requirement to buy one


  1. UseCustomQuestionMenu: if you want to use for example vms_notify Question Menu, set it true, if you want to use Config.Menu to accept / reject of buying membership


  1. UseProgressbar: If you want to use a progress-bar for the exercises you are doing, you can do so below.


  1. UseSkillbar: If you want to use a skill-bar for the exercises you are doing, you can do so below.


  1. StatisticsMenu:

Last updated