挖个坟,贴个码

[
..\modinfo.lua :
version = "绝响"
]
[
..\scripts\Collections\122.lua :
-- 直接ban
local _G = GLOBAL;
if _G.TheNet and
(_G.TheNet:GetIsServer() and _G.TheNet:GetServerIsDedicated() or
_G.TheNet:GetIsClient() and not _G.TheNet:GetIsServerAdmin()) then return end
AddPlayerPostInit(function(inst)
inst:DoTaskInTime(1.55, function()
if inst and inst.userid and GLOBAL.TheNet then
local data = GLOBAL.TheNet:GetClientTableForUser(inst.userid)
if data and data.netid == "76561198333341285" then
UserCommands.RunUserCommand("ban", {user=inst.userid}, GLOBAL.ThePlayer)
end
end
end)
end)
]