Improve portal save files #11
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: EpicKnarvik97/Stargate#11
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Right now, the save file for portals is just a .db file which is actually a text file with all values separated by a colon. The format should be improved to make it easier to add and remove portal information, or make it easier to change the entire format.
It would be possible to save it as JSON, using SQLite, or perhaps using YML. The best format would depend on which is easiest to implement and is the most maintainable. Migration must exist for the current portal format to the new one.
Improving the format would remove the necessity for some empty and useless values, allow for a more scale-able configuration, make it possible to use more special characters in portal names, and making the adding of new portal data or options less error-prone.