Hey guys,
I need your swarm intelligence.
I have got following problem:
On my server i have got one directory of the SteamCMD with GMod.
Out of this directory I run 3 servers.
When the moderators of my server are banning people with the XGUI on server #1, the bans are not synchronozing with #2 and #3.
My problem is, that i need this synchronization, because the hackers or kiddies are able to join the other servers right after they got banned from one server.
I know, that the banlist is configured correctly after a server restart, but when the server is running the list is not synchronized.
I tried to do it like this way:
local function banSync()
ULib.refreshBans
--ULib.queueFunctionCall(ULib.refreshBans)
--ULib.pcallError(ULib.refreshBans)
end
timer.Create("timerBanSync", 10, 0, banSync)
It works partly. All the servers are checking the ban-file continually after 10seconds and get the Steam-ID from the file.
But (now the different parts comes) the ban parameters like reason for banning/name of player/admin who banned the user are deleted bizarelly.
When I check the banlist on another server right after banning a player on one server, the ban is shown there with no more parameters. Also the bans.txt is modified to a ban just with Steam-ID and ban-end-date.
My question here is: Is there a possibility to get the bans synchronized easily just by creating a timer with a call of an existing function or do I need more stuff?
(By the way: I do not want to use databases or other thinngs like that - just using existing functions would be great.)
I hope someone can help me.
Kind regards
Chabber