Privacy notice This website only uses technically necessary cookies. Statistics, marketing and external services are not loaded without JavaScript. Learn more in our Privacy Policy.
Privacy notice This website uses only technically necessary cookies. Statistics, marketing and external services are not loaded without JavaScript. Read more in our Privacy Policy.
Informacja o prywatności Ta strona używa wyłącznie technicznie niezbędnych plików cookie. Statystyka, marketing i usługi zewnętrzne nie są ładowane bez JavaScript. Więcej w naszej Polityce prywatności.
Information sur la confidentialité Ce site n’utilise que des cookies techniquement nécessaires. Les services de statistiques, de marketing et les services externes ne sont pas chargés sans JavaScript. Plus d’informations dans notre Politique de confidentialité.
Avviso sulla privacy Questo sito usa solo cookie tecnicamente necessari. I servizi statistici, di marketing ed esterni non vengono caricati senza JavaScript. Maggiori informazioni nella nostra Informativa sulla privacy.
Aviso de privacidad Este sitio web solo usa cookies técnicamente necesarias. Los servicios de estadística, marketing y externos no se cargan sin JavaScript. Más información en nuestra Política de privacidad.
Privacymelding Deze website gebruikt alleen technisch noodzakelijke cookies. Statistiek-, marketing- en externe diensten worden zonder JavaScript niet geladen. Meer hierover in onze Privacyverklaring.
Privatlivsinformation Denne hjemmeside bruger kun teknisk nødvendige cookies. Statistik-, marketing- og eksterne tjenester indlæses ikke uden JavaScript. Læs mere i vores Privatlivspolitik.

Add a GMod loading screen: sv_loadingurl step by step

In Garry's Mod, a custom loading screen is a web page that the server specifies while players connect. One line in the server.cfg is all it takes. Here's what it looks like, where it goes and what to do if it doesn't show up.

A free customer account is all you need. No web space, no code, no payment details.

garrysmod/cfg/server.cfg
// Loading screen from tools.nexthosting.app
sv_loadingurl "https://tools.nexthosting.app/loadingscreen.php?s=00025&steamid=%s&mapname=%m"

The line

This line goes into your server's server.cfg. Replace the address with the one for your loading screen – the generator gives you the finished line.

What %s and %m mean

%s
Garry's Mod fills in the player's SteamID64 here. The screen uses it to show the Steam name and avatar.
%m
This holds the name of the map the player is connecting to, for example rp_downtown_v4c.

Leave both placeholders exactly as they are. Garry's Mod replaces them itself.

Where the server.cfg is

  1. The file is in your server's garrysmod/cfg/ folder. If it doesn't exist yet, create it there.
  2. If there is already a line with sv_loadingurl in it, replace it – only one counts.
  3. After saving, restart the server. The setting is read at startup.

On a Garry's Mod server from Nexthosting: customer area → your server → Files → garrysmod/cfg/server.cfg.

"Setup" page with the ready-made sv_loadingurl line and copy button
"Setup" page with the ready-made sv_loadingurl line and copy button

The loading screen doesn't show up?

  1. Only one slot

    Garry's Mod only shows custom loading screens on servers with more than one slot. In single-player or with maxplayers 1 you see the default screen.

  2. cl_enable_loadingurl is off

    Players can turn off custom loading screens with the console variable cl_enable_loadingurl 0. With cl_enable_loadingurl 1 they are back on.

  3. Wrong or duplicate line

    Check the quotation marks and that the address starts with https://. With two sv_loadingurl lines, the later one wins.

  4. Server not restarted

    The server.cfg is read at startup. Restart once after changing it.

  5. Page loads too slowly

    Until the page has loaded, Garry's Mod shows the default screen. Large background images slow that down – the generator shrinks uploaded images automatically.

What doesn't work on a loading screen

  • Clicking: Garry's Mod disables the mouse on the loading screen. Links don't work – show addresses as text.
  • Videos: the built-in engine (Chromium 86) doesn't play MP4. Music as MP3 or OGG works.
  • The bottom-right corner: that's where Garry's Mod's loading window sits. Anything you place there gets covered.

How it gets onto your server

Three steps, none of them with code

  1. Design selection in the editor with real previews of the five designs
    Step 1

    Choose a design

    Sign in with your customer account and start with one of the five designs. The preview shows the real screen.

  2. "Setup" page with the ready-made sv_loadingurl line and copy button
    Step 2

    Copy the line

    After saving you get the ready-made sv_loadingurl line – one click puts it on your clipboard.

  3. garrysmod/cfg/server.cfg
    hostname "Nexthosting City"
    sv_allowdownload 1
    sv_loadingurl "https://tools.nexthosting.app/
      loadingscreen.php?s=00017
      &steamid=%s&mapname=%m"
    Step 3

    Into the server.cfg

    Paste the line, restart the server, done. Later changes in the editor go live instantly, no new line needed.

Frequently asked questions

Can I use any web page as a loading screen?

Technically yes, as long as the address starts with http. But it has to work in Garry's Mod's old engine and leave the bottom-right corner free – the generator takes care of both.

Do I have to re-enter the line after changing the screen?

No, if you use the generator. The address stays the same, only the content changes.

Does it also work on servers rented from other providers?

Yes, on any server where you can edit the server.cfg and restart the server.

Your server, your first impression

The loading screen is the first thing new players see of your server. Make it something that looks like you.

A free customer account is all you need. No web space, no code, no payment details.