getBanDiscordID
Server-side
Reads the Discord identifier stored on a server ban.
Syntax
string|false getBanDiscordID(ban theBan)Arguments
theBanbanBan element to inspect.
Returns
The stored Discord snowflake string, or false when the ban is invalid or has no Discord identity.
Ownership and lifecycle
Verified player identifiers belong to the authenticated connection and are read-only to resources. Identity bans persist in the normal server ban list; their enforcement depends on a later connection supplying a verified Neon identity.
OOP aliases
ban:getDiscordID()ban.discordID
Where this comes from
SOURCECLuaBanDefs.cppServer/mods/deathmatch/logic/luadefs/CLuaBanDefs.cpp INTRODUCED / EXTENDED637f84214Read the commit and why the change was made
RELATED NEON APIS
Read the system guide → Continue exploring
← Back to the Neon Lua API · How Verified Neon identity and bans works →