How to make your Garry's Mod server private
📘 Knowledgebase Article: https://shockbyte.com/billing/knowledgebase/389/How-to-Make-your-Garryandsharp039s-Mod-Server-Private.html
⚡ALLOWEDPLAYERS.LUA CODE⚡
local allowed = {
['YOURSTEAMIDHERE'] = true,
['ANOTHERSTEAMIDHERE'] = true
}
hook.Add('CheckPassword', 'AllowList', function (sid64)
if not allowed[sid64] then return false, 'You are not allowed on this server!' end
end)
🌐 SteamID.io: https://steamid.io
OTHER TUTORIALS
🔸 How to Create a Steam Workshop Collection for Your GMOD Server: https://youtu.be/26ncSkJyBbU
🔸 How to Automatically have Players Download Workshop Addons On Your Garry's Mod (GMOD) Server: https://youtu.be/OBDdOH2r1ME
Minecraft and Game Server Hosting from Shockbyte: https://shockbyte.com/r/youtube
⚡ CONNECT WITH US! ⚡
Website: https://shockbyte.com/
Twitter - https://twitter.com/Shockbyte
Facebook - https://www.facebook.com/shockbyte
Instagram - https://www.instagram.com/shockbyte/
Discord - https://shockbyte.com/discord
00:00 - Intro
00:22 - Setting a server password
01:10 - Using an allow list
02:26 - Outro
Other Videos By Shockbyte
Other Statistics
Garry's Mod Statistics For Shockbyte
Shockbyte currently has 36,272 views spread across 8 videos for Garry's Mod. His channel published less than an hour of Garry's Mod content, roughly 2.41% of the content that Shockbyte has uploaded to YouTube.