6.1.0 - External Data Overhaul
Change Log:
Additions
- Added Pr and Dev workflows to lint and create documentation
- Added Datastore and PlayerData core modules for saving external data
- Added External core module for accessing read only external data
- Added /connect to connect to another multiplayer server
- Added auto station renaming based on the closest ore to the station
- Added player statistics which are tracked and synced across our servers
- Added quickbar saving to allow you to sync your quickbar across our servers
- Added alt-view and server ups syncing across our servers
- Added /save-data /preference and /set-preference to manage your player data
- Added data tab to readme which shows all your stats and your synced settings
Changes
- Updated luacheck to include Redmew and ExpGaming global variables
- Player colour and join message are now synced and dont require config edits
- Player tag and bonus is now synced across our servers
- Spelling corrections and whitespace changes across all files
- All uses for the Store core module have been updated to use Datastore core module
- Updated the doc comments for the Commands core module
- Gui top flow now accepts a boolean as an authenticator to allow/disallow regardless of the player
- Role assign and unassign events now include the role names rather than role objects
- Multiple optimisations have been made to the Roles core module
- Servers tab in the readme now shows a button to allow direct connection to the servers
- Changed discord alert format to show days and also removed colons after the titles
- Warning and report removals alerts now show the amount that was removed
- Getting the warnings for a player will list all warnings as well has who gave the warning
- Warnings now sync across our servers so a warning will not expire on reset
- Warp gui has been optimised when warps are updated, removed or added
- Event core now uses xpcall rather than pcall plus a success check
- Introduced better sandboxing for /interface and allowed for static modules to be added
Removals
- Removed Factorio-luachecrc as a sub module
- Removed Game.get_player_by_index as factorio bug is now resolved
- Removed over use of Game.get_player_from_any as it was being used for known data types
- Removed core module Store as Datastore can be used without syncing to the same effect
Bugfixs
- Chat commands with time delays now show to all players
- All code is now lua check compliant
- Fixed internal bug with command parsing spoted while using game.json_to_table
- Fixed role assignment and unassignment when the player has not yet joined the game
- Fixed bug with chat popups where names were treated as matching paterns
- Fixed game time showen in discord alerts, no longer shows 0h 0m for every alert
- Fixed /clear-inventory not working for offline players
- Fixed the ratio commond using global functions
- Player chat colour will now show as a lighter version of they player colour
For more details see commit: release/6.1.0