This file was automatically imported from the old site. You can see other imported files on the reuploads page.

  • Reuploaded by:
  • Uploaded: 1 year ago
  • Updated: 1 year ago
  • Type: Re-upload
  • Downloads: 252 (4 last 7 days)
  • Views: 406 (6 last 7 days)
  • Size: 4 KB
  • Tags: re-upload
This is warning module made by me.
You can warn players, when they reach defined number of warnings - they will be banned on defined time. Also, they have window when they warned.
Very easy interface.
Warnings saved if player leave server then join again, but don't saved when map changed / server crashed.
Warnings has "decay" time, each n minutes player lost 1 warning(if he did not have violations)
Can use standalone valve ban system or ULib ban system. You can add custom ban system - check warn.lua.
Just call "warn" command in console(or bind it to key) - and if you are admin - you must see warning window.
All settings in file lua\autorun\server\warn.lua in first lines.
1.0 - Initial Release
1.0.1 - Fixed decay timer
1.0.2 - Fixed decay table error(decay now fully working), fixed spelling

This download looks like an addon. You need to extract the downloaded zip and put the addon folder in your Garry's Mod addons folder. You should end up with a directory structure similar to below:

  • steamapps
    • common
      • garrysmod
        • garrysmod
          • addons
            • hWarn <-- Addon folder!
              • e.g.
              • lua
              • maps
              • materials
              • models
              • etc

Don't know where the Garry's Mod folder is or how to extract zip files? See more useful installation tips.

  • hWarn/
    • info.txt
    • lua/
      • autorun/
        • client/
          • cl_warn.lua
        • server/
          • warn.lua