Commit Graph

222 Commits

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