Skip to content

WarnPlugin is a plugin for IW4MAdmin that adds a "Warn" button to player profiles on the webfront, allowing staff to issue warnings with preset or custom reasons via the !warn command.

Notifications You must be signed in to change notification settings

NotHGM/WarnPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

WarnPlugin

WarnPlugin is a plugin for IW4MAdmin that adds a "Warn" button to player profiles on the webfront. This plugin was originally created for HGMServers, but is open-source and available for anyone to use or modify. It allows server staff to issue in-game warnings using the !warn command, with support for both custom and preset reasons.


Features

  • Adds a "Warn" button to the webfront player context menu
  • Supports preset and custom reasons
  • Executes !warn <player> <reason> from the web interface
  • Permission-restricted to Moderators and above

Requirements

  • IW4MAdmin version 2025.12.30.2 or newer

Build Requirements


Build Instructions

# Clone the repo
git clone https://github.com/NotHGM/WarnPlugin.git
cd WarnPlugin

# Restore dependencies & build
dotnet restore
dotnet build -c Release

After building, the compiled plugin will be located at:

bin/Release/net8.0/WarnPlugin.dll

Copy WarnPlugin.dll into your IW4MAdmin/Plugins/ directory and restart IW4MAdmin.


Example Output on Startup

[WarnPlugin] by HGM loaded. Version: 2025-12-30

Credits

Special thanks to:

  • RaidMax for creating IW4MAdmin
  • Amos for the inspiration

About

WarnPlugin is a plugin for IW4MAdmin that adds a "Warn" button to player profiles on the webfront, allowing staff to issue warnings with preset or custom reasons via the !warn command.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages