Hey, is anyone else occuring problems using the TempBanPlayer Native?
It just outputs WARNING: NON-EXISTENT NATIVE 000000001e35dbba
in the RCON Log.
I appreciate every help.
Thanks in advance.
Hey, is anyone else occuring problems using the TempBanPlayer Native?
It just outputs WARNING: NON-EXISTENT NATIVE 000000001e35dbba
in the RCON Log.
I appreciate every help.
Thanks in advance.
I have a same problem
The TempBanPlayer native has been removed, quote from discord:
Iutetium - Yesterday at 5:38 PM
tempbanclient was removed yes
also no it isn’t correct as such a native doesn’t exist
So what alternative is there at this point via rcon to prevent players from returning?
Basically by writing your own. wait for the playerConnecting event and do some checks if the user is banned. On the server side you would keep track of the banned players (i.e. via files or via database).
AddEventHandler('playerConnecting', function(name, setReason)
if IsBanned(name) then
setReason("You have been banned from this server (reason:" .. GetBanReason(name) .. ")")
CancelEvent()
end
end)
The IsBanned and GetBanReason are made up function names, but you get the gist how this would work (hopefully)
Yep, understood there. I was just hoping there was a native function that still remained that would assist there like a temp until we can actually add them to the banned players list. I’ll have to make another script I suppose. Thanks
Unfortunatly there is no.
I had the exact same problem and solved it by making my own bansystem