Hello, I tried to use a permbot function(dont ask why) on my server, and the problem was, commands like ulx kick(!kick) and such didnt work, but !fspec and !rcon worked fine?
Now, I dont want you all to discuss why I want a permbot, no, its not for “luring” players, so please, dont discuss.
thanks for your help, here is the code snippet which caused it:
CreateConVar("ows_permbot", "0", nil, "Adds ONE permanent bot to your server, which got godmode, good for TTT spectator.") local function perbotcreate() local pb = player.CreateNextBot(settings2.botname) pb:GodEnable() end hook.Add("PlayerInitialSpawn", "Cus I am dumb in coding", function() if GetConVarNumber("ows_permbot") != 1 then return end if #player.GetAll() == 1 then perbotcreate() end end)
Code is in the init.lua of the addon, worked fine in singleplayer(hadnt ulx installed there) the functions itself of the snipped worked fine, it only bugged ulx. yes, stuff like settings2.botname etc is created, so its not the cause.