# How to Find Your Aloft Server Room Code (/docs/aloft/room-code)







import { Step, Steps } from 'fumadocs-ui/components/steps';

The room code lets players join your server directly without searching the browser. It's generated automatically on startup.

Find the Room Code [#find-the-room-code]

<Steps>
  <Step>
    Start the server [#start-the-server]

    In the [XGamingServer Panel](https://panel.xgamingserver.com), start your server from **Console**.
  </Step>

  <Step>
    Open ServerRoomCode.txt [#open-serverroomcodetxt]

    Click **Files** in the sidebar and look for `ServerRoomCode.txt` in the server root. Open it — the room code is inside.

        <img alt="File Manager showing ServerRoomCode.txt" src={__img0} placeholder="blur" />

    You can also see the room code in the **Console** output at startup:

        <img alt="Console showing Server Ready with code" src={__img1} placeholder="blur" />
  </Step>

  <Step>
    Share with players [#share-with-players]

    Players enter the room code in the **Join Game** menu to connect directly.
  </Step>
</Steps>

> The room code changes every time the server restarts. Share the new code after each restart.

Related Guides [#related-guides]

* [How to Join](/docs/aloft/join-server)
* [Server Settings](/docs/aloft/server-settings)
