1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00
Commit Graph

585 Commits

Author SHA1 Message Date
c24e838bb5 add example module to game interface. convert gi command registration to a iw4madmin request 2023-06-06 12:09:20 -05:00
cc67438b9a implement dynamic command registration through game interface 2023-06-03 22:46:15 -05:00
dfcf6e958c implement initial url request functionality for game interface 2023-06-03 16:48:03 -05:00
f19ca8a813 adjust last seen format in game interface 2023-06-02 16:35:00 -05:00
d0e39b240a Fix Game Interface / AC Callbacks + support for T5ZM, T6MP and T6ZM for the Game Interface. (#288)
* Fix trying to write to a struct before its initialized.

Same issue on IW4, IW5 and T5 game modules.

* Fix path issues in the scripts + add support for t5zm.

* Fix deploy.bat
* Change paths inside the gsc scripts used to call functions in other scripts
* Remove mp includes from base gsc file.
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;
* Define GetXuid as overrideMethod as t5zm doesn't have it.
* Define GetPlayerFromClientNum as getting all players is slightly different on t5zm.

* Remove the precompiled gsc file for T6 as PlutoT6 can load uncompiled GSC now.

* Fix _customcallbacks.gsc for T6

* Add T6 support to the game interface.

* Update _integration_base.gsc

use camelCase for functionName

* Make sure the Setup functions are always called in the right order.

Base -> shared -> game
Otherwise we might write to structs before they are created.

* Move functions interacting with the game from _base to _shared

GetPlayerFromClientNum
OnPlayerJoinedTeam
OnPlayerJoinedSpectators
GenerateJoinTeamString
PlayerTrackingOnInterval
SaveTrackingMetrics

* Block execution until game specific setup is done

Block _shared execution until the game specific file finished.
This allows the game specific file to override the events in _shared.

* Fix setup event flow

Move check of sv_iw4madmin_integration_enabled dvar after waittill in _shared so _base has a chance to set it to 1.
Move check of sv_iw4madmin_autobalance dvar to OnPlayerConnect in _shared so the game specific script has a chance to set the dvar.

* ignore bots

* add more spaces
2023-05-28 20:15:52 -05:00
2af03d10d0 Resolved Chat in BOIII Parser (#299) 2023-05-14 22:46:03 -04:00
1231154e9d Merge branch 'release/pre' of github.com:RaidMax/IW4M-Admin into release/pre 2023-04-15 18:07:48 -05:00
Edo
8dd4eae39c fix(boiii): reason when kicking (#290)
* fix(boiii): reason when kicking

* fix(t7): show kick reason

* maint(t7): update creds

* maint(boiii): update creds

* fix(t4): add custom reason too
2023-04-15 18:06:54 -05:00
d3ac9d53a4 add configuration update callback for script plugins & update plugins to utilize 2023-04-15 14:27:51 -05:00
d3a2209f73 more updates for script plugin helper and corresponding VPNDetection update to properly send user gent 2023-04-13 23:36:29 -05:00
af1778ac7b add smaller version of server banner 2023-04-09 22:20:48 -05:00
b1f3155131 fix profanity determent on chat enabled check 2023-04-08 16:11:22 -05:00
5571e9317f server banner tweaks 2023-04-08 15:43:47 -05:00
68cf08f871 fix extra IP lookups in server banner plugin 2023-04-08 12:00:28 -05:00
dafdbec67a add server banner plugin for iframe embeds 2023-04-08 10:10:15 -05:00
293488c839 improve login plugin structure and fix load issue 2023-04-08 09:43:33 -05:00
d05bcde8e8 fix issue with profanity plugin enabled check and add KickOnInfringingName setting 2023-04-07 21:21:18 -05:00
11f97d951c Add grouping for servers on top stats, live radar, and scoreboard 2023-04-07 16:23:24 -05:00
cdfcb25072 Merge branch 'release/pre' of github.com:RaidMax/IW4M-Admin into release/pre 2023-04-05 14:15:46 -05:00
68b92ecc9e fix issue with BanBroadcasting 2023-04-05 14:12:59 -05:00
06ee29fa5a update plugin references to newest shared library 2023-04-05 10:15:36 -05:00
8d2ac47756 update stats plugin for server caching and better DI usage 2023-04-05 10:15:10 -05:00
ebe69a94ad implement new eventing system 2023-04-05 09:54:57 -05:00
d3544b4519 implement PluginV2 for script plugins 2023-04-04 18:24:13 -05:00
Edo
d5186b7645 fix(boiii): workaround the goofiest bug (#284)
* fix(boiii): workaround the goofiest bug
2023-03-23 13:03:54 -05:00
e311c191ef feature(script_plugins): boiii parser 2023-03-16 10:48:14 -05:00
36cca2f93b update vpn detection to script plugin v2 2023-02-11 21:02:20 -06:00
ceb9974ce5 update action on report to script plugin v2 2023-02-11 21:01:47 -06:00
b04d059399 update stats plugin to IPluginV2 2023-02-11 21:01:28 -06:00
f1e8fb9b34 update welcome plugin to IPluginV2 2023-02-11 20:56:52 -06:00
74470c3476 update profanity determent plugin to IPluginV2 2023-02-11 20:49:21 -06:00
dbc059c6a4 update mute plugin to IPluginV2 2023-02-11 20:48:31 -06:00
44e40aefee update login plugin to IPluginV2 2023-02-11 20:46:57 -06:00
52cee026c1 update live radar plugin to IPluginV2 2023-02-11 20:46:08 -06:00
803624e214 update auto message feed plugin to IPluginV2 2023-02-11 20:44:04 -06:00
8ceeaf4a48 merge 2023-01-06 13:45:25 -06:00
e8067ac651 update h1 parser for chat localization 2023-01-06 12:25:24 -06:00
733a302c21 update iw6x chat localize text 2023-01-06 10:49:10 -06:00
8a4a294c8c fix for iw6x and s1x parser 2023-01-05 21:43:57 -06:00
Edo
627acecc07 Update H1 parser too based on iw6&s1 experience 2022-11-07 08:48:38 -06:00
76333f5508 fix(ParserIW6x): Filter out say/say_team correctly 2022-11-07 08:48:38 -06:00
4aebc4d829 properly set the localize text char for s1x parser 2022-11-03 20:11:05 -05:00
c6916b38c3 feature(parser): Option to override special localize character 2022-11-03 20:05:59 -05:00
de94bf12bb don't intercept commands for login plugin if they are from webfront 2022-10-25 13:22:33 -05:00
7180bfe1fc 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
1d6cc670d7 add unban subnet command and subnet list interaction 2022-10-24 18:57:35 -05:00
34cafc4066 create shared integration for performance-based autobalance support 2022-10-23 13:29:01 -05:00
bbd7b29959 hide annoying warning 2022-10-18 09:38:54 -05:00
dc72bb9fed Merge branch 'release/pre' of github.com:RaidMax/IW4M-Admin into release/pre 2022-10-17 09:18:06 -05:00
450c8a45da add support for plugin generated pages (interactions). add disallow vpn command 2022-10-17 09:17:43 -05:00