Commit Graph

190 Commits

Author SHA1 Message Date
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
SeanWalsh95
7dd1e57953 rename afk => unassigned
+ typo
2020-10-30 15:58:31 -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
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
a051358c60 round start grace period and remove tracking on server PLAYER_SQUAD_CHANGE event 2020-10-25 20:24:28 -04: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
861571c5b8 Add rawOptions and use this.server in plugins 2020-10-23 11:29:38 +01:00
Thomas Smyth
e29e8fc785 Rebase plugin options 2020-10-23 11:18:23 +01:00
SeanWalsh95
b784a9f4c9 add more options 2020-10-22 20:22:34 -04:00
SeanWalsh95
de49addc95 init afk plugin for v2 2020-10-22 17:06:28 -04:00
Thomas Smyth
cfbebb4ad4 TeamRandomizer plugin 2020-10-21 22:49:07 +01:00
Thomas Smyth
d9e3d2b041 DiscordTeamkill plugin 2020-10-21 22:18:34 +01:00
Thomas Smyth
d6ccde4db6 DiscordRoundWinner plugin 2020-10-21 20:28:29 +01:00
Thomas Smyth
e30bacbfe0 DiscordServerStatus plugin 2020-10-16 16:57:22 +01:00
Thomas Smyth
a6f3db94be DiscordDebug plugin 2020-10-16 16:17:02 +01:00
Thomas Smyth
e0691cc0a7 DiscordPlaceholder plugin 2020-10-16 16:06:10 +01:00
Thomas Smyth
2ba158ca7a Improve DiscordSubsystemRestarter responses 2020-10-14 19:51:33 +01:00
Thomas Smyth
84762a4a5c DiscordAdminCamLogs & DiscordSubsystemRestarter plugins 2020-10-14 19:50:35 +01:00
Thomas Smyth
b8e9506cbf Minor bug fixes 2020-10-13 22:37:53 +01:00
Thomas Smyth
4c8364b86e Export DiscordChat plugin 2020-10-13 13:03:18 +01:00
Thomas Smyth
ce1f79bb6a Handle embed copyright in DiscordBasePlugin 2020-10-13 13:02:31 +01:00
Thomas Smyth
0cc1c9c01b DiscordBasePlugin & DiscordChat plugin 2020-10-13 12:59:07 +01:00
Thomas Smyth
7d7d4369f0 DiscordAdminRequest plugin 2020-10-13 12:08:21 +01:00
Thomas Smyth
fc57fc0943 DiscordAdminBroadcast plugin 2020-10-12 22:39:56 +01:00
Thomas Smyth
6fcd26913a AutoTKWarn plugin 2020-10-12 22:12:36 +01:00
Thomas Smyth
2061429e42 DiscordRcon Permissions
Adaptation of https://github.com/Thomas-Smyth/SquadJS/pull/85

Co-Authored-By: SeanWalsh95 <14982667+SeanWalsh95@users.noreply.github.com>
2020-10-12 22:04:51 +01:00
Thomas Smyth
cfde3b2f6a Tidy DiscordRcon plugin 2020-10-05 23:18:03 +01:00
Thomas Smyth
47b8b3321a DiscordRcon plugin 2020-10-05 23:10:40 +01:00
Thomas Smyth
4501ab9779 ChatCommands, IntervalledBroadcasts & SeedingMode plugins 2020-10-05 22:47:33 +01:00
Thomas Smyth
39efc08a78 SquadJS v2.0 Initial Framework 2020-10-05 18:56:45 +01:00