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.

Content
6 years ago
0.16
10
Cheats
Owner:
mooop12
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
6 years ago
Latest Version:
1.0.1 (6 years ago)
Factorio version:
0.16
Downloaded by:
10 users

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.