How To Ban Players On Your VEIN Server
Learn how to ban players from your VEIN dedicated server using the admin menu or manually via config files.
This guide covers two methods for banning players from your VEIN server. The quickest way is through the in-game admin menu, but you can also ban players manually by editing the Game.ini configuration file when someone is offline.
Using the Admin Menu (Recommended)
The easiest way to ban a player is through the in-game admin menu. You must be an admin to access this feature. If you haven't set up admin access yet, follow the adding admins guide first.
📝 Note: The player you want to ban must be online for this method to work. Use the manual banning method below if they are offline.
Connect as an Admin
Join your VEIN server with an account that has admin privileges.
Open the Admin Menu
Press \ on your keyboard to open the admin menu.
Ban the Player
Select Players, choose the player you want to ban, and click Ban.
Manually Banning Players via Game.ini
If the player you want to ban is offline, you can ban them by editing the Game.ini configuration file directly. You will need the player's SteamID64.
Finding a Player's SteamID
If you don't know the player's SteamID64, you can find it in the server logs:
Open the Files Page
Log in to the XGamingServer Panel and select your VEIN server. In the sidebar, go to Files.
Search the Logs
Navigate to Vein/Saved/Logs and open Vein.log. Press CTRL + F and search for the player's name. You will see an entry like:
Name=TheNaughtyPlayer??ID=76561128104241123?The number after ID= is their SteamID64. Copy it for the next steps.
Banning the Player
Stop Your Server
Log in to the XGamingServer Panel and Stop your VEIN server.
Edit Game.ini
In the sidebar, go to Files. Navigate to /Vein/Saved/Config/LinuxServer/Game.ini and add the section [/Script/Vein.VeinGameStateBase] if it doesn't already exist.
Add Ban Entries
Add the player's SteamID64 to BannedPlayers= and optionally add a reason with BannedReasons=. For multiple players, create a new line for each pair:
[/Script/Vein.VeinGameStateBase]
BannedPlayers=76543298106341634
BannedReasons=Cheating
BannedPlayers=45661198106341623
BannedReasons=Griefing
BannedPlayers=12361198106341612
BannedReasons=Toxic behaviorStart Your Server
Go to Console and Start your server. The banned players will no longer be able to connect.
💡 Tip: To unban a player, simply remove their
BannedPlayers=andBannedReasons=lines from the file, then restart the server.
How is this guide?
