Alilinks are not saved through server restarts #34

Open
opened 2016-12-19 03:16:18 +00:00 by alisolarflare · 1 comment
alisolarflare commented 2016-12-19 03:16:18 +00:00 (Migrated from github.com)

welp, it's time to tackle config.yml files

welp, it's time to tackle config.yml files
elmartirta commented 2017-01-27 05:01:13 +00:00 (Migrated from github.com)

In package buttondevteam.alipresents.components.alilinks.entities, there is the Link class which I would like to be saved through every server stopping, and loaded every server restart.

There isn't a way to tell when the server crashes, so I want every new link created or edited to be saved to config.yml. (Converting it to a string might be a preferable option)

Then, on server load, in the AliLinkComponent.register() method, I'd like to have all links be loaded from the config file, and loaded into a Link Array in AliLinkComponent class, to be manipulated and read during server use.

It's been quite a longstanding issue, and I'm mostly asking for help so that I can figure out how to work with config files from the commits made.

In package buttondevteam.alipresents.components.alilinks.entities, there is the Link class which I would like to be saved through every server stopping, and loaded every server restart. There isn't a way to tell when the server crashes, so I want every new link created or edited to be saved to config.yml. (Converting it to a string might be a preferable option) Then, on server load, in the AliLinkComponent.register() method, I'd like to have all links be loaded from the config file, and loaded into a Link Array in AliLinkComponent class, to be manipulated and read during server use. It's been quite a longstanding issue, and I'm mostly asking for help so that I can figure out how to work with config files from the commits made.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ChromaGaming/AliPresents#34
No description provided.