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

614 Commits

Author SHA1 Message Date
88d05f5a8a H2M-Mod Support (#337)
* feat: add h2m support

* fix: remove unneeded comma
2024-08-12 20:05:25 -05:00
135fc98e1c use correct EFClient return time for ScriptPluginExtensions and provide IPAddress on game interface data 2024-07-12 22:08:23 -05:00
78c5b43ed4 fix issue with game interface and increase debug logging 2024-07-06 15:16:50 -05:00
6a2ac5ad82 update T7 retail parser version to prevent conflict with boiii parser 2024-07-04 11:02:04 -05:00
462dbb6f8b fix T7 status IP parsing 2024-06-30 20:46:40 -05:00
5a33567c73 tweak game interface plugin for consistency 2024-06-30 11:52:31 -05:00
ba633be034 Refactor MuteManager constructor and clean up code (#329)
The MuteManager constructor within the Mute plugin has been refactored for better dependency injection. This change simplifies the class construction by directly initializing fields in the constructor parameters. Additionally, several minor code improvements have been made, including spelling corrections and replacing some conditional checks for readability. Other arrays or methods in the plugin are also revised for better maintainability and readability of the code.
2024-06-29 21:50:00 -05:00
9cdb2ca63e update nuget pipeline
update script
2024-06-28 16:18:42 -05:00
dbb5a9117a update nuget packages 2024-06-22 17:20:05 -05:00
1596af1548 implement functionality to dynamically populate property values from events that inherit from GameScriptEvent 2024-06-22 17:02:04 -05:00
d786d7c336 Update server banner plugin for .net 8 2024-06-22 11:49:53 -05:00
34af7a332c Update projects to .net 8 (#326)
* Update codebase to target .NET 8.0 and improve JSON serialization

This commit switches our target framework from .NET 6.0 to .NET 8.0 and replaces Newtonsoft.Json with System.Text.Json for serialization. The JsonConverter classes have been updated to support the new JSON model and some enhancements were applied to the codebase such as fixing a command property and updating various package references.

* Align with Develop

* Update SharedLibraryCore package version

The version of the SharedLibraryCore package reference has been updated across multiple projects from '2024.2.4.85' to '2024.2.5.9'. Meanwhile, version within SharedLibraryCore.csproj has been changed from '2024.02.04.085' to '2024.01.01.1'. Changes also include removal of .NET 8 requirement notice and reenabling of status upload to master communicator.

* Update properties in IRConParser and IRConParserConfiguration to be settable

The properties in the `IRConParser` and `IRConParserConfiguration` interfaces were updated to include setters. Previously, the properties in these interfaces were read-only. This change allows for the modifications and extensions of properties defined, thereby bolstering flexibility for the handling of games and parsers.

* Replace RestEase with Refit in API usage

Refit has been implemented as a replacement for RestEase in all API calls. As such, all related code, parameters and imports have been adjusted to function with Refit. Logic has also been added to handle certain Refit-specific behaviours. Occurrences of the RestEase package have been removed from the project.

* Enable auto-redirect in HttpClient

The HttpClient instance used in Application/Main.cs has been modified to automatically follow redirect responses. This was accomplished by adding "AllowAutoRedirect = true" to the HttpClientHandler used when creating the HttpClient.

---------

Co-authored-by: Amos <amos2580@hotmail.co.uk>
2024-06-22 10:19:06 -05:00
1f82596582 Fix increment / decrement switch. (#325)
* Fix increment / decrement switch.

Replace 'up' with 'increment' as it got renamed on the GSC part some time ago.
2024-05-07 09:29:37 -05:00
Edo
27f299c932 fix(s1x: parser): fix inconsistency in the parser of ex-XLabs clients
This is backed up by an update on the s1-mod client that will be deployed in 10 minutes following an announcement telling every server owner to update
2024-04-09 20:38:17 +02:00
265bb1fbf6 Fix broken xml tag 2024-02-04 21:02:18 -06:00
5726527980 Update plugins for shared library versioning change 2024-02-04 20:55:17 -06:00
a9dd4e66b6 Add mute/unmute functionality and update related components
Added mute and unmute commands in ParserIW6x.js, including necessary updates in MuteManager.cs and Plugin.cs files. Refactored the query for mute penalties. Also added RootNamespace in Mute.csproj.
2024-02-04 20:13:17 -06:00
6f5d638a1e Remove explicit reference to underlying database provider error in stats plugin 2024-02-04 12:10:13 -06:00
186ed839da Update plugins for latest shared library 2024-02-04 12:09:17 -06:00
Edo
220e46fb65 feat(pt5): fully support game log on T5 out of the box 2023-12-21 17:19:24 +01:00
ec6424b44f update l4d2 parser name 2023-09-02 15:45:03 -05:00
7e2f577d0c fix minor issue with csgo status mapping 2023-09-02 15:37:10 -05:00
a66a502480 add initial support for LFD2 2023-09-02 15:35:40 -05:00
d9df5f02a5 fix issue with profile chat meta loading 2023-08-29 12:31:00 -05:00
a2e5e94b02 fix some issues with chat search feature 2023-08-27 12:28:35 -05:00
a169653e91 add chat to advanced search 2023-08-26 22:56:37 -05:00
6f54cb239c fix game interface bus issue and limit dynamic script command reload to owner 2023-06-08 16:26:26 -05:00
29d4c65393 tweak game interface bus mode 2023-06-07 16:15:54 -05:00
fd7c8fcb4a implement bus mode for game interface to allow files for bus data transfer 2023-06-06 17:56:12 -05:00
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