Forge Developers | Slack Search | Trello Board Changelog
|
Forge Networking Remastered has been released!!! This is now listed in your Profile!
Go Back

Updating Player Count on Master Server

You always want to have an updated player count for your master server so that users know what size server they are joining. To do this you can use the "UpdateServer" method found on the static ForgeMasterServer class. An easy way to automatically add and remove users is to hook into the "playerConnected" and "playerDisconnected" events found on the NetWorker.

Title

Body

Title

Body


Input:

Title

Body


Input: