Framework_Tanoa_Life
Framework_Tanoa_Life copied to clipboard
Companies are not saved
Good day, I wanted to ask such a question why, after building the company through the admin menu or so after restarting the server, all buildings disappear
You must not shut down the server yourself whenever you want. You have to either wait for a configured reboot or press the reboot button in the admin application in game and wait for the server to kick you. If you don't go though one of these steps, your server won't save and plenty data will be lost.
If you want to be sure that your server has saved data you can look at the server rpt log. You should have lines notifying you that X systems has been saved
thanks. Is it possible to contact you, for example, through a discord?
I'm trying to regroup and keep my framework support on GitHub otherwise my answers are not visible enough and I have to repeat myself :)
another question is how to add all the rights to administrators to several people tried different variations does not work
Each staff member needs to have its own class inheriting from the group you want them to have. Also you need to add each staff UUID in the array at the beginning of the config_staff file
https://github.com/Lyeed/Framework_Tanoa_Life/blob/master/Tanoa-Life.Tanoa/configs/GameConfigs/Config_Staff.hpp
I did so and added on top. But I need to give administrator rights to another 1 person, could you write an example code for 2 people with administrator rights for an example so that I understand how this is done
#define ADMIN_AND_MODO {"2222222222222222","33333333333333"}
class MyAdminName: admin
{
uid="XXXXXXXXXXXXXXXXXX";"XXXXXXXXXXXXXXXXXX";
};
// - Modo
that's what i mean
But that doesn't work
#define ADMIN_AND_MODO {"YourSteamUUID","HisSteamUUID"}
...
...
// - Admin
class admin
{
rank="admin";
teamspeak=1;
slot=1;
skip_checks=1;
};
class MasonsOD: admin
{
uid="YourSteamUUID";
};
class MasonsODFriend: admin
{
uid="HisSteamUUID";
};