Commit Graph

95 Commits

Author SHA1 Message Date
Skillet
3b96bfae0b fix player disconnect race condition bug 2023-11-12 14:07:15 -05:00
Skillet
5743415ff0 fix player disconnect race condition bug 2023-11-12 13:59:48 -05:00
Skillet
753fc17e6a track playercontrollers for death logging 2023-11-02 01:14:05 -04:00
Thomas Smyth
b5c60ea9cf
Merge branch 'master' into SqCreationRCON 2023-01-02 19:01:09 +00:00
ect0s
3ebd5e2c3c Keep SquadID in Event Emitter data 2023-01-01 19:27:23 -05:00
ect0s
3f3be7c027 Add round-tickets and round-ended events; discord-roundended plugin
Adds round-tickets regex to logparser; this will fire when the server prints new log lines related to tickets and factions.

Adds round-ended regex to log parser and event; this event forwards round tickets where we have both a winner and a loser to the main server object.

discord-roundended: This plugin is similar but functionally different from round winner, due to cases where the server experiences a draw.
2022-09-28 21:11:11 -04:00
ect0s
90ed90cb68 SquadCreated Regex and Event Emitter
Move Squad Created To RCON rcon.js

Move Squad Created emitter to RCON index.js
2022-06-04 10:42:20 -04:00
Thomas Smyth
26a8d53f2e
Merge pull request #237 from ect0s/adminlist-fetch-update
Update admin list on layer changes
2022-05-18 09:06:35 +01:00
ect0s
57b741fbc8 Guard for Duration.
We may miss admins going into camera in the case of RCON shutdowns/SquadJS restarts.

This code should guard a promise rejection in the case an admin is not in the current tracking list.
2022-05-15 11:22:06 -04:00
ect0s
46ab36624a Added regular Adminlist update to newgame 2022-04-23 11:10:00 -04:00
ect0s
4ca8839675
Add data to UPDATED_A2S_INFORMATION event 2021-08-07 22:44:29 +01:00
ect0s
e73449e342 Update index.js 2021-07-02 16:00:38 -04:00
ect0s
f472676e3e Added Force to getPlayerBySteamID inside SQUAD_CREATED emitter 2021-07-02 11:34:58 -04:00
ect0s
9e0c5cd1b1 Add Full player object to SQUAD_CREATED
Added full player to SQUAD_CREATED event

Refactored DiscordSquadCreated Plugin
2021-07-01 20:22:34 -04:00
ect0s
aef75781bc Added Event Handling in main server 2021-06-29 19:48:23 -04:00
Thomas Smyth
f84d154d1c
Merge pull request #171 from 11TStudio/rconWarnKickBan
Add new events for admins warning, kicking and banning players
2021-03-08 20:32:16 +00:00
Levent007
10be536c7b New RCON event emit for BAN, KICK, WARN + rcon.ban method 2021-03-08 21:26:22 +01:00
Thomas Smyth
7e0f414376 Fix nextMapToBeVoted assignment 2021-03-08 15:07:18 +00:00
Levent007
c5bd408b02 fixing init of this.players where it was throwing undefined on first time 2021-03-08 12:34:32 +01:00
Levent007
31fb8a4f5d changing the init for this.players after the for loop 2021-03-07 21:32:44 +01:00
Levent007
425df2725f Forget to add getSquadByID method 2021-03-07 20:43:45 +01:00
Levent007
d646329efc players methos now have squad and team names + new method getSquad 2021-03-07 20:38:46 +01:00
Thomas Smyth
2367ed89e4 Tidy PLAYER_DISCONNECTED event 2021-03-07 14:29:57 +00:00
Dusan Milutinovic
0e7bc2fc91 Fixed bug #148. Added PLAYER_DISCONNECTED event 2021-03-02 00:05:46 +01:00
Thomas Smyth
62d925b4fd Add queue length to player count in API ping 2021-02-26 15:53:01 +00:00
Thomas Smyth
89ee15de3f Use A2S player count in API ping 2021-02-26 15:48:45 +00:00
Thomas Smyth
2704b099de Tidy SquadJS API ping error message 2021-02-26 10:56:26 +00:00
Thomas Smyth
19f5b8f879 Rename deployable take damage event 2021-02-03 23:30:54 +00:00
Thomas Smyth
28540fce26 Add deployable take damage event 2021-02-03 22:31:38 +00:00
Thomas Smyth
476afc0688 Track admin cam usage over RCON instead of logs 2021-02-03 19:17:25 +00:00
Thomas Smyth
b5a3f4c59b Initial Squad v2 Layer Support 2021-02-03 17:33:01 +00:00
SeanWalsh95
76129078c3 rm async/await on non asynchronous functions and calls 2021-01-12 12:02:38 -05:00
SeanWalsh95
4aa0412ee5 move adminList logic to pulling from server instead of storing copy on init
changes per https://github.com/Thomas-Smyth/SquadJS/pull/125#issuecomment-758783309
2021-01-12 11:59:08 -05:00
SeanWalsh95
5c5be9295c Fix bug whre getAdmin returns perms instead of S64IDs 2021-01-12 11:33:28 -05:00
Thomas Smyth
90795883fd Update dependencies 2021-01-09 15:16:00 +00:00
Thomas Smyth
8ca9c0b38b Update SquadJS API requests 2021-01-09 14:51:59 +00:00
Thomas Smyth
23518b4d97 Add SCBL plugin 2021-01-07 20:52:55 +00:00
Thomas Smyth
4a9521a8f9 Merge branch 'beta' into pr/112 2020-12-26 17:58:20 +00:00
11T Studio
203f357888
Check only via layerclassname
This would fix the issues with showing the last played layer and not the current one.
2020-12-22 23:25:42 +01:00
SeanWalsh95
7d37369de9 alternate cfg for FTP + readme changes
nested ftp config inside server cfg to pass entire cfg to LogParser, alterations are overridden as needed.

Formatted readme to be able to find relevent sections quicker by collapseing detailed content.

moved info about creating plugins to plugin folder and refrenced from main readme

Small changes to readme to support new formats in the cfg file
2020-12-16 14:00:40 -05:00
Levent007
c787aa3565 Adding support for multi-ip rcon 2020-12-12 21:47:06 +01:00
Thomas Smyth
baf07a79b6 Refactor log parser 2020-12-10 20:46:29 +00:00
Thomas Smyth
f434e94199 Refactor RCON 2020-12-10 18:51:32 +00:00
Thomas Smyth
255e9c7968 Convert AutoKickUnassigned & Tidy Code 2020-12-08 16:40:56 +00:00
Thomas Smyth
fae5dd4efa
Merge branch 'v2' into auto-kick-afk 2020-12-08 12:17:02 +00:00
Thomas Smyth
fc629ebc77 DBLog Plugin 2020-12-08 12:13:53 +00:00
Thomas Smyth
e02a5417f6 Add matches to DBLog 2020-12-06 23:09:33 +00:00
Thomas Smyth
3fb00b6dd1 Add player counts to DBLog 2020-12-06 21:45:06 +00:00
Thomas Smyth
915ec298f3 Lint 2020-12-06 21:23:05 +00:00
Thomas Smyth
6107612fb2 DBLog Plugin WIP 2020-12-06 21:21:41 +00:00