How to Make a Garry’s Mod Server Private

GMOD server setting
Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn
Share on pinterest
Pinterest
Share on reddit
Reddit
Share on whatsapp
WhatsApp
Share on email
Email

Garry’s Mod is an incredibly popular sandbox game developed by Facepunch Studios. It allows users to construct their own worlds, creates custom game modes, and even play with friends online. 

However, if you want to make sure your server remains private and secure, there are a few steps you can take to make sure your server is as secure as possible! Here’s how to do it:

How to Make a Garry's Mod Server Private: 2 Methods

If you wish to create a Garry’s Mod server for yourself and a small group of friends, you may wish to restrict your GMod server so that random players cannot join without your permission. Here are the steps you should follow:

Setting Up a Password

When joining a server, Garry’s Mod includes a password function that prompts the user for a password. Anyone who knows this password can join your server, so it is essential to select a secure, difficult-to-guess code and only share it with trusted individuals.

GMOD server setting

Using an Allow List

Using a list of SteamIDs to identify who is permitted to join your server [1] is another method for protecting it from unwanted visitors. 

Pay close attention to quotation marks, commas, and brackets, as duplicating them or omitting them where necessary will result in this function not to work.

GMOD on Steam Library

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)

Conclusion

By taking the extra steps to secure your server, you can make sure that only those who you trust can join your server and play with you. With these steps, you can ensure that your Garry’s Mod server remains close and secure!

Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn
Share on pinterest
Pinterest
Share on reddit
Reddit
Share on whatsapp
WhatsApp
Share on email
Email
Matthew Paxton
Matthew Paxton
Mathew has nursed a love of video games since childhood. Now, as an adult, he enjoys playing challenging games as much as he enjoys relating with other gamers. Matthew created Hypernia to give gamers like himself accurate and reliable information about games, servers, communication protocols, and much more.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to Top