Commit Graph

594 Commits

Author SHA1 Message Date
RaidMax
1349cf84b7 properly set the localize text char for s1x parser 2022-11-03 20:11:05 -05:00
FutureRave
b311ecefc2 feature(parser): Option to override special localize character 2022-11-03 20:05:59 -05:00
RaidMax
6fa15d3dcc don't intercept commands for login plugin if they are from webfront 2022-10-25 13:22:33 -05:00
Amos
a16986f7a3 Mute Banner for Profile & Prevent Self-Target & Correctly Expire Early Unmutes (#272)
* Fix self-targeting
Remove creation of penalty on mute expiration

* Display mute penalties on profile
Expire mute penalties on unmute

* Resolves issues in code review
Added comment in ClientController.cs
Fixed order of operations in MuteManager.cs
Fixed condition in MuteManager.cs

* Fix self-targeting
Remove creation of penalty on mute expiration

* Display mute penalties on profile
Expire mute penalties on unmute

* Resolves issues in code review
Added comment in ClientController.cs
Fixed order of operations in MuteManager.cs
Fixed condition in MuteManager.cs

* Changed localisation value to be more generic
Fix null reference warning (it should never be null) (34da216)
2022-10-24 18:58:12 -05:00
RaidMax
dbca3675ba add unban subnet command and subnet list interaction 2022-10-24 18:57:35 -05:00
RaidMax
565f22b42e create shared integration for performance-based autobalance support 2022-10-23 13:29:01 -05:00
RaidMax
f50d067c73 hide annoying warning 2022-10-18 09:38:54 -05:00
RaidMax
12357fd9f7 Merge branch 'release/pre' of github.com:RaidMax/IW4M-Admin into release/pre 2022-10-17 09:18:06 -05:00
RaidMax
3367c5c22f add support for plugin generated pages (interactions). add disallow vpn command 2022-10-17 09:17:43 -05:00
Amos
cf51b83cdd Fix Threading Duplicate for Mute Penalty & Added !MuteInfo & Fix PM (#269)
* Resolve duplicate migration
Resolve unmuting state double penalties

* Change order of operation

* Added MuteInfoCommand.cs

* Resolve !pm and @broadcast permanently being disabled
2022-10-14 08:47:01 -05:00
RaidMax
7b869a3f43 bump plugin shared library core reference version 2022-10-13 13:53:28 -05:00
Amos
778feb8024 Fixed [JsonIgnore]
Fixed migration penalty creation
Fixed on migration command execution
Moved out CreatePenalty
Removed ClientId & AdminId since handled by Penalties
2022-10-13 13:29:39 -05:00
RaidMax
44f22dae3a update mute plugin to utilize new interaction forms
bump shared library core version
2022-10-13 13:29:39 -05:00
Amos
cf3209e1d0 Added !unmute, !tempmute, !listmutes
Quick fix for PowerShell IE use

Makes date readable for target player

Resolved translation string inconsistencies

Minor code cleanups

Initial commit from review

Cleaned up code & amended a few checks

Comment typo

Fix infinite unmuting

Removed unnecessary checks (Unmuting an already unmuted player will not trigger MuteStateMeta creation (if already doesn't exist))
Resolved !listmutes showing expired mutes

Committing before refactor

Refactor from review

Removed reference to AdditionalProperty

Fix check for meta state when unmuting

Continued request solves main problem

Handle potential failed command execution

Missed CommandExecuted onJoin

Fix another PS Reference to Invoke-WebRequest

Fixes review issues & Cleaned up code
Adds support for Intercepting Commands via Plugin (Credit: @RaidMax)

Comparing

Revert formatting changes

Removing MuteList for Penalty
Added Mute, TempMute & Unmute Penalty

Fixed reference in Mute.csproj & Removed ListMutesCommand.cs
2022-10-13 13:29:39 -05:00
RaidMax
a15da15d3e fix issue with vpn detection using new interaction 2022-10-13 10:47:25 -05:00
RaidMax
24d91f228b update interactions to allow building custom forms 2022-10-12 21:06:18 -05:00
RaidMax
53cbd11008 update shared library to fix data library issue 2022-10-12 12:14:43 -05:00
RaidMax
186db53bad update plugins to support command interception 2022-10-12 10:32:45 -05:00
RaidMax
bdb5a1c5f8 Merge branch 'release/pre' of github.com:RaidMax/IW4M-Admin into release/pre 2022-10-05 09:51:24 -05:00
xerxes-at
5d9e2b3bf1 Game Interface ported to T5. (#254)
* Implement game interface for IW5 and T5
2022-10-05 09:49:00 -05:00
RaidMax
12da0f463b add client tag to default game interface data 2022-09-24 10:06:07 -05:00
RaidMax
e88071684d provide client tag in game interface meta 2022-09-21 13:04:15 -05:00
Amos
d5cf4451a2 NoClip Fix - Removed NoClipOff - Toggle Hide (#263)
* Usage of Hide is now consistent with NoClip; toggleable
Removed obsolete !NoClipOff
2022-09-11 11:51:10 -05:00
RaidMax
1e1e8bbe7b fix issue with game interface meta/provide full example 2022-09-11 11:46:13 -05:00
RaidMax
2380f23dbe implement profile interaction registration through plugins (mute and vpn detection implementation) 2022-09-08 15:03:38 -05:00
RaidMax
3cffdfdd9d Merge branch 'release/pre' of github.com:RaidMax/IW4M-Admin into release/pre 2022-09-07 09:16:58 -05:00
RaidMax
809cb0b7f4 account for trailing color code on long cod4x names 2022-08-27 21:25:42 -05:00
Amos
18f23fd07d Adding Mute for IW4x (#257)
* Adding Mute for IW4x
2022-08-26 12:09:33 -05:00
RaidMax
6f086ac565 modularize the game integration files and better organize the anticheat folder structure 2022-08-20 10:57:03 -05:00
RaidMax
3efafa24ff map the g_password dvar for T7 parser 2022-08-17 21:57:13 -05:00
RaidMax
841bcf6156 tweak for T6 parser 2022-07-25 09:10:12 -05:00
RaidMax
b27ae1517e fix issue with duplicate key on top stats page 2022-07-22 10:28:26 -05:00
RaidMax
f97e266c24 send correct type to inc/dec meta service in game interface 2022-07-16 17:47:07 -05:00
RaidMax
bef8c08d90 misc performance graph display tweaks 2022-07-16 09:56:41 -05:00
RaidMax
0a55c54c42 update to game interface/integration for persistent stat data 2022-07-13 16:10:16 -05:00
RaidMax
540cf7489d update pluto t6 parser for unknown ip 2022-07-10 20:09:57 -05:00
RaidMax
1a72faee60 add date stamp to performance graphs / increase number of performance rating snapshots / localize graph timestamps 2022-07-10 17:06:46 -05:00
RaidMax
4b33b33d01 fix issue with alert on warn in game interface 2022-07-09 14:23:08 -05:00
RaidMax
052eeb0615 fix tag on welcome issue 2022-07-08 20:39:58 -05:00
RaidMax
88e67747fe add option to normalize diacritics for rcon parsers (applied to T6) 2022-07-06 15:42:31 -05:00
RaidMax
a6c0a94f6c support per-command override of rcon timeouts / update t5 parser to reflect 2022-07-01 09:59:11 -05:00
RaidMax
775c0a91b5 small parser changes 2022-06-21 16:33:11 -05:00
RaidMax
fbf424c77d optimize chat filtering/searching 2022-06-16 18:03:23 -05:00
RaidMax
b8e001fcfe misc ui tweaks 2022-06-16 14:02:44 -05:00
RaidMax
4534d24fe6 fix token auth issue 2022-06-16 10:07:03 -05:00
RaidMax
8ae6561f4e update schema to support unique guid + game combinations 2022-06-15 19:37:34 -05:00
RaidMax
deeb1dea87 set the rcon parser game name for retail WaW 2022-06-14 15:12:19 -05:00
RaidMax
ffb0e5cac1 update for t5 dvar format change 2022-06-11 09:56:28 -05:00
RaidMax
5433d7d1d2 add total ranked client number for stats pages 2022-06-09 09:56:41 -05:00
RaidMax
7ecf516278 add plutonium T5 parser. Must use ManualLogPath 2022-06-03 16:26:58 -05:00
RaidMax
a38789adb9 add default anticheat detection types 2022-06-02 18:30:22 -05:00
RaidMax
e459b2fcde Add per game anticheat configuration option for issue #203 2022-06-02 18:24:13 -05:00
RaidMax
2f7eb07e39 Merge branch 'release/pre' of https://github.com/RaidMax/IW4M-Admin into release/pre 2022-06-02 15:51:59 -05:00
Skull Merlin
0f9f4f597b Create ParserH1MOD.js (#248)
Co-Authored-By: fed <58637860+fedddddd@users.noreply.github.com>

Co-authored-by: fed <58637860+fedddddd@users.noreply.github.com>
2022-06-02 09:25:29 -05:00
Amos
31da5d352e Broadcast bans (Anti-cheat and manuals) script plugin 2022-06-02 09:25:00 -05:00
RaidMax
dd8c4f438f reduce logging for failed anticheat log parsing 2022-05-22 18:04:38 -05:00
RaidMax
2230036d45 fix issue with VPN banlist evaluation 2022-05-22 18:04:23 -05:00
xerxes-at
1700b7da91 PlutoIW5 support for the Game Interface and improvements to the GSC part of it. (#242)
* Improvements to the GSC part of the Game Interface
* Adds compatibility with PlutoIW5 with minimal changes.
* Fixes issues when commands are called from the web interface when the used profile is not on the server.
    * New Debug output when the target or origin of a command is sent by IW4MAdmin but not found in-game.
    * Commands that can be run on the context of the target are now run in it.
* Simplifies the command registration and execution.
    * Got rid of the huge switch block.
    * Introduced AddClientCommand to register new commands for example
        * `AddClientCommand("SwitchTeams",  true,  ::TeamSwitchImpl);`
        * `AddClientCommand("Hide",         false, ::HideImpl);`
    * Callbacks are called with the full event object and the parsed data as parameters to allow maximum flexibility.
* Introduced level.eventBus.gamename to know which game we are to add minor changes.
* Changes - noclip/lockcontrols/playertome
Additional changes to support other games' functions

Co-Authored-By: Amos <4959320+MrAmos123@users.noreply.github.com>
2022-05-19 17:04:34 -05:00
RaidMax
a3b94b50e3 reduce warning logs for connecting bots on live radar 2022-04-28 10:35:01 -05:00
RaidMax
ff0d22c142 fix rcon issue 2022-04-25 15:39:30 -05:00
RaidMax
ed1032415e fix live radar links 2022-04-22 15:13:51 -05:00
RaidMax
0175425708 fix subnet ban and vpn detection persistence 2022-04-20 10:45:30 -05:00
RaidMax
3cb50635e5 small updates that got lost in last commit 2022-04-19 22:34:35 -05:00
RaidMax
4fbe0ee0ed huge commit for webfront facelift 2022-04-19 18:43:58 -05:00
RaidMax
a2d5e37c6f simplify initial setup by removing extra prompts 2022-04-06 13:04:30 -05:00
RaidMax
dc97956bc3 add searching by partial ip address 2022-04-04 14:27:22 -05:00
RaidMax
89fdc00f9b add subnet ban command 2022-03-30 22:15:29 -05:00
RaidMax
eafd7cb530 add join team and map change events to CSGO parser 2022-03-28 18:05:18 -05:00
RaidMax
c93f896bc5 fix profile issue 2022-03-24 08:40:42 -05:00
RaidMax
497c15a6a8 update stats to use new meta service 2022-03-23 13:54:42 -05:00
RaidMax
7be096e0b6 add vpn whitelist command 2022-03-23 13:34:04 -05:00
RaidMax
20858991e1 move live radar js into own file 2022-03-23 12:52:11 -05:00
RaidMax
85d44b0eb0 fix issue with multi line output freezing console 2022-03-23 12:09:40 -05:00
RaidMax
b46b1eb5e7 fix update on report to penalize flagged users 2022-03-23 08:22:23 -05:00
RaidMax
e32e97b9e6 fix issue with loading stats config #237 2022-03-08 11:24:59 -06:00
RaidMax
42313b7816 update action on report to use level enum string 2022-03-07 20:00:05 -06:00
RaidMax
9f4d06c265 refactor some game interface plugin approach 2022-03-07 19:59:34 -06:00
RaidMax
55b0caf900 tweak game interface values again 2022-03-02 08:28:41 -06:00
RaidMax
ec0f59cdb1 add set spectator command for game interface 2022-03-01 12:45:39 -06:00
RaidMax
59d69bd22b add cancellation token for rcon connection to allow more granular control 2022-02-28 20:44:30 -06:00
RaidMax
bb7215dbb6 increment shared library references 2022-02-23 15:57:44 -06:00
RaidMax
2e531c4a50 validate game interface commands to ensure it's enabled before trying to execute 2022-02-18 10:15:11 -06:00
RaidMax
9a6d7c6a20 game interface improvements 2022-02-15 20:05:50 -06:00
RaidMax
037fac5786 game interface improvements 2022-02-13 21:38:40 -06:00
RaidMax
3640d1df54 small updates for game interface 2022-02-12 21:54:21 -06:00
RaidMax
f3c6b10a35 add network game log reader ex: net.tcp://ip:port 2022-02-11 15:33:05 -06:00
RaidMax
c9cf7be341 add set client meta and inc/dec to framework 2022-02-10 16:50:45 -06:00
RaidMax
aa6ae0ab8d more integration tweaks 2022-02-09 14:45:28 -06:00
RaidMax
12dfd8c558 more integration tweaks
add configurable flood protect interval for rcon
2022-02-08 12:03:55 -06:00
RaidMax
07f675eadc fix issue with plugin registration 2022-02-07 22:02:50 -06:00
RaidMax
576d7015fa increase poll rate for reasonable response times 2022-02-07 18:47:16 -06:00
RaidMax
b1a1aae6c0 initial framework for gsc + iw4madmin integration
improvements to script plugin capabilities and error feedback
2022-02-07 18:43:36 -06:00
RaidMax
2ed5e00bcb more profile loading optimizations 2022-02-01 18:20:29 -06:00
RaidMax
b2a3625288 update IP lookup api 2022-01-31 08:16:12 -06:00
RaidMax
505a2c4c2d fix refactor issue 2022-01-28 17:28:49 -06:00
RaidMax
3539101a40 webfront profile loading optimizations 2022-01-28 14:33:08 -06:00
RaidMax
7ccdee7d1b disable some warnings 2022-01-28 09:37:04 -06:00
RaidMax
f4b160b735 small startup performance optimization 2022-01-28 09:35:01 -06:00
RaidMax
73036dc1c7 properly provide culture to welcome plugin ordinalize 2022-01-27 21:19:05 -06:00
RaidMax
a602e8caed Initial .net 6 upgrades 2022-01-26 15:26:25 -06:00