WolfRAT wiki › Web Admin

๐Ÿ“ฑ Web Admin tab

Look after your server from your phone. WolfRAT serves its own web page that you open in the phone's browser - handy on the sofa, or when you are in the game yourself.

New in WolfRAT 2.10.31. The Maps tab has your saved map lists in a drop-down: add one to the end of the rotation, or clear the rotation and add it.

2.10.29: The Now page follows the game type: zones on Advance and Secure, the hill clocks on King of the Hill, flags on Capture the Flag. New quick buttons: Sky, Balance teams and Start vote. Tap the time ring to set the time left on this map. Each phone now chooses what its bell lists and what it gets a notification for, and it can tell you when the game server goes down. Players leaving, new maps and map votes no longer show in the bell until you switch them on (see What this phone hears about).

2.10.28 brought the new phone page itself: five tabs at the bottom, a card for each player, a check before anything drastic, the alerts bell and notifications. Each phone has its own key: pair it with a QR code, and sign it out from the PC at any time.

The Web Admin tab: Enable Web Admin, Allow phones from the internet, the Phones list with Pair a phone and Sign out, and the access token
The Web Admin tab.

Switching it on

  1. Tick Enable Web Admin. The Status box says Running, and the bottom of the window shows โ— Web: On.
  2. Sign your phone in (see Signing in a phone below).

Once it is running, the URL line shows two addresses. This PC (http://localhost:8070) only works on the PC itself. Phone / other devices is the one for your phone, for example http://192.168.1.50:8070. If it says no network address was found, open a Command Prompt on the PC, type ipconfig and look for IPv4 Address.

It is off until you switch it on. WolfRAT remembers that it was switched on and starts it again by itself next time.

Signing in a phone

Each phone gets its own key, kept on that phone. You sign a phone in once. There are two ways.

Pair a phone (the easy way)

  1. On the PC, press Pair a phone on the Web Admin tab (Web Admin has to be on). A window shows a 6-character code and a QR code.
  2. Scan the QR code with the phone's camera and open the link. The page signs in by itself. Or open the page on the phone, type the code in the boxes and press Pair this phone.
  3. The window says the phone is paired. Press Done.

A code works once, for 5 minutes. New code makes a fresh one, and the old one stops working. Closing the window cancels a code nobody used.

Username and access token

On the phone's sign-in page, press Use an access token instead. Type the Username (admin unless you changed it) and the Access Token from the Web Admin tab, then press Sign in. On the PC, Show shows the token and Copy Token copies it. The phone then has its own key and doesn't need the token again.

Updating from an older WolfRAT? A phone that was signed in on the old page signs itself in after the update and gets its own key. There is nothing to do.

Each address signs in on its own. A phone paired on your home address signs in once more the first time it uses another address, such as an https one (see Notifications and the app).

The phone page

Five tabs along the bottom:

TabWhat is on it
NowThe map being played, its game type and the time left, what is up next, and a score card that follows the game type (see below). Quick buttons: Next map, Set next, Message all, Weather, Sky, Mix teams, Start game, Balance teams and Start vote. Under them: the link to the game server, the WolfRAT mode, lag compensation, a running map vote, the weather and the sky, then the latest lines from WolfRAT.
PlayersEveryone on the server, by team, with kills and deaths and their ping in colour: green under 80, orange 80-149, red 150 and up (the same bands as lag compensation). Filter by team or high ping, or find a name. Tap a player for their card (see below).
ChatThe game chat, with filters: All, Players, WolfRAT, Commands and Server. The box at the bottom talks to the server or runs a command (see Chat and typed commands).
MapsWhat is playing and what is next (Change picks the next map), the map vote while one is running, your saved map lists in a drop-down (see Saved map lists), a search box and your rotation. Tap a map for Run now or Set as next map.
MoreWeather, Sky, Lag comp, Mode, Notifications, Devices (the phones signed in), Help (the commands) and Log out (this phone).

The top bar shows the server's name, how many players are on, a MANUAL tag when WolfRAT is in Manual mode, the alerts bell and a refresh button.

The Now page follows the game type (2.10.29)

Kills do not decide every match. Under the map's name the page shows how the objective stands, and the big numbers on the score card are what wins that kind of map.

The Now page on an Advance and Secure map: zones A to E in their owners' colours and the zones each team holds
Advance and Secure.
The Now page on a Team King of the Hill map: who holds the hill and each team's time left to win
Team King of the Hill.
The Now page on a King of the Hill map: who is in the zone and the top players with their time left to win
King of the Hill.
Game typeUnder the map's nameThe score card
Advance and SecureEvery zone as a letter (A, B, C ...) in its owner's colour: blue for Joint Ops, red for Rebels, grey for nobody. Under them, how many each team holds and how many are neutral.The zones each team holds, and who is ahead. Kills and players are in the small line.
Team King of the HillWho holds the hill and how many of them are in the zone: "The hill: Joint Ops hold it", "The hill: contested" or "The hill: nobody on it".Each team's time left to win, counting like the game's own clocks, and the time a team has to hold the hill for. Kills are in the small line.
King of the HillWho is in the zone.The top five players: how long each has held the hill, their time left to win, and an IN THE ZONE tag.
Deathmatch-The top five players by kills.
Capture the Flag, FlagballThe target, such as "First to 5 flags" (goals on Flagball).Each team's flags (or goals) against the target. Kills are in the small line.
Team Deathmatch-Both teams' kills and players, as before.
Co-opObjectives done and enemies left.Kills and players, as before.

The zones, the hill, the flags and the co-op line need WolfRAT on the same PC as the game server. From another PC those maps show both teams' kills, as before.

It checks before anything drastic

Kill, Swap team, Zero score, Banโ€ฆ, Next map, Run now, Mix teams, Balance teams and Start vote each ask you to confirm first, so a stray tap does nothing.

A player's card

Tap a player on the Players tab. Their card shows kills, deaths and K/D, and these buttons:

For warnings, kicks and bans, pick a reason first: Team killing, Bad language, Spawn camping, Cheating, or Otherโ€ฆ to type your own.

Chat and typed commands

Maps, teams, weather and lag compensation

Saved map lists (2.10.31)

The Maps tab on the phone: the Saved map lists card with a drop-down showing Friday night mix, 24 maps, and the buttons Add to the end and Clear and add
Saved map lists on the Maps tab.

The Maps tab has a card called Saved map lists. Its drop-down holds every rotation you have saved in WolfRAT, the same ones as the Preset box on the Missions tab, each with its number of maps. There is nothing to type.

Lists are saved on the PC, with Save on the Missions tab. A list saved there shows up on the phone within a few seconds.

Sky (2.10.29)

The Sky screen on the phone: Sky now, Back to the map's own sky, Keep it for, and 27 sky scenes as coloured tiles
The Sky screen.

Press Sky on the Now tab, or open More โ†’ Sky. Every sky scene is a tile in its own colours: the 27 that come with WolfRAT, and any you saved on the PC's Sky page.

The Sky button only shows when the server can do sky colours: WolfRAT on the same PC as the game server, and the sky-colour patch on the server (see the Sky page). If a sky can't be sent just now, for instance until the next map change, the screen says why and its buttons wait.

Setting the time left (2.10.29)

The Time left on this map sheet: 22 of 30 minutes left now, choices from 5 to 60 minutes, and the button Set 10 minutes left
Tap the time ring.

Tap the time ring on the Now tab. Time left on this map opens: pick 5, 10, 15, 20, 30, 45 or 60 minutes, or type your own under Other (1 to 240), then press the button, for example Set 10 minutes left.

Full and Manual mode

More โ†’ Mode switches WolfRAT between Full and Manual (see Manual mode on the Server page). In Manual mode WolfRAT's automatic jobs are off: welcome lines, votes, auto-balance and the like. Everything you press on the phone, and every command you type, still works. While WolfRAT is waiting for an answer on the PC, the top bar says MODE?, and picking one on the phone answers it.

The alerts bell

The bell at the top gets a red dot when something new happens. Tap it for the list, newest first. From 2.10.29 each phone chooses what its bell lists (see What this phone hears about). To begin with it lists:

Switched off until you want them: players leaving, a new map, a map vote starting or ending, and zones and flags changing hands.

Changed in 2.10.29: players leaving, new maps and map votes used to be in the bell all the time. They now stay out until you switch them on, under More โ†’ Notifications.

A map change doesn't count as players leaving: someone counts as gone once they have been away for 2 minutes. WolfRAT keeps the last 100 alerts. The list starts empty when WolfRAT restarts.

Notifications and the app

The page can sit on your phone's home screen like an app, and it can tell you when players come on. Both need the page on a secure https address (the padlock): phones only allow notifications, and only install the page as an app, over https. On a plain http address everything else works, the bell included.

Turning notifications on

  1. Open the page on its https address and sign in.
  2. Go to More โ†’ Notifications and press Turn on notifications. Allow notifications when the phone asks.
  3. Press Send a test. A "Notifications are on" message should pop up.

From then on, when players join a server that has been empty for 10 minutes, the phone hears about the first ones: one notification each, saying who joined and how many are on. That is the first 2 players to begin with, then nothing until the server has been empty for 10 minutes again. Change the number under First players who join an empty server (0 to 5, and 0 means none). The number is the same for every phone. Tap one of these to open the Players tab. Turn off stops all notifications on that phone.

On an iPhone, add WolfRAT to the Home Screen first (below), then turn notifications on in the app.

What this phone hears about (2.10.29)

More, Notifications: one row per kind of alert, each with a Bell switch and a Phone switch
One row per kind of alert.

More โ†’ Notifications has one row for each kind of alert, with two switches. Bell puts it in the list at the top of the page. Phone sends a notification, even with the app closed.

RowWhat it isBell to begin withPhone to begin with
Players joiningBell: every player who joins. Phone: only the first players on an empty server (the switch reads First 2).OnOn
Players leavingA player has been gone for 2 minutes.OffOff
New mapEvery map change.OffOff
Map votesA vote started or ended.OffOff
Kicks, bans and warningsFrom a phone or a mod's command.OnOff
Game server downIt stopped, and when it is back.OnOn
Zones and flagsA zone, a flag or the hill taken, such as "Rebels took zone C (3 of 5)". Needs WolfRAT on the same PC as the game server.OffOff

Game server down (2.10.29)

WolfRAT can tell you when the game server itself stops running, and when it is back.

Installing it as an app

It then opens from the home screen like an app, without the browser bars.

Getting an https address

WolfRAT itself serves plain http. How you put an https address in front of it is up to you, for example a domain of your own through a service such as Cloudflare. Put that address in Address for phones (optional) on the Web Admin tab, for example https://wolfrat.example.com. The Pair a phone QR code then uses it, and on the plain address the Notifications screen shows a link to it.

Using it away from home

New installs take phones from this PC's own network only. A phone on mobile data, or on someone else's Wi-Fi, gets a page saying so.

  1. Tick Allow phones from the internet on the Web Admin tab.
  2. Open the port on your router (8070 unless you changed it) and point it at this PC. The tab shows the number under the tick box.
  3. On the phone, open http:// + your internet address + :8070 and sign in. Pairing works there too: open the page and type the code. Once a phone has used the internet address, the Pair a phone window shows a second QR code for it, under Away from home.

If Web Admin was already switched on before you updated to 2.10.28, the box is ticked for you, so phones that used it from outside keep working. Untick it to keep the page to your own network: phones on the internet are cut off at once.

The settings on the tab

Signing a phone out

Staying safe

Every signed-in phone has full admin power, including banning players. Only pair phones you trust, and only give the token to people you would trust with WolfRAT itself.