Command Execute

by mooop12
Simple mod that executes any LUA command if sent as a chat message that starts with "./c ". It does this without disabling achievements like the built-in "/c" command.
1 year, 1 month ago
0.16
848
Owner: mooop12
Source: N/A
Homepage: N/A
License: MIT
Created: 1 year, 2 months ago
Latest Version: 1.0.1 (1 year, 1 month ago)
Factorio version: 0.16
Downloaded: 848 times

Simple mod that executes any LUA command if sent as a chat message that starts with ./c, without disabling achievements. Example: ./c game.player.insert{name="iron-plate", count=100}

Very basic, not tested with complex operations and with MP. Has built-in error handling (thanks @zomis), but I would still save before doing complex stuff to be safe.