Hornwitser
9dac57b36b
Port Research Sync plugin
...
Rewriwe the researchSync plugin into plugins/research_sync.
2020-03-17 01:31:51 +01:00
Hornwitser
737c9924b9
Port and rename clusterioMod plugin
...
Port the clusterioMod plugin to the new plugin system under the new
subspace_storage name.
2020-03-13 22:46:17 +01:00
Hornwitser
6f22942cc5
Fix incorrect instance lookups in plugins
...
Fix mistaken lookups missing the instance part, or trying to get the id
from the removed instance.id property.
2020-03-13 22:46:17 +01:00
Hornwitser
6cf16cc09e
Reference by global in statistics_exporter
...
Store export function in a global table in the lua module for statistics
exporter in order to avoid a remote.call.
2020-01-04 17:34:16 +01:00
Hornwitser
66aa7e1e43
Add clusterio module with API for lua code
...
Add a shared API for lua code through a module named clusterio.
2020-01-04 17:34:16 +01:00
Hornwitser
221dc855f4
Add option to throw on non-empty RCON responses
...
Add option to FactorioServer.sendRcon to throw on non-empty responses
from Factorio. This is useful for detecting errors returned by commands
that should not have a response.
2020-01-04 17:34:16 +01:00
Hornwitser
80bd75ba16
Rework module loading
...
Change module loading to use a module.json file describing the module
and patch in all files in a directory path passed to the patcher instead
of having to pass the files names and their content. This allows the
specification of which files should be passed to the event_handler lib
and an easy implementation of loading stand alone modules.
2020-01-04 17:34:16 +01:00
Hornwitser
610859eb3b
Improve error message from statistics_exporter
...
If the JSON parse failed it will usually be because Factorio returned an
error message instead of JSON, pass this along for easier debugging.
2019-12-29 04:44:16 +01:00
Hornwitser
37d8eedc0d
Add tests for statistics_exporter plugin
...
These were already made at the time I ported the plugin but somehow I
forgot to add them to the statistics rework commit (26eefb0 ) :/.
2019-12-29 04:42:13 +01:00
Hornwitser
26eefb0476
Rewrite statistics export
...
Add automatic export of metrics from slaves to the master server. And
rewrite the statistics export plugin to use this new system.
2019-12-20 21:26:29 +01:00
Hornwitser
b71c392b32
Port globalChat to new plugin system
...
Port the globalChat plugin to the new plugin system. Since there's no
config system yet the config options for it is removed.
2019-12-14 17:51:54 +01:00