/ulx-nolag

ULX commands to stop and manage server lag

Primary LanguageLuaOtherNOASSERTION

NoLag Utilities

ULX is an admin mod for Garry's Mod. This is a command expansion pack for ULX.

Requirements

ULX is obviously needed to run these commands, along with its main dependency ULib.
Also, several commands require Nadmod Prop Protection to function correctly.

Installation

Just put this repository in your server's addons folder—simple and easy.  After you have all the dependencies, restart the server and it should be good to go!

Commands & Usage

  • ulx nolag ("!nolag")
     Freeze all freezable entities on the server.

  • ulx nogibs ("!nogibs")
     Removes gibs, acf debris, helicopter chunks, and more.

  • ulx noclass ("!noclass") <class> <force: 0/1>
     Removes entities that match the provided class.

  • ulx cleanup ("!cleanup") <player>
     (NADMOD PP) Cleans up a player's entities.  Ideal for panicked spam removal.

  • ulx cleanupdiscon ("!cleanupdiscon")
     (NADMOD PP) Clears props of disconnected players.

  • ulx freezeprops ("!freezeprops") <player>
     Freezes all entities owned by the target.

  • ulx ramusage ("!mem" or "!memusage")
     Prints server memory usage in chat.
     Running !collectgarbage may be a good idea if this exceeds 1 GB

  • ulx collectgarbage ("!collectgarbage" or "!gc")
     Attempts to free some memory on the server.

Workshop Links to Dependencies

Credits

ULX is brought to you by...