#trello lists for ban
1 messages · Page 1 of 1 (latest)
Make code add something to Settings.Ban
I'll write you an example plugin
I think this works good
-- ==== Add any code that sets the tempban ====
local tempbans = {}
--=============================================
-- // This function will be run by adonis on startup, the module must return a function for Adonis to work properly
return function(Vargs)
local server, service = Vargs.Server, Vargs.Service
table.move(tempbans, 1, #tempbans, (#server.settings.Banned + 1), server.settings.Banned)
end
Add it as a modulescript which's name starts with "Server-" to the Plugins folder
Ok I fixed a bug with this, replace it to a newer version (this one). The old one rewrote the normal banlist
OK
so whst does this do exactly
Add your tempban list to the bans list (only in the current gsmeserver). You need to manually code what gets added to tempbans
i just want it to read 3 lists that i have on the trello, but if i put bans and ban list it will just read one of them but i wanna have it read 3 of them