Better commands


(Switchable) data-driven commands with easy customization for mod developers.

Internal
6 months ago
1.1
1.33K

Changelog

Version: 1.4.3
Date: 2023-11-03
  Bugfixes:
    - Fixed commands during loading
Version: 1.4.2
Date: 2023-11-03
  Bugfixes:
    - Fixed weird bug (?) with global data
Version: 1.4.1
Date: 2023-09-07
  Bugfixes:
    - Fixed false error reports and fixed it (bug from ~1.4.0)
Version: 1.4.0
Date: 2023-09-07
  Scripting:
    - You can specify cooldown for commands in "global_cooldown", "player_cooldown", "force_cooldown" properties as uint
    - You can specify cooldown options for commands in "disable_cooldown_for_admins", "disable_cooldown_for_server" properties as boolean
  Bugfixes:
    - Improved data stability for deleted forces, players
Version: 1.3.0
Date: 2023-09-07
  Scripting:
    - You can specify uses for commands in "is_one_time_use", "is_one_time_use_for_player", "is_one_time_use_for_force" properties as boolean
    - Added remote interfaces
Version: 1.2.0
Date: 2023-09-06
  Features:
    - Added custom names for commands via map settings
  Bugfixes:
    - Fixed crash when there's no switchable-commands.lua
    - Fixed crash because of logging
    - Fixed locales
  Scripting:
    - You can specify alternatives names for commands in "alternative_names" property as array of string
    - Renamed default_value to is_added_by_default
Version: 1.1.0
Date: 2023-09-05
  Features:
    - Exposes global data as string/json via require("__BetterCommands__.BetterCommands.control").expose_global_data()
    - Added new switchable command: /__show_global_data [mod name]
    - You can specify "is_logged" in "switchable-commands.lua" and "const-commands.lua"
Version: 1.0.1
Date: 2023-09-04
  Bugfixes:
    - Doesn't add not existing commands between updates
Version: 1.0.0
Date: 2023-09-04
  Changes:
    - First release for 1.1
    - Added Brazilian Portuguese translation (thanks to @BM123499 (Bruno Melo) on crowdin)
    - Translations: https://crowdin.com/project/factorio-mods-localization (thank you for contributions, I really appreciate it)