Automatically install process (retrieve server data)
Upon the initial use of the resource, it will automatically trigger installation mode. During this process, data will be retrieved from your database and seamlessly transferred into the panel's database. This ensures that all necessary information is integrated and ready for use within the panel's system.
If you wish to restart the installation mode at any point in the future, you will need to remove the installed.txt file. Once the file has been deleted, simply restart the resource, and the installation process will begin again, allowing data to be pulled and re-integrated as needed.
How can I become an admin?
A person with access to the server's server side console will need to run the setadmin <citizenid>
command
How do I remove someone's admin?
A person with access to the server's server side console will need to run the removeadmin <citizenid>
command
Recommanded
Event: syn:OnServerRestart
We recommend triggering the server-side event syn:OnServerRestart
before restarting the server.
This ensures that all necessary processes are completed and data is properly synchronized before the server shuts down.
- txAdmin scheduled Restart event
AddEventHandler('txAdmin:events:scheduledRestart', function(eventData)
if eventData.secondsRemaining == 60 then
Citizen.CreateThread(function()
Citizen.Wait(20000)
TriggerEvent('syn:OnServerRestart')
end)
end
end)
Or, at the very least, using the pushlogs
command from the server-side console before shutting down the server.