Cooldude2606
0eb56b1711
Disable options if a system doesn't support it
2025-05-03 01:53:56 +01:00
Cooldude2606
42ad7f8704
Add plugin list to update modal
2025-04-30 00:05:24 +01:00
Cooldude2606
ff35b5c378
Basic functionality of remote npm
2025-04-29 01:40:22 +01:00
Daniel
bbf65dea57
Support quality and ghosts for power armor equipment ( #753 )
2025-04-13 21:32:23 +01:00
Daniel
fcd3dbb65b
Merge pull request #748 from Cooldude2606/feature/console-log
...
Add config option for console logging
2025-04-13 21:56:40 +02:00
Cooldude2606
916c48844a
Fix incorrect use of Array.splice
...
This should resolve the sync loops for bans and admins
2025-04-06 18:06:05 +01:00
Cooldude2606
60ee4b2c86
Add config option for console logging
2025-03-29 01:41:19 +00:00
Cooldude2606
4e9df0bc21
v2.0.0-alpha.20
2025-02-28 23:55:11 +00:00
Cooldude2606
9f888867fe
Dep version bumps
...
Temp Fix #737
2025-02-25 21:09:11 +00:00
Danielv123
12f833fcc3
Add clusterio_lib release changelog
2025-02-25 19:14:32 +01:00
Danielv123
5d37712db4
Fix online time export in 2.0 w backwards compat
2025-02-16 13:34:35 +01:00
Danielv123
2162351710
Bump clusterio_lib versions along with subspace
2025-01-24 17:49:04 +01:00
Cooldude2606
26269df7d4
Add 2.0.29 freeplay hash
...
Hot patch to add the updated 2.0.29 control.lua freeplay hash to knoww scenarios.
2025-01-21 20:43:00 +00:00
Cooldude2606
0baf47c8e7
v2.0.0-alpha.19
2024-12-23 22:08:23 +00:00
Cooldude2606
16bc651afc
Add bidirectional sync to admin and ban list ( #709 )
...
* Add bidirectional sync to admin and ban list
* Add tests
* Response to comments
* Skip broken tests from change of default value
2024-12-23 18:58:44 +00:00
Cooldude2606
91c1d2e6c6
Fix version variables in compat.lua ( #713 )
2024-12-23 15:31:04 +00:00
Cooldude2606
ff9ba0271f
Expand compat to 0.17 ( #711 )
2024-12-13 13:48:52 +00:00
Daniel
87746edbf5
Merge pull request #708 from clusterio/fix/cpu-usage-without-wmic
...
Use Get-Process instead of wmic on windows
2024-12-09 15:25:13 -08:00
Danielv123
c0d33d5852
In 2.0, icon_size is optional with a default of 64 - fixes #699
2024-12-09 15:23:45 -08:00
Daniel
485504d885
Recreate instance's required subfolders on startup ( #705 )
...
Fixes #698
2024-12-09 15:21:59 -08:00
Danielv123
7b34d238ea
Use Get-Process instead of wmic on windows
2024-12-03 17:37:40 +00:00
Daniel
1090197acc
Merge pull request #697 from clusterio/fix/json-function-backwards-compatibility
...
Add backwards compatible json serialization capability
2024-12-01 10:42:05 +00:00
Danielv123
54411bc327
Use builtin version when available
2024-12-01 09:14:04 +00:00
Danielv123
85cdbb1185
Add backwards compatible json serialization capability
...
resolves #687 using https://github.com/rxi/json.lua
2024-11-26 19:11:53 +00:00
Danielv123
5586b1640b
Include keywords for clusterio and factorio in all first party packages
2024-11-26 08:17:45 +00:00
Danielv123
636777d935
Add locally provided plugins by default
2024-11-25 12:22:16 +00:00
Cooldude2606
ebf8504507
Patches after manual testing
2024-11-23 14:27:06 +00:00
Cooldude2606
ba3d74388d
Update changelog
2024-11-23 14:27:03 +00:00
Cooldude2606
8b551deda8
Add 2.0 support to module template
2024-11-23 14:26:12 +00:00
Cooldude2606
4ee508d1b2
Add 2.0 support to inventory_sync
2024-11-23 14:26:10 +00:00
Cooldude2606
ad836d3776
Add 2.0 support to core lua
2024-11-23 14:26:10 +00:00
Cooldude2606
201a201f05
Add compat lib
2024-11-23 14:25:57 +00:00
Cooldude2606
e4f0ab1e8f
Merge branch 'master' into feature/2.0-scenarios
2024-11-22 13:36:33 +00:00
Daniel
41d76ff757
Prevent bypassing command permission with leading whitespace
2024-11-21 08:46:22 -08:00
Cooldude2606
c5841b17a0
Add tests for new config value
2024-11-21 08:46:22 -08:00
Cooldude2606
762212747e
Added factorio.enable_script_commands
2024-11-21 08:46:22 -08:00
Cooldude2606
3850558d49
Add and fix tests
2024-11-13 22:17:27 +00:00
Cooldude2606
81444cc447
Fix ModPackView and add 2.0 scenario support
2024-11-13 19:11:59 +00:00
Cooldude2606
c714d86c5c
Added Builtin Mods
2024-11-13 17:32:14 +00:00
Cooldude2606
7298ef2ea7
Bump winston@3.17 and resolve type error
2024-11-12 16:46:01 +00:00
Cooldude2606
ace8356f68
Merge pull request #679 from Cooldude2606/fix/whitelist-remove
...
Fix whitelist remove command with tests. Tests check that set-banned and set-whitelist will send rcon commands to running instances and that it is case insensitive.
2024-11-01 01:29:10 +00:00
Cooldude2606
19b5c4d857
Fix whitelist command
2024-10-31 16:07:58 +00:00
Cooldude2606
0afbb69308
Use sync file writes and catch errors to reset state. ( #677 )
...
By using sync file writes it prevents interrupts between the state change and the server process starting. Also adding error catching to reset the state following an error writing to the files.
Fixes : #676
2024-10-29 16:50:05 +00:00
Hornwitser
a09a564358
Log where Factorio credentials taken from
...
Provide ease of diagnosing credential issues by accurately logging if
the credentials were sourced from the instance config, the host config,
the controller config, or if no credentials were found.
2024-09-18 23:41:45 +02:00
Hornwitser
44e5847a1d
Implement shared Factorio credentials
...
Add config entries to controller and host for the Factorio username and
token to use when talking to the Factorio APIs. If set an username and
token is not set in factorio.settings then these settings are used,
making it easy to configure one set of credentials for a cluster/host.
For running more public provide your own hardware clusters, there's an
option to disable controller sharing the credential with the hosts so
that each host have to set their own credentials.
2024-09-16 23:23:21 +02:00
Hornwitser
a1c7173dd2
Merge pull request #661 from Hornwitser/windows-rework
...
Rework Factorio server stop logic
2024-09-14 18:15:19 +02:00
Cooldude2606
dfc406d025
Host shutdown on duplicate connection ( #647 )
...
* Update no-shadow lint rule for enums
https://typescript-eslint.io/rules/no-shadow/
* Add websocket close codes enum
* Pass close code and reason to event handlers
* Shutdown host on duplicate connection
* Add connection refusal
* Fix lib/link tests
* Response to comments
* Additional Tests
* Removed missed codes in close event
2024-09-14 16:39:59 +01:00
Hornwitser
10a857c4ad
Gracefully handle RCON connection dropping
...
Handle the edge cases of RCON authentication failing and RCON connection
failing during startup so that server stop still works in these cases.
2024-09-14 16:09:17 +02:00
Hornwitser
a1e7b24298
Fix lingering killed server flag
...
Fix killing the Factorio server causing the next run of it to report a
different error when it's killed by an external factor than what's
expected.
2024-09-14 15:05:13 +02:00
Hornwitser
7ff06f2b96
Rewrite Factorio server shutdown logic
...
Rewrite shutdown logic for Factorio servers to send a /quit command via
RCON for both Linux and Windows when stopping a server to avoid having
two confusingly intermixed code paths for Windows and Unix systems.
This makes shutdown on Windows tell clients the server shut down instead
of abruptly stoping to respond.
2024-09-14 15:05:13 +02:00