Commit Graph

585 Commits

Author SHA1 Message Date
RaidMax
ad89ecb39d add example module to game interface. convert gi command registration to a iw4madmin request 2023-06-06 12:09:20 -05:00
RaidMax
3f0bdfe3a9 implement dynamic command registration through game interface 2023-06-03 22:46:15 -05:00
RaidMax
2fcbab9a37 implement initial url request functionality for game interface 2023-06-03 16:48:03 -05:00
RaidMax
e843f839f5 adjust last seen format in game interface 2023-06-02 16:35:00 -05:00
xerxes-at
7d436ac0c5 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
Amos
ce054c173e Resolved Chat in BOIII Parser (#299) 2023-05-14 22:46:03 -04:00
RaidMax
c53e0de7d0 Merge branch 'release/pre' of github.com:RaidMax/IW4M-Admin into release/pre 2023-04-15 18:07:48 -05:00
Edo
29d0686f73 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
RaidMax
bb8f3fbe5b add configuration update callback for script plugins & update plugins to utilize 2023-04-15 14:27:51 -05:00
RaidMax
c3be7f7de5 more updates for script plugin helper and corresponding VPNDetection update to properly send user gent 2023-04-13 23:36:29 -05:00
RaidMax
5490d6b358 add smaller version of server banner 2023-04-09 22:20:48 -05:00
RaidMax
f4ded4cc1f fix profanity determent on chat enabled check 2023-04-08 16:11:22 -05:00
RaidMax
d8c0cd47f5 server banner tweaks 2023-04-08 15:43:47 -05:00
RaidMax
1f77d10eed fix extra IP lookups in server banner plugin 2023-04-08 12:00:28 -05:00
RaidMax
8c48151ab6 add server banner plugin for iframe embeds 2023-04-08 10:10:15 -05:00
RaidMax
c5a283a02e improve login plugin structure and fix load issue 2023-04-08 09:43:33 -05:00
RaidMax
388434133b fix issue with profanity plugin enabled check and add KickOnInfringingName setting 2023-04-07 21:21:18 -05:00
RaidMax
129e70c82c Add grouping for servers on top stats, live radar, and scoreboard 2023-04-07 16:23:24 -05:00
RaidMax
e558d912cf Merge branch 'release/pre' of github.com:RaidMax/IW4M-Admin into release/pre 2023-04-05 14:15:46 -05:00
RaidMax
2e6a1efb47 fix issue with BanBroadcasting 2023-04-05 14:12:59 -05:00
RaidMax
6db1f6db07 update plugin references to newest shared library 2023-04-05 10:15:36 -05:00
RaidMax
d9d5a56ab0 update stats plugin for server caching and better DI usage 2023-04-05 10:15:10 -05:00
RaidMax
f41ce39180 implement new eventing system 2023-04-05 09:54:57 -05:00
RaidMax
fab3cf95d6 implement PluginV2 for script plugins 2023-04-04 18:24:13 -05:00
Edo
b258d51863 fix(boiii): workaround the goofiest bug (#284)
* fix(boiii): workaround the goofiest bug
2023-03-23 13:03:54 -05:00
FutureRave
782201b086 feature(script_plugins): boiii parser 2023-03-16 10:48:14 -05:00
RaidMax
5e32536821 update vpn detection to script plugin v2 2023-02-11 21:02:20 -06:00
RaidMax
59e3813fa7 update action on report to script plugin v2 2023-02-11 21:01:47 -06:00
RaidMax
66c0561e7f update stats plugin to IPluginV2 2023-02-11 21:01:28 -06:00
RaidMax
7b8f6421aa update welcome plugin to IPluginV2 2023-02-11 20:56:52 -06:00
RaidMax
4ba56b53a4 update profanity determent plugin to IPluginV2 2023-02-11 20:49:21 -06:00
RaidMax
a50e61318c update mute plugin to IPluginV2 2023-02-11 20:48:31 -06:00
RaidMax
83207b4b40 update login plugin to IPluginV2 2023-02-11 20:46:57 -06:00
RaidMax
ba9e393363 update live radar plugin to IPluginV2 2023-02-11 20:46:08 -06:00
RaidMax
2688790736 update auto message feed plugin to IPluginV2 2023-02-11 20:44:04 -06:00
RaidMax
74e792bfdc merge 2023-01-06 13:45:25 -06:00
RaidMax
31e3e98d06 update h1 parser for chat localization 2023-01-06 12:25:24 -06:00
RaidMax
9ef189d303 update iw6x chat localize text 2023-01-06 10:49:10 -06:00
RaidMax
ae101f1c3a fix for iw6x and s1x parser 2023-01-05 21:43:57 -06:00
Edo
8bcc9354fd Update H1 parser too based on iw6&s1 experience 2022-11-07 08:48:38 -06:00
FutureRave
0674ef800b fix(ParserIW6x): Filter out say/say_team correctly 2022-11-07 08:48:38 -06:00
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