Changelog / Recent fixes
- Fixed: /gamemode spectator now uses
set_controller{type=god}(prevents the “controller_type is read only” crash). - Fixed: Switching back from spectator/creative restores the player character safely (no “No character” errors).
- Fixed: Commands work from server console and can target one player or all players.
- Fixed: Command arguments are structured to be autocomplete-friendly.
My Admin Tool
A small admin utility mod for Factorio 2.0 (compatible with Space Age).
It adds a few high-impact admin commands: gamemodes, give-items, and time control.
Space Age compatibility
This mod is written for Factorio 2.0+ and works with the Space Age expansion enabled.
Features
Gamemodes (admin-only)
- 0 = Survival (normal gameplay)
- 1 = Creative (cheat mode / infinite crafting where applicable)
- 2 = Spectator (god controller / free camera; not editor mode)
Give items (admin-only)
- Give items to yourself, a target player, or all players.
Time control (admin-only)
- Set day/night and optionally force day/night.
How to use
- Make sure you are a Factorio admin (server admin).
- Use the commands below.
Commands
Gamemode
/gamemode <0|1|2>/gamemode <0|1|2> <player>
Examples:
- /gamemode 1
- /gamemode 2 PlayerName
- /gamemode 0 3
Give
/give <item> [count]/give <player> <item> [count]/give all <item> [count]
Examples:
- /give iron-plate 200
- /give PlayerName steel-chest 50
- /give all repair-pack 20
Time
/timeset day/timeset night/timeforce off/timeforce day/timeforce night
Examples:
- /timeset day
- /timeforce night
Notes
- All commands are admin-only (server console counts as admin).
- Creative mode does not permanently unlock technologies.
- Spectator mode uses god controller (free camera) and restores the character when switching back.
Support / Links
License summary (custom):
You MAY:
- Use and modify this mod.
- Upload and distribute MODIFIED versions (forks), free of charge.
You MUST (for forks):
- Use a distinct name (no impersonation of the original).
- Give clear credit to the original author and link to the original mod page.
- Clearly state that it is modified and summarize the changes.
- Include this license (same license for forks).
You MAY NOT:
- Reupload the ORIGINAL mod unchanged as a standalone download/mod entry.
Exception: allowed only inside free overhaul/modpacks that contain multiple mods,
provided the original files are unmodified, credited, and linked.
- Sell, paywall, or otherwise monetize the original or any modified version
(including forks and modpacks containing it).
My Admin Tool (Deutsch)
Ein kleines Admin-Utility-Mod für Factorio 2.0 (kompatibel mit Space Age).
Es fügt ein paar wichtige Admin-Commands hinzu: Spielmodi, Give-Items und Zeitsteuerung.
Space Age Kompatibilität
Dieses Mod ist für Factorio 2.0+ geschrieben und funktioniert mit aktiviertem Space Age.
Features
Spielmodi (nur Admin)
- 0 = Survival
- 1 = Kreativ (Cheat-Mode / ∞ Crafting je nach Factorio)
- 2 = Spectator (God-Controller / freie Kamera; kein Editor-Mode)
Give Items (nur Admin)
- Items geben an dich, einen Spieler oder alle Spieler.
Zeitsteuerung (nur Admin)
- Tag/Nacht setzen und optional Tag/Nacht erzwingen.
Benutzung
- Stelle sicher, dass du Factorio-Admin bist (Serveradmin).
- Nutze die Commands unten.
Commands
Gamemode
/gamemode <0|1|2>/gamemode <0|1|2> <spieler>
Beispiele:
- /gamemode 1
- /gamemode 2 PlayerName
- /gamemode 0 3
Give
/give <item> [anzahl]/give <spieler> <item> [anzahl]/give all <item> [anzahl]
Beispiele:
- /give iron-plate 200
- /give PlayerName steel-chest 50
- /give all repair-pack 20
Zeit
/timeset day/timeset night/timeforce off/timeforce day/timeforce night
Beispiele:
- /timeset day
- /timeforce night
Hinweise
- Alle Commands sind nur für Admins (Server-Konsole gilt als Admin).
- Kreativ schaltet keine Forschung dauerhaft frei.
- Spectator nutzt God-Controller (freie Kamera) und stellt beim Zurückwechseln den Character wieder her.
