Commit Graph

513 Commits

Author SHA1 Message Date
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
51fe9e0f0f Remove SquadLayerFilter from Readme template
Dead Code/Documentation,

https://github.com/Team-Silver-Sphere/SquadJS/issues/254
2022-08-01 15:13:28 -04:00
SeanWalsh95
6b48502c44
dafault victim message to disabled 2022-07-12 18:11:28 -04:00
SeanWalsh95
7cd7133bc6
grammar 2022-07-12 15:42:57 -04:00
SeanWalsh95
333e5fc7ee
rm unneeded blocking 2022-07-12 15:40:54 -04:00
SeanWalsh95
d5ee238157
remove unneeded flag 2022-07-12 15:33:55 -04:00
SeanWalsh95
2a2a09caa9
prefer camelCase with JS 2022-07-12 15:28:47 -04:00
SeanWalsh95
83de2491ac
spelling fix 2022-07-12 15:11:38 -04:00
SeanWalsh95
a2e677c13c
formatting 2022-07-12 15:07:43 -04:00
SeanWalsh95
61a20ef972
allow for victim to be notified on TK 2022-07-12 15:06:03 -04:00
Thomas Smyth
ce0b6c9305
Merge pull request #246 from werewolfboy13/patch-1
Update print-logo.js
2022-07-09 13:07:01 +01:00
IgnisAlienus
e080a8bbf5 Grafana Template Update 2022-06-30 08:42:35 -07:00
Marek
42597d7030
Update print-logo.js
A change for the new CBL that was missed in #245.
2022-06-28 15:06:34 -05:00
IgnisAlienus
39fad4bcd6 CBL v2 2022-06-28 11:03:41 -07:00
IgnisAlienus
1d685f17d3 CBL 2022-06-28 11:01:31 -07:00
IgnisAlienus
c40b24f9d5 Updating SCBL references to CBL - Community Ban List 2022-06-28 10:00:52 -07:00
ect0s
b9f5766cc9 Remove Squad Created from LogParser
Remove LogParser event Squad Created
2022-06-04 10:57:28 -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
ect0s
382563e659 Update discord-killfeed.js 2022-05-27 10:07:09 -04:00
Thomas Smyth
6769cf7f90
Add light logo to README template 2022-05-27 14:46:08 +01: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
Thomas Smyth
5454715bcf
Update other urls dependent on GitHub repo owner 2022-04-15 13:25:16 +01:00
Thomas Smyth
3cd34e1d3c
Update SquadJS repository url 2022-04-15 13:15:21 +01:00
ect0s
5964b37769 Attempt Fix vehicle filtering for maps with 0 tanks or helicopters
2.12 Squad, some layers have no vehicles, so when reading JSON from the wiki team we reject a promise because no data[t].vehicles property, this sets to empty array before we attempt a filter.

Should stop promise rejection during startup
2022-02-12 13:59:11 -05:00
ect0s
a2348c6bd1 Squad Commits, Robust new Game Regex
Attempt at more Robust Regex

This regex searches for all the current information we get via the NewGame event, but with a few patterns that search deeper/different folder structures.

Appears to work on all base game content and mods that I have tested, however, mods may capture garbage information inside of mapClassname.

This will also fail if a modder puts no folders between the root of their project and their layers

/mymod/mymap

vs

/mymod/afolder/mymap

afolder would end up being the mapClassname.

https://regex101.com/r/e0Ui0K/1
2021-11-26 15:01:10 -05:00
Shanomac99
fad74b19f6 Changed layer images to new hosting location.
Added rawName data type so images uses the correct data.
2021-10-29 21:44:21 -04:00
11T Studio
dbbb708e3b
Add event SQUAD_CREATED
To be utilized via the SocketIO. (mainly SquadStatsJSPRO tbh)
2021-10-26 23:12:04 +02:00
11T Studio
e2ec5ee9bb
Kick, warn and ban added to emits 2021-08-13 23:18:08 +02:00
11T Studio
94bb989a83
Add DiscordKillFeed plugin 2021-08-12 20:49:59 +01:00
ect0s
4ca8839675
Add data to UPDATED_A2S_INFORMATION event 2021-08-07 22:44:29 +01:00
11T Studio
ed0883c858
Adding the guide link to the documentation
This guide will be updated by me from time to time and will be kept up to date with the latest SquadJS versions.
2021-08-06 22:28:18 +02:00
11T Studio
a04aee60bf
Adding the new event
I know I need to rewrite this outside of the plugins but I plan to make it after my vacation 😢
2021-08-06 20:17:52 +02: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
7437e8108b
Merge pull request #196 from ect0s/test
Added 'SQUAD_CREATED' log rule based on UAT test branch.
2021-06-29 14:43:13 +01:00
ect0s
ed9031d0fe Create discord-squad-created.js
Simple example plugin.
2021-06-25 21:09:08 -04:00
ect0s
5387da16bb Fixed SquadName/SquadID properties 2021-06-25 18:04:45 -04:00
ect0s
eb714ecad3 Added 'SQUAD_CREATED' log rule
Initial Attempt at parsing Squad Created Log line.
2021-06-25 12:39:37 -04:00
Thomas Smyth
964a65ce6e Fix support for multiple servers to discord-base-message-updater plugin 2021-05-17 22:15:04 +01:00
wiilover22
eab39b20ab Fix player disconnection event. 2021-04-07 18:07:03 -04:00
wiilover22
6ea5bcb20d Fixed regex for steamid-connected 2021-04-07 12:31:32 -04:00
Thomas Smyth
fa31300c28 Add FogOfWar plugin 2021-04-07 16:48:00 +01:00
Thomas Smyth
5733c552f5 Add support for multiple servers to discord-base-message-updater plugin 2021-04-04 20:22:25 +01:00
Thomas Smyth
adb9dd23d6 Fix layer information link 2021-04-01 18:14:02 +01:00
SeanWalsh95
86f420fdf3 add Tank/Heli count as sub-property of team per https://github.com/Thomas-Smyth/SquadJS/pull/184#discussion_r602898710 2021-03-30 14:43:24 -04:00
SeanWalsh95
3339f78df6
Add Helicopter and Tank count to layer info
simplified to reduce commit spam
2021-03-16 15:52:24 -04:00
got2bhockey
db378918c3 Added Admins Online to admin-request module 2021-03-15 16:07:53 -04:00
Thomas Smyth
fb5e3b9523
Merge pull request #179 from got2bhockey/master
Add win/loss stats to Grafana
2021-03-13 21:40:24 +00:00
SeanWalsh95
20485c61c8
fix log lines for scbl-info 2021-03-13 16:33:56 -05:00
got2bhockey
6fac444ad0 Fixed admin list parsing case-sensitivity 2021-03-12 16:45:13 -05:00
got2bhockey
c170a65bf5 Added Win/Loss stats to Grafana 2021-03-12 16:43:04 -05:00
got2bhockey
a412d75356 Updated DBLog Grafana README documentation. 2021-03-12 14:11:48 -05:00
Levent007
3ab9037593 show active admins for !admin and warn them toggleable 2021-03-10 14:30:33 +01:00
Thomas Smyth
db75cb2aa3
Merge pull request #174 from SeanWalsh95/awn-gg-api
Add simple awn.gg API connector
2021-03-09 20:40:52 +00:00
Thomas Smyth
3a512c86e0 Add sqlite to default connectors 2021-03-09 20:36:50 +00:00
Thomas Smyth
2736489dc7 Revamp DiscordServerStatus plugin 2021-03-09 20:31:33 +00:00
SeanWalsh95
f8756ea922 simple awnAPI connector 2021-03-09 11:51:19 -05:00
Thomas Smyth
5fce1ae2f2 Add layer image to Discord server status embed 2021-03-08 22:03:18 +00:00
Thomas Smyth
0aaea4e5ed
Merge pull request #172 from 11TStudio/rconWarnKickBan
Fix kick and ban RCON regular expressions
2021-03-08 21:03:37 +00:00
Levent007
381637387d changing \d to [0-9], for sake of code ethics 2021-03-08 21:54:25 +01:00
Levent007
db4808b531 Fixing regex yet again... 2021-03-08 21:45:42 +01:00
Levent007
ccac5a9917 Fixing regex + adding playerID in match for kicks 2021-03-08 21:39:52 +01: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
347b8182b9 reorder the code 2021-03-08 21:31:46 +01:00
Levent007
10be536c7b New RCON event emit for BAN, KICK, WARN + rcon.ban method 2021-03-08 21:26:22 +01:00
Thomas Smyth
1bb68ceba9 Fix typo in DiscordFOBHABExplosionDamage plugin 2021-03-08 19:13:54 +00:00
Thomas Smyth
308e29b00c Add plugin to log FOB/HAB explosion damage 2021-03-08 18:51:08 +00:00
Thomas Smyth
7e0f414376 Fix nextMapToBeVoted assignment 2021-03-08 15:07:18 +00:00
Levent007
19087e93dd Making the code more efficient and light 2021-03-08 12:54:45 +01:00
Levent007
2fd278e4cd fixing the PR 2021-03-08 12:36:38 +01: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
c83bcfb8ae modify of debug condition + turning string to int + making them default active 2021-03-08 11:33:49 +01:00
Levent007
6f4b592df6 Adding waitOnNewGames and waitTimeOnNewGame to seeding-mode plugin 2021-03-08 11:31:32 +01:00
Levent007
30475da013 Adding Event Broadcast To The Plugin SocketIOAPI 2021-03-07 23:45:53 +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
b9dcfb8b62 Add notice regarding v3.0.0 version bump 2021-03-07 17:43:12 +00:00
Thomas Smyth
b2b4ca65a2 Various README Improvements 2021-03-07 17:33:20 +00:00
Thomas Smyth
3c5ac9bfee Add Squad Wiki Team to credits 2021-03-07 16:23:43 +00:00
Thomas Smyth
cae18761ba Update version checking system 2021-03-07 15:15:34 +00:00
Thomas Smyth
2367ed89e4 Tidy PLAYER_DISCONNECTED event 2021-03-07 14:29:57 +00:00
Thomas Smyth
996418052d ESLint & README Generation 2021-03-05 17:32:31 +00:00
Thomas Smyth
1108b71589
Merge pull request #160 from milutinke/master
Fixed bug #148. Added PLAYER_DISCONNECTED event
2021-03-05 17:31:48 +00:00
Levent007
ce53d33b1e Fix for the placeholder plugin 2021-03-05 17:45:45 +01:00
Levent007
68b44c7431 Shorten the example aswell the server socket init 2021-03-05 17:12:39 +01:00
Levent007
7166615b3b Renaming the plugin cz why not? 2021-03-05 17:04:18 +01:00
Levent007
7771376a26 Replacing githubraw with CDN(jsDelivr) 2021-03-05 17:00:38 +01:00
Levent007
456b7e08fc Fix typo 2021-03-05 10:19:21 +01:00
Levent007
d718148775 Richment of the documentation 2021-03-05 10:18:03 +01:00
Levent007
e37f6aad08 Squad IO API Plugin 2021-03-04 23:36:57 +01:00
Levent007
d2c2844755 adding failover for pull layer (Fixing issues with Chinese firewall) 2021-03-04 15:55:36 +01:00
Dusan Milutinovic
1a9f1b04da
Update player-connected.js 2021-03-02 20:30:22 +01:00
Dusan Milutinovic
ef02ec76ba
Update player-disconnected.js 2021-03-02 20:30:09 +01:00
Dusan Milutinovic
0e7bc2fc91 Fixed bug #148. Added PLAYER_DISCONNECTED event 2021-03-02 00:05:46 +01:00
werewolfboy13
9d67d042f0 Updated node version with template. 2021-02-27 19:49:15 -06:00
Thomas Smyth
a16edebdf2 Update credits 2021-02-28 01:09:51 +00:00
Thomas Smyth
503b21e38e Add back DiscordPlaceholder plugin 2021-02-28 00:45:21 +00:00
got2bhockey
82586a970a Ported Grafana dashboard to v2 format 2021-02-27 19:03:10 -05:00
Thomas Smyth
b6cbea325e Use current layer and not history in status 2021-02-27 10:24:44 +00: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
0a495b0fa4
npm install warning 2021-02-26 10:38:53 +00:00
Shanomac99
4008075fba Corrected Squad Wiki Data.
- Changed layer classname to use level name
- Updated github link to a more permanent folder location.
2021-02-26 02:17:34 -05:00
Thomas Smyth
27d71f0672
Merge pull request #145 from SeanWalsh95/patch-1
Patch 1
2021-02-25 22:03:45 +00:00
got2bhockey
62ed62830c Added toLowerCase to address case sensitive config 2021-02-25 16:53:54 -05:00
SeanWalsh95
a2c043ef4c prefer throwing error to catch
- rm try/catch
prefer to throw error on failure to fetch layer information as it is critical to the apps operation

+add log line to indicate a force update

+increase verboseness of already pulled log as it is not critical info
2021-02-25 15:50:18 -05:00
Thomas Smyth
c8a26544de
Merge pull request #142 from milutinke/master
Intervalled Broadcasts plugin causes a crash
2021-02-25 20:32:20 +00:00
Dusan Milutinovic
7f050e1909 Intervalled Broadcasts on the line 47 causes a crash because of undefined. The code should have been this.options.broadcasts instead of this.broadcasts 2021-02-25 21:26:40 +01:00
SeanWalsh95
2b565eb965 ESLint & README Generation 2021-02-25 17:38:00 +00:00
SeanWalsh95
6cd99f8bc9
try/catch axios request + set pulled flag
Wraps axios request with try/catch for cases where we do not get a response or get an error

sets `this.pulled` flag after receiving and parsing response
2021-02-25 12:37:20 -05:00
Thomas Smyth
d8b9b09b72 Fix bug in seeding plugin 2021-02-25 17:26:26 +00:00
Thomas Smyth
2703afbd7d Add additional logging 2021-02-25 13:02:08 +00:00
Thomas Smyth
636282236f Fix Discord bot status 2021-02-25 11:59:34 +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
86a8b89ef9 Initial Squad v2 Layer Support Bug Fixes 2021-02-03 22:29:42 +00:00
Thomas Smyth
2ba79210f6 Fix round winner layer name 2021-02-03 20:44:55 +00:00
Thomas Smyth
476afc0688 Track admin cam usage over RCON instead of logs 2021-02-03 19:17:25 +00:00
Thomas Smyth
a289188dfa Initial Squad v2 Layer Support Bug Fixes 2021-02-03 18:41:35 +00:00
Thomas Smyth
b5a3f4c59b Initial Squad v2 Layer Support 2021-02-03 17:33:01 +00:00
Thomas Smyth
69096b00af ESLint & README Generation 2021-01-30 17:23:25 +00:00
Thomas Smyth
9b5603d2b7
Merge pull request #135 from 11TStudio/patch-4
Update scbl-info.js
2021-01-30 17:21:50 +00:00
Thomas Smyth
2da73e58d2 Sort plugins alphabetically 2021-01-30 17:01:52 +00:00
11T Studio
3d464cb4c7
Update scbl-info.js
if we have no info about the user than it should stop the code there.
2021-01-30 16:38:14 +01:00
Thomas Smyth
95b8baf560 Dynamically load plugins 2021-01-30 14:39:56 +00:00
Thomas Smyth
90540f0e09 Fix error in auto-tk-warn 2021-01-28 20:13:53 +00:00
Thomas Smyth
b5fb12e739
Merge pull request #134 from SeanWalsh95/admin-list-edits
Admin list edits
2021-01-28 18:18:19 +00:00
SeanWalsh95
6a1cce8720 prefer for loop for readability 2021-01-28 12:47:08 -05:00
SeanWalsh95
b965e4a1d6 admin list parse improvements 2021-01-28 12:41:13 -05:00
Thomas Smyth
f2717e0f62 Wrap SCBL API call in try catch 2021-01-15 10:27:58 +00:00
Thomas Smyth
a5f35d5915 Fix SCBL Info plugin's threshold option 2021-01-15 09:55:10 +00:00
Thomas Smyth
6f2c9507e3 Fix template literals for copyright message 2021-01-14 21:43:51 +00:00
Marek
dad56897f6
fixed terminology 2021-01-15 02:23:37 +06:00
werewolfboy13
8ea54b9f4f Updated Year For Copyright Message 2021-01-14 14:09:21 -06:00
SeanWalsh95
0937c528b3 ESLint & README Generation 2021-01-12 23:31:59 +00:00
SeanWalsh95
b51c100f55 fix for issue #124
lists use .includes not in
2021-01-12 18:30:02 -05:00
SeanWalsh95
0457464113 simplify tracking conditions 2021-01-12 16:21:33 -05:00
Thomas Smyth
b604ab9195
Merge pull request #125 from SeanWalsh95/kick-unassigned-patch
Auto-Kick-Unassigned patch
2021-01-12 17:08:58 +00:00
SeanWalsh95
c29d924524 fix refrence change per f67a8bb 2021-01-12 12:09:09 -05: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
SeanWalsh95
b17a411f8d move adminList gets to mount() 2021-01-12 11:17:55 -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
62b857c391 Fix identation 2021-01-08 15:41:51 +00:00
werewolfboy13
59f93c6e67 fixed placing 2021-01-08 09:38:22 -06:00
werewolfboy13
88975c3b4d added examples 2021-01-08 09:22:47 -06:00
werewolfboy13
47ee70eaa8 fixed templates 2021-01-07 17:45:56 -06:00
Thomas Smyth
23518b4d97 Add SCBL plugin 2021-01-07 20:52:55 +00:00
Thomas Smyth
f67a8bba93 Rename readme 2021-01-07 16:38:59 +00:00
Thomas Smyth
2ea2ec7484 Improve logo on startup 2021-01-07 16:37:27 +00:00
Thomas Smyth
92d77e3712 Update axios 2021-01-05 00:02:13 +00:00
Thomas Smyth
cb5088d88a Fix gradient error 2021-01-04 22:51:32 +00:00
11T Studio
34e5118ac8
Forget return after condition is ment 2021-01-01 19:40:52 +01:00
Thomas Smyth
4a9521a8f9 Merge branch 'beta' into pr/112 2020-12-26 17:58:20 +00:00
Thomas Smyth
dd0c751315
Merge pull request #113 from SeanWalsh95/unassigned-kick-patch
Edits to auto-kick-unassigned docs
2020-12-26 17:11:19 +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
1dc32cb4b6 Change config to always use Seconds 2020-12-22 17:12:30 -05:00
SeanWalsh95
d1a4bd276a alter auto-kick-unassigned docs to be more clear 2020-12-22 13:52:42 -05:00
SeanWalsh95
a2e8c37934 fix db-log 2020-12-16 15:24:35 -05:00
SeanWalsh95
3a2c67474b make plugin options an unorderd list 2020-12-16 15:17:55 -05:00
SeanWalsh95
dff68be6bc small spelling fixes 2020-12-16 14:28:55 -05:00
SeanWalsh95
35f874daf1 rm legacy flag from config 2020-12-16 14:22:01 -05:00
SeanWalsh95
ba8bc215fb prefer relitive links 2020-12-16 14:21:31 -05:00
SeanWalsh95
9ea999cb13 rm second br 2020-12-16 14:07:41 -05:00
SeanWalsh95
1a8eface18 better formatting for github 2020-12-16 14:05:25 -05:00
SeanWalsh95
683d91de1c rm redundant hz rule 2020-12-16 14:03:50 -05: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
Thomas Smyth
58c3521679 Merge branch 'beta' of https://github.com/Thomas-Smyth/SquadJS into beta 2020-12-14 17:29:28 +00:00
Thomas Smyth
2ae4490829 Import DiscordTeamkill 2020-12-14 17:29:07 +00: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
f6134e0659 Fix sequelize connection string config 2020-12-09 14:33:56 +00:00
SeanWalsh95
465a281828
I hate the web editor 2020-12-08 16:43:00 -05:00
SeanWalsh95
b9d18c690e
Update config-template.json 2020-12-08 16:40:26 -05:00
SeanWalsh95
f55df738cf
add nested logger settings to template 2020-12-08 16:36:34 -05:00
SeanWalsh95
238fcc79f4
update config references 2020-12-08 15:27:17 -05:00
Thomas Smyth
879a20a87a
Merge pull request #107 from SeanWalsh95/patch-1
SquadJS logging for MySQL
2020-12-08 20:20:51 +00:00
SeanWalsh95
2d70653609
Update factory.js 2020-12-08 15:01:21 -05:00
Thomas Smyth
fc904d37ca Correct reviver name type 2020-12-08 18:28:07 +00:00
Thomas Smyth
daee6f50db Add match to TickRate and PlayerCount 2020-12-08 17:58:31 +00:00
SeanWalsh95
362468c252
Log MySQL to logger
Sends Sequelize logging to Logger.verbose so that it is toggleable via SquadJS configs
2020-12-08 12:39:34 -05:00
Thomas Smyth
c350d767e6 Fix typo 2020-12-08 17:32:43 +00:00
Thomas Smyth
491c31ef56 Update readme with logDir info 2020-12-08 17:32:26 +00:00
Thomas Smyth
b156772cf0 Update readme with FTP info 2020-12-08 17:30:49 +00:00
Thomas Smyth
cef5e0d337 Replace loc with source 2020-12-08 17:26:31 +00:00
Thomas Smyth
09a919a328 Update readme 2020-12-08 17:22:36 +00:00
Thomas Smyth
8a29ad043f Fix out of date version system 2020-12-08 17:16:32 +00:00
Thomas Smyth
fb7ba533a9 Throw error on missing plugin 2020-12-08 16:52:44 +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
SeanWalsh95
83fb25737e format object passed in event 2020-12-07 21:59:45 -05: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
Thomas Smyth
ea72cd0666 Merge branch 'v2' of https://github.com/Thomas-Smyth/SquadJS into v2 2020-12-03 14:16:43 +00:00
Thomas Smyth
dd685ecd80 Rewrite of plugin system 2020-12-03 14:16:07 +00:00
SeanWalsh95
88edf5ca5b
small discord-rcon fix 2020-11-17 15:23:45 -05:00
SeanWalsh95
c7b2763cc7 AdminList suport for local files 2020-11-10 11:31:24 -05:00
Thomas Smyth
86d0878174 Add verbose shortcut to plugins 2020-11-10 13:04:38 +00:00
Thomas Smyth
3daf73de86 Add more logging from SquadServer 2020-11-09 21:10:32 +00:00
SeanWalsh95
4c902c3809 Logging changes 2020-11-09 13:42:19 -05:00
SeanWalsh95
9acd34ffb9 more logging 2020-11-07 20:23:21 -05:00
SeanWalsh95
1005c775be change to actual option name + sub count for length 2020-11-07 20:23:00 -05:00
Thomas Smyth
8de7368163 lint 2020-11-08 00:10:55 +00:00
SeanWalsh95
cfd245651d fix missing attr 2020-11-07 18:52:21 -05:00
SeanWalsh95
00370ec283
Merge branch 'v2' into auto-kick-afk 2020-11-07 18:50:40 -05:00
SeanWalsh95
584e0f8d44 rm queue option + reorder conditions 2020-11-07 18:48:16 -05:00
SeanWalsh95
e016f23f55 update to support new util admin lists 2020-11-07 18:43:28 -05:00
SeanWalsh95
11b8801c2f move fetching admin lists to util 2020-11-07 18:43:08 -05:00
Thomas Smyth
9d45d4c13d Refactor SquadServer factory 2020-11-07 12:03:25 +00:00
SeanWalsh95
6ad552b7b0 Descriptive Plugin Error Message
error message for the case where a plugin is defined in the config file but does not exist in the codebase
2020-11-05 11:32:25 -05:00
SeanWalsh95
013ace439f Merge branch 'v2' of https://github.com/Thomas-Smyth/SquadJS into Thomas-Smyth-v2 2020-11-05 11:02:16 -05:00
Thomas Smyth
d32d3000d9 Refactor template scripts 2020-11-04 23:17:21 +00:00
SeanWalsh95
d23e7e6d74 fix typo 2020-10-30 17:30:24 -04:00
SeanWalsh95
f63dfa26a4 move remoteAdmins to connectors 2020-10-30 17:17:53 -04:00
SeanWalsh95
7dd1e57953 rename afk => unassigned
+ typo
2020-10-30 15:58:31 -04:00
SeanWalsh95
9d3178ce2b more readable group matching 2020-10-29 13:14:20 -04:00
SeanWalsh95
579c0e2df2 formatting + ensure afk on kick 2020-10-28 17:03:46 -04:00
SeanWalsh95
7b1301ee73 consistent lint 2020-10-28 15:36:47 -04:00
SeanWalsh95
ce76895e10 add logging/ fix logic 2020-10-28 15:33:21 -04:00
SeanWalsh95
bd12bd9bfc refactor for readabliity
add comments and move functions from constructor to class
2020-10-28 14:43:22 -04:00
SeanWalsh95
0763f0ebab track warnings, emit event when kicking player 2020-10-27 19:02:55 -04:00
SeanWalsh95
602b8bf720 more descriptive option name 2020-10-27 18:09:11 -04:00
SeanWalsh95
490e4068e7 add ignoreAdmins 2020-10-27 17:48:09 -04:00
SeanWalsh95
41f9572986 add admins from remote adminlist 2020-10-27 17:31:05 -04:00
SeanWalsh95
a2793326b2 use objects instead of array 2020-10-26 03:03:45 -04:00
SeanWalsh95
ccecf1d9d7 fix loops 2020-10-25 20:44:05 -04:00
SeanWalsh95
e2e1c80a29
Merge branch 'v2' into auto-kick-afk 2020-10-25 20:39:34 -04:00
SeanWalsh95
a051358c60 round start grace period and remove tracking on server PLAYER_SQUAD_CHANGE event 2020-10-25 20:24:28 -04:00
SeanWalsh95
20f0e101eb add PLAYER_TEAM_CHANGE/PLAYER_SQUAD_CHANGE events 2020-10-25 20:15:08 -04:00
Thomas Smyth
359b0319da Rcon client rewrite 2020-10-26 00:11:47 +00:00
SeanWalsh95
1d3e6e8a5e add new logging 2020-10-25 19:31:46 -04:00
SeanWalsh95
c9278f99bb Merge branch 'auto-kick-afk' of https://github.com/SeanWalsh95/SquadJS into auto-kick-afk 2020-10-25 19:18:30 -04:00
SeanWalsh95
6a19fcf8c4 change to timers for warnings and kicks
test more when RCON for v2 is stable
2020-10-25 19:18:24 -04:00
SeanWalsh95
264d05c5b6
Merge branch 'v2' into auto-kick-afk 2020-10-25 13:42:30 -04:00
SeanWalsh95
54ec6ca8c0 comments 2020-10-25 13:38:18 -04:00
Thomas Smyth
0d5bd481f0 Add additional logging to LogParser 2020-10-25 14:28:36 +00:00
Thomas Smyth
7262533f0e Use Logger in LogParser and RCON 2020-10-25 14:24:48 +00:00
Thomas Smyth
e39d36d6d2 Refactor logging 2020-10-25 13:59:57 +00:00