-
Notifications
You must be signed in to change notification settings - Fork 9
Creating a Server
Caution
If you intend to create a public server, you should avoid hosting it locally as other will not be able to see your server without forwarding ports on your home network (not recommmended). You should prefer using a dedicated game server host which will set up a dedicated Garry's Mod server for you, allowing you to skip the step below, or you can instead opt for a Windows/Linux cloud server provider.
Warning
gRust is licensed under the AGPL-3.0 license. This means that if you are hosting a public server and modify the gamemode's source code or derive from it, you must share the modified source code publicly.
If you want to make a change to the gamemode, you can either Create a Pull Request to the main repository if appropriate, or create a public fork that includes your changes.
Note
You are free to create and use addons or modules that interface with the gamemode without violating
the license as long as they do not directly or indirectly modify GM.Name, GM.Author, GM.Email or GM.Website
To create a gRust server, you must first create a dedicated Garry's Mod server, this can be done by Following the Official Guide.
Once you have a dedicated server set up, add the following command line variables to your startup script:
+host_workshop_collection 3636690408
+gamemode rust
+map rust_highland
Now you can simply run your startup script and it should create a server running the gRust gamemode.
Tip
If you want to use a custom map, you can get remove the +host_workshop_collection variable (or replace it with your own workshop collection ID) and change +map to
the filename of your desired map in your server's garrysmod/maps directory.