Step-by-Step Guide to Adding Yourself as Admin in txAdmin
Step 1: Get Your Steam Hex ID or Cfx.re Account ID
You need a unique identifier that txAdmin will use to grant admin privileges. The most common identifiers are your Steam Hex ID or your Cfx.re account ID.
To Get Your Steam Hex ID:
- Go to https://steamid.io/.
- Enter your Steam profile URL.
- Your Steam Hex ID will be displayed (it starts with steam: followed by a string of numbers).
To Get Your Cfx.re Account ID:
- Go to https://forum.cfx.re/ and log in to your account.
- Click on your avatar in the top-right corner and select Preferences.
- Your Cfx.re account ID will be listed in the URL of your profile (e.g., https://forum.cfx.re/u/yourusername). You can use this for admin purposes.
Step 2: Access the txAdmin Web Interface
- Start your FiveM server.
- Open your web browser and go to https://localhost:40120
- Log in to the txAdmin panel. If this is your first time logging in, you’ll be prompted to set up an admin account during the initial configuration. Follow the on-screen instructions.
Step 3: Add Yourself as Admin Using Your Identifier
Once you're logged into txAdmin:
- Go to the Settings tab in the txAdmin panel.
- Select Admin Manager under the Management section.
- Click the Add button to add a new admin.
- In the Identifier field, enter your Steam Hex ID or Cfx.re account ID. It will look like:
- Set the Permission Level:
- Optionally, you can set a nickname for easy identification.
- Click Save.
Step 4: Restart the Server
After adding yourself as an admin, you will need to restart your FiveM server for the changes to take effect.
- Either restart the server via txAdmin using the Server Restart button or manually stop and start the server from your hosting service or terminal.
Step 5: Verify Admin Access
Once the server has restarted:
- Launch FiveM and join your server.
- Press T for chat and type /txadmin.
- You should now have access to admin tools and the txAdmin panel in-game. You can also use admin commands like /kick or /ban in the chat or console.
Conclusion
By following this guide, you’ve successfully added yourself as an admin on your FiveM server using txAdmin. This will allow you to fully control your server, moderate players, and manage settings directly from the admin panel.