Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

On a Garry’s Mod server running ULX, ban an online player from the server console with ulx ban PlayerName 30 reason, or use !ban PlayerName 30 reason in administrator chat. Replace 30 with the number of minutes; use 0 for a permanent ban. If the player is offline or their name is ambiguous, target their SteamID with ulx banid STEAM_ID 30 reason. Reverse a ULX ban with ulx unban STEAM_ID.

What you need before issuing a ban

The commands in this guide assume your server has the ULX Admin plugin and its ULib dependency installed and loaded. You also need either access to the dedicated server console or an in-game account with the appropriate ULX access group. A command typed by a player without permission may produce no visible result, return an access-denied message, or be unavailable in the command list.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Server console: accepts ULX commands without the exclamation mark and is useful when the player is disruptive, chat is unavailable, or you need a reliable audit trail.
  • In-game administrator chat: accepts the same action through a ! command, provided your account can use that ULX command.
  • Target identity: use the exact current name for a connected player, or a SteamID when the player is offline, has changed names, or several players have similar names.
  • Reason and duration: decide these from your published rules before entering the command. ULX treats the minutes value as the duration and uses 0 for a permanent ban in the documented workflow.

The ULX implementation gives ulx banid a default superadmin access level. Server owners can change ULX groups and command permissions, so the effective requirement on your server may be stricter or different. If ULX commands are not recognized, check that both ULX and ULib are loaded rather than repeatedly retrying a correctly formed command.

ULX ban commands at a glance

Purpose Server-console syntax In-game chat syntax Target and notes
Timed ban for a connected player ulx ban PlayerName minutes reason !ban PlayerName minutes reason Uses the player’s current name; the reason is optional.
Permanent ban for a connected player ulx ban PlayerName 0 reason !ban PlayerName 0 reason 0 means permanent in the documented ULX workflow.
Timed ban by identity ulx banid STEAM_ID_OR_STEAMID64 minutes reason !banid STEAM_ID_OR_STEAMID64 minutes reason Works when the player is offline and avoids name ambiguity.
Permanent ban by identity ulx banid STEAM_ID_OR_STEAMID64 0 reason !banid STEAM_ID_OR_STEAMID64 0 reason Use the exact SteamID format accepted by your server build.
Remove a ULX ban ulx unban STEAM_ID_OR_USERNAME !unban STEAM_ID_OR_USERNAME Supply the SteamID when possible; a username is less reliable if it has changed.

Do not include angle brackets from the notation in an actual command. For example, enter a real player name, number, and reason in place of PlayerName, minutes, and reason. Spaces separate the arguments, so a multi-word reason belongs after the duration and can be written as ordinary words.

#1 Best Overall
Sale
Compressed Air Duster,130000RPM Super Power Cordless Air Duster,Rechargeable Brushless Blower,3 Gear Adjustable Blower with LED Light,Dust Remover for Computer/House/Outdoor/Car
  • Powerful Turbo Fan:CAGIWIRU Electric Air Duster have reached speed up to 130000RPM,Can efficient remove dust and debris.With LED light and Three Adjustable Speed to meet with different cleaning tasks.
  • With Attached USB C Fasting Charging cable.Charing 3 hours,Enjoy up to 240 minutes of use on the lowest setting, For third speed can use for 25mins.with four charging options to meet with your needs.
  • Wide Application: attached 5 different nozzles,making it suitable for a variety of scenes, such as car,pet, pc, keyboards, and other electronic devices. It also serves for office and home clean duster.
  • Handy Design & Portable:Cordless air duster electric nozzle is Light weight and small size, design and comfortable to hold and space saving, convenient to carry around. You can put it in your room or inside the car without taking up space.
  • Economical &Reusable: Built durable materials with a long-lasting battery,our CAGIWIRU air duster it's a sustainable alternative to disposable air cans.

Ban an online player by name

1. Confirm the target

Identify the connected player in the ULX player selector or by checking the exact name shown in the player list. Names can contain spaces, punctuation, or characters that make a partial match select the wrong person. If two names match the same fragment, stop and use the player selector or SteamID instead. A ban is an administrative action, not a substitute for confirming identity.

2. Choose a duration and reason

Use minutes for a temporary sanction. For example, a 30-minute ban for a repeated rule violation is entered with the duration 30. To make the ban permanent, enter 0. Keep the reason short and factual, such as “repeated rule violation” or “mass prop damage”; avoid insults, speculation, or private information.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

3. Run the console command

In the dedicated server console, enter:

ulx ban PlayerName 30 repeated rule violation

For a permanent result, change only the minutes argument:

ulx ban PlayerName 0 repeated rule violation

ULX applies the action to the selected connected player and records the administrative action according to the server’s logging configuration. If the name contains spaces, use the exact name handling supported by your ULX version or select the player through the admin menu instead of guessing at quoting rules.

4. Use the chat form when appropriate

An administrator with in-game ULX access can issue the equivalent action in chat:

Rank #2
EVEO® Screen Cleaner Spray Kit (Streak-Free) TV Screen Cleaner for Smart TV, Lcd, LEd, Oled | Computer Screen Cleaner Spray and Wipe Microfiber Cloth - TV, Monitor, Laptop, iPad, Car - 6.7oz 1 Pack
  • Screen Cleaner is Your Screen’s New Bestfriend! - EVEO is proud to present a screen cleaner that’s perfectly suited for your TV. Meet your new screen cleaner, computer screen cleaner, laptop cleaner, iPad cleaner, Macbook,tv cleaner or any other electronic device. Our screen cleaner spray and wipe along with the included plush microfiber cloth, easily removes dust, fingerprints & other smudges on the screen’s surface. Clean effectively for a streak-free screen
  • Gentle on your Screens - Our screen cleaner spray and wipes is compatible to be used even for the most sensitive LCD, LED, CRT, and OLED screens in proper use. Be at ease knowing that this product is compatible with all the major brands: LG, SONY, Samsung, Sharp, iPad, iPhone, Android screens, Kindle, PC monitors - we’ve got you covered! Can be used as LCD screen cleaner, tv cleaner, smart tv screen cleaner, and more
  • Premium Super Soft Plush Microfiber Cloth - Included in this efficient screen cleaning kit. This screen cleaner spray and wipe has our signature plush microfiber cloth specially designed to comply with screens and monitors and leave them streak-free. Has been shown to effectively absorbs stubborn stains, zero streaks, and no fiber shedding. Always use this together with our screen cleaner for the best results
  • Easy-to-Use Screen Cleaner Kit + microfiber cleaning cloth - The EVEO Screen Cleaning Kit will easily be your new favorite tool when it comes to taking care of the things you love most, quick and easy solution for a streak-free screen. Simply screw on the sprayer gun on the screen cleaner bottle. Spray the cleaning liquid onto the microfiber cloth, then wipe the screen until desired cleanliness & shine is achieved.
  • Quality Screen Care Kit Worth Purchasing - Enjoy a convenient Screen Cleaner anytime, anywhere you need it. Your satisfaction is our top priority. We stand behind the quality of our products and that’s why, you shouldn’t be worrying at all. We manufacture the Best Screen Cleaner. and can be used for laptop cleaning kit, laptop screen cleaner, tv screen cleaner for smart tv. MacBook screen cleaner, monitor cleaner or screen cleaner spray for electronic devices with microfiber cleaning cloth
!ban PlayerName 30 repeated rule violation

Chat commands are convenient when you do not have the console in front of you, but they expose the command to the normal in-game chat flow. Use the server console for sensitive reasons or when you need to avoid broadcasting administrative details.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

5. Confirm the result

Check that the player was removed or denied re-entry and that the ban appears in the ULX or server log. If the player remains connected, verify that you targeted the intended name, that your account has ban permission, and that ULX is loaded. Do not immediately stack several bans while diagnosing a failed command; that can create confusing records.

Ban an offline player or avoid name ambiguity with a SteamID

A SteamID is the safer target when the player has already disconnected, changes their display name, or shares a similar name with another player. Obtain the identifier from a trusted server record, an administrative player list, or the player’s established profile information. Check every character before submitting it; a one-character error can identify a different account or simply create no usable ban.

Timed identity ban

Use the identity form in the console:

ulx banid STEAM_ID_OR_STEAMID64 30 repeated rule violation

Replace the placeholder with the actual SteamID or SteamID64 accepted by your ULX installation. The same structure can be entered in administrator chat with !banid instead of ulx banid.

Permanent identity ban

Set the minutes argument to 0 when the rule or incident warrants a permanent action:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
BladeHawks RGB Gaming Mouse Pad Extra Large Extended 31.5x12 Inch-Black | LED mouse pad with 14 lighting modes, covers keyboard & mouse, anti-slip rubber base, waterproof surface, USB powered
  • 【Large size】:Measuring 800 x 300 mm/ 31. 5×12 inches, which is wider and taller than others. Large mouse pad can perfectly fit your keyboard and mouse of any size, and there is also ample space for peripherals such as phones, tablets, etc.
  • 【LED backlight mouse pad】:Blade Hawks RGB mouse pad provides 7 static modes and 7 dynamic modes will give you the options you are looking for. Power-off memory function remembers the last lighting mode you selected. The super glow fiber Chroma will give you a colorful gaming setup that you want.
  • 【Anti-slip rubber base】:Made from Natural rubber, this gaming mousepad will firmly grip your desktop, allowing you to enjoy the ultimate precision in the games you are most passionate about. It also comes with a texture that enhances this ability even further.
  • 【Smooth and waterproof surface】: Micro-textured cloth surface, for extremely precise mouse control and a smooth movement. When liquid splashes on the gaming mouse pad, it forms water droplets and slides down. Will not delay your work or gameplay.
  • 【Plug and play】: This mouse and keyboard pad is powered by USB, plug and play, no driver required. One button control light modes. Press one time to change the lighting mode, press twice to change the brightness, press and hold about 3 seconds turn ON/OFF.
ulx banid STEAM_ID_OR_STEAMID64 0 repeated rule violation

The ULX implementation validates the supplied SteamID, logs the operation, and queues the ban. Its identity path is designed for player accounts rather than the listen-server host or bots; those targets are rejected by the implementation. The default access level for this command is superadmin, although local permission settings can override defaults.

Why identity targeting is preferable for recurring offenders

  • A display name can change immediately after a ban, while the account identifier remains the administrative reference.
  • Offline targeting lets you act after reviewing logs or a report instead of requiring the player to reconnect.
  • Identity targeting reduces the chance that a partial name selects the wrong connected player.

Choose the duration and write a defensible reason

Timed bans

A timed ban is appropriate when your rules specify a cooling-off period, escalating penalty, or temporary removal while staff review an incident. Enter the duration in minutes. The number is not a clock time or a date; it is the length of the ban from the moment ULX accepts the command.

Permanent bans

In the documented ULX workflow, 0 in the minutes position creates a permanent ban. Reserve this for conduct covered by your published permanent-ban policy, and record enough factual context that another administrator can understand the decision later.

Reasons and moderation records

The reason argument is optional, but omitting it makes later review harder. State the rule or observable behavior, not a conclusion about the player’s character. Include an incident identifier or date in a separate staff log if your community uses one; do not put passwords, addresses, real names, or other private information into a public reason field.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Console, chat, or admin menu: which interface should you use?

Interface Best use Advantages Risks and limitations
Dedicated server console Urgent enforcement, offline identity work, and staff-only actions Does not depend on player chat; provides a clear command record; works when the target is not in front of you. Requires console access and correct server selection; a typo can target the wrong account.
ULX administrator chat Routine actions while actively moderating a session Fast and available from the game; uses the same ULX command family. Requires in-game permission; command and reason may appear in chat according to server settings.
ULX player selector or menu Names with spaces, similar names, or administrators who prefer point-and-click targeting Reduces manual name-entry errors and exposes the permissions available to your account. Still depends on ULX being loaded and on your group having ban access; menus may expose fewer options than the console.

These interfaces reach the same ULX moderation system when they invoke the same command. Pick the one that gives you the most reliable target and the least chance of exposing sensitive staff information.

Rank #4
Sale
Vaydeer Wrist Rest for Keyboard and Mouse, Computer Ergonomic Wrist Support Pad, Soft Memory Foam Arm Cushion for Desk, Palm Hand Office Laptop Typing
  • 【Softer and More Comfortable】Vaydeer wrist rest has unique diamond pattern, which is the combination of softness and aesthetics. The materials of wrist rest are improved into higher quality memory foam and covered with silky smooth lycra. The computer wrist rest makes you as comfortable and cushiony as like rest your wrists on clouds.
  • 【Ergonomic Wrist Saver】The wrist rests for keyboard and mouse comes with a 17.32×3.15×0.83 inch keyboard wrist pad and a 5.94×3.15×0.83 inch mouse wrist support. Based on ergonomic design, the unique concave shape is the perfect fit for your wrist joints. The wrist rest pad fits most computer keyboards and laptops, improve hand and wrist posture, release your wrist and arm stress.
  • 【Non-Slip Rubber Bottom】Featuring an anti-skid silicone base on the bottom, this wrist keyboard support stays firmly in place on your desk, preventing the padding from sliding around, ensuring stable and consistent wrist support during extended computer sessions.
  • 【Better Experience & Pain Relief】Our keyboard arm rest is beneficial to alleviate the soreness caused by direct contact and friction between your arm and a hard desk surface, reducing the risk of wrist fatigue or carpal tunnel. The soft texture of memory foam can evenly distribute the pressure around your wrists and provide good support with just enough give.
  • 【Helpful in Multiple Scenarios】Whether you're working, studying, writing, typing, gaming, this keyboard and mouse rest combo is an essential accessory to add comfort and support to your hands and wrists. It’s also a great gift for men, women, family, friend, coworker, gamer, teacher, etc.

Unban a player

For a ULX-managed ban, use the identity whenever possible:

ulx unban STEAM_ID_OR_USERNAME

The in-game form is:

!unban STEAM_ID_OR_USERNAME

A username can work, but a SteamID is more dependable because display names change. If the command reports that no matching ban exists, check the identifier format, spelling, and whether the ban was created by ULX or by a native server mechanism. Removing a native ban may require the corresponding native removal command rather than ULX’s unban command.

Native Garry’s Mod ban mechanisms

ULX is an add-on layer. Server-side Lua can also call Garry’s Mod’s native Player:Ban(minutes, kick) method. The first argument is the duration in minutes; the second controls whether the player is kicked as part of the operation. A script that passes true for kick removes the player immediately, while a false value leaves the connection decision to the surrounding code.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Native bans are useful when a custom gamemode or moderation system already performs its own checks, logging, and permission handling. They do not automatically grant ordinary administrators access: your script must authenticate the administrator, validate the target, and record the reason. Do not paste a Lua call into a client console expecting it to become a server-side ban; the method must run in server-side code.

Monitoring native actions

Garry’s Mod emits the server_addban event for Player:Ban, banip, and banid. The event data includes the player name, SteamID, IP address, ban duration, banning party, and a kicked flag. A logging hook can use that information to build an audit record, subject to your privacy policy.

Best Value
Sale
Under Desk Cable Management Tray No Drill, Metal Mesh Cable Management Under Desk with Clamp Mount, 2 Hole Cable Tray with Wire Management and Cord Organizer for Home Office Standing Desk
  • 【No Drill Mounted】Cable management tray can be assembled in as little as 3 minutes or less-simply. Side clips easily clampe the edge of desk, pass through the holes on the sides, and secure excess cables with baskets. Desk cable management supports inward or outward installation to meet your needs in different scenarios, and provides you with great convenience when collecting and organizing wires.
  • 【Rubber Pad Protects Desk】Wire organizer under desk built-in soft rubber pads on the clamp protect your desk from scratches, so you will not damage your furniture or office.
  • 【Sturdy and Beautiful】Cord management under desk is made of high-quality carbon steel and holds about 15 lbs. The wire basket has 2 holes on each side of the tray to enable your cables to pass freely. Cable baskets are suitable for desk thickness use from 0.4" to 2.4".
  • 【Space Saving & Keep Organized】Desk cable management tray holds all your power cords, outlet strips, USB hubs and computer transformers hidden from your feet, and the data cables will not enter the vacuum cleaner to keep your desk clean and tidy. Desk wire organizer is also suitable for use in the kitchen and outdoors.
  • 【Reduce Safety Risks】Cable tray under desk keeps all plugs away from your kids, no more worry about tripping. Using 2 holes wire tray saves extra space, helps you easily cabling and wire protection. The mesh design is not easy to accumulate dust, but avoids safety accidents caused by messy wires.

Native removal commands raise server_removeban for removeid and removeip. Its event data indicates whether the removed entry was associated with a SteamID or an IP address, which helps staff distinguish an identity reversal from an address reversal.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

SteamID bans versus IP bans

Mechanism Identifies Use when Important limitation
ULX ban by player name The currently connected player selected by name You need to remove an online player quickly and the name is unambiguous. Names can change or collide; it is not the preferred offline target.
ULX banid A SteamID or SteamID64 account The player is offline, has changed names, or name matching is uncertain. Requires a valid identifier and, by default, superadmin-level access.
Native banip/addip A network address You have a narrowly defined network-abuse case and understand the collateral impact. Addresses can be shared, dynamic, or changed; the official command list warns that the IP ban list is infrequently updated, so verify syntax and behavior on your server build.

An IP ban is separate from a SteamID ban. In the official server_addban event documentation, the network ID is empty for banip, while the IP field is empty for banid. That distinction matters when reading logs: an empty field does not mean the event failed; it identifies which kind of ban was issued.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Because households, schools, cafés, and mobile providers can share or rotate addresses, an IP ban may affect people who are not the offender and may fail to stop the same person after their address changes. Prefer an account-based ban unless your rules and evidence justify the broader network effect.

Verify, document, and review the action

  1. Confirm the target identity. Record the SteamID for an identity ban and the exact name used for an online name ban.
  2. Check the duration. Make sure a temporary value was not accidentally entered as 0, and make sure the intended permanent action was not given a finite number.
  3. Read the server response. Look for ULX’s success, access, or validation message in the console or administrator interface.
  4. Check the connection state. A successful action normally removes the online target or prevents a subsequent connection, depending on the mechanism.
  5. Preserve the reason and log entry. Keep the factual reason, acting administrator, timestamp, and relevant evidence in the staff record your community uses.
  6. Apply the same standard to comparable incidents. If staff make an exception, document why so future decisions are consistent.

Do not publish a player’s private information to justify a ban. A moderation record should contain only what staff need to enforce the rules and review the decision.

Troubleshoot a command that does nothing

“Unknown command” or no ULX response

  • Confirm the ULX Admin plugin is installed in the server’s add-ons and that ULib loaded successfully at startup.
  • Run the command in the dedicated server console, where the missing dependency or syntax error is easier to see.
  • Check that you are connected to the intended server instance; a local client console is not the same as the server console.

Access denied

  • Check your ULX group and the access level assigned to the specific command.
  • Remember that the documented default access for ulx banid is superadmin; a moderator group may be allowed to use ulx ban but not the identity command.
  • Have the server owner review ULX permissions rather than granting broad superadmin access to every moderator.

Wrong player selected

  • Stop using partial names when multiple players match.
  • Use the menu’s player selector or obtain the SteamID and use banid.
  • Review the log before issuing another command so you do not leave an unintended second ban.

The player reconnects after a ban

  • Check whether the original action targeted a display name rather than the account’s SteamID.
  • Verify that the ban duration was not mistyped and that the server clock and ban database are functioning.
  • Determine whether the first ban was a native IP or identity entry and use the matching removal or inspection path when correcting it.

Unban cannot find the entry

  • Use the exact SteamID recorded at ban time instead of the player’s current name.
  • Check whether another administrator used a native command, a separate gamemode database, or a different server instance.
  • Inspect the server log and the active ban list before creating a replacement entry.

Moderation practice for a fair ban system

Publish the rules that define temporary and permanent bans, and make the reason field match those rules. A short, factual reason gives the player and other administrators a usable explanation without turning the command into a public argument. Escalate duration when your policy calls for it, not merely because an administrator is frustrated.

Facepunch’s Server Operator Rules describe Garry’s Mod servers as community hosted and state: “If you do not agree with an action of administration of a server you play on, you can play on a different server.” The same rules prohibit releasing players’ private information publicly. That leaves each server responsible for clear local rules, consistent enforcement, and privacy-respecting records.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

When a ban is disputed, review the evidence, command, identity, duration, and staff notes. If an error occurred, remove the correct entry and record the correction rather than silently editing history. A transparent process protects both the community and the administrators who enforce it.

A practical decision path

  1. Is the player connected? If yes, use the ULX name command only when the target is unambiguous; otherwise select the player in the menu or use their SteamID.
  2. Is the player offline or likely to change names? Use ulx banid with the verified SteamID.
  3. Is the sanction temporary? Enter the duration in minutes. If policy requires a permanent result, enter 0.
  4. Does your account have permission? Confirm your ULX group, especially for the default superadmin-only identity command.
  5. Does the action need reversal? Use ULX’s unban with the SteamID for ULX entries; use the corresponding native removal path for native entries.
  6. Could an address affect innocent users? Avoid an IP ban unless the evidence and policy justify that broader consequence.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.