Commit Graph

190 Commits

Author SHA1 Message Date
ect0s
4c9aef454d Add default value case victim is nullptr 2022-05-27 09:08:56 -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
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
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
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
Thomas Smyth
964a65ce6e Fix support for multiple servers to discord-base-message-updater plugin 2021-05-17 22:15:04 +01: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
got2bhockey
db378918c3 Added Admins Online to admin-request module 2021-03-15 16:07:53 -04:00
SeanWalsh95
20485c61c8
fix log lines for scbl-info 2021-03-13 16:33:56 -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
2736489dc7 Revamp DiscordServerStatus plugin 2021-03-09 20:31:33 +00:00
Thomas Smyth
5fce1ae2f2 Add layer image to Discord server status embed 2021-03-08 22:03:18 +00: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
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
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
Dusan Milutinovic
0e7bc2fc91 Fixed bug #148. Added PLAYER_DISCONNECTED event 2021-03-02 00:05:46 +01: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
got2bhockey
62ed62830c Added toLowerCase to address case sensitive config 2021-02-25 16:53:54 -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
Thomas Smyth
d8b9b09b72 Fix bug in seeding plugin 2021-02-25 17:26:26 +00:00
Thomas Smyth
636282236f Fix Discord bot status 2021-02-25 11:59:34 +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
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
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
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
b17a411f8d move adminList gets to mount() 2021-01-12 11:17:55 -05: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
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
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
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
2ae4490829 Import DiscordTeamkill 2020-12-14 17:29:07 +00: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
Thomas Smyth
8a29ad043f Fix out of date version system 2020-12-08 17:16: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
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
Thomas Smyth
86d0878174 Add verbose shortcut to plugins 2020-11-10 13:04:38 +00:00
SeanWalsh95
4c902c3809 Logging changes 2020-11-09 13:42:19 -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
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
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