Commit Graph

242 Commits

Author SHA1 Message Date
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