Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] Config.yml won't save #25

Closed
Veixlix opened this issue Jun 24, 2020 · 4 comments
Closed

[Bug Report] Config.yml won't save #25

Veixlix opened this issue Jun 24, 2020 · 4 comments
Labels
Status: Fixed When a fix is applied or patch released. Type: Bug/Issue When a issue is about a Bug/Issue.

Comments

@Veixlix
Copy link

Veixlix commented Jun 24, 2020

Describe the bug in detail
Whenever you edit the config.yml file provided with the plugin, it will revert itself after you restart the server. Whether it might be setting something from true to false, it will revert itself.

To Reproduce
Steps to reproduce the behaviour:
1: Go to path /PocketMine-MP/plugin_data/KOTH
2: Config.yml is the file that keeps reverting after a server restart.
3: set something to true or false depending on what's it's currently set as.
4: save and restart the server. and ta-da all your changes are gone.

Expected behaviour
For my changes to config.yml to be not reverted and actually saved

Actual behaviour
Config.yml keeps reverting itself.

Screenshots
Add screenshots to help explain your problem.

Host (please complete the following information):

  • OS: Ubuntu 18.04.4 LTS
  • PocketMine Version: 3.12.5
  • Plugin Version: KOTH_v1.0.0-Beta4

Player Device (If applicable | please complete the following information):
Not applicable.

Server Log (IMPORTANT)
Unable to set debug on because of config.yml not saving+ the console tells me nothing the plugin just disables itself after a restart and re-enables itself with no errors displaying.

Additional context/notes
If you need any additional information or something from the console that you find useful since i was unable to find anything of significant use let me know.

@Veixlix Veixlix added Status: Unconfirmed When a issue is first opened and is being looked into. Type: Bug/Issue When a issue is about a Bug/Issue. labels Jun 24, 2020
@Veixlix Veixlix changed the title [Bug Report] IssueNameHere [Bug Report] Config.yml won't save Jun 24, 2020
@JaxkDev
Copy link
Owner

JaxkDev commented Jun 24, 2020

Finally a half decent report, but it’s missing the log

@JaxkDev
Copy link
Owner

JaxkDev commented Jun 24, 2020

the plugin just disables itself after a restart and re-enables itself

The plugin doesn’t do that...

@Veixlix
Copy link
Author

Veixlix commented Jun 24, 2020

Saving config file and rebooting server
[18:15:29] [Server thread/INFO]: Disabling KOTH v1.0.0-Beta4

[18:15:35] [Server thread/INFO]: Loading KOTH v1.0.0-Beta4

[18:15:36] [Server thread/INFO]: Enabling KOTH v1.0.0-Beta4

no other errors. I know it's not much to go on but could you look into it as i literally have nothing else to give you because it's not telling me anything else. Plugin itself works it doesn't lose the data it's just the config i'm unable to make edits to.

@JaxkDev JaxkDev added Priority: High When a issue is major, and effects the plugins purpose. Status: In Progress When a issue is being worked on. Status: Confirmed/Replicated When a issue can be reproduced or the cause has been found. Status: Fixed When a fix is applied or patch released. and removed Status: In Progress When a issue is being worked on. Status: Unconfirmed When a issue is first opened and is being looked into. labels Jun 24, 2020
@JaxkDev
Copy link
Owner

JaxkDev commented Jun 24, 2020

To go around this edit config in this order:

  • Stop server (And any loops it is in)
  • Edit config
  • Start server

(DO NOT UPDATE CONFIG WHILE SERVER IS RUNNING)

Update will be soon, probably just be lazy and do beta4.1

@JaxkDev JaxkDev closed this as completed Jun 24, 2020
@JaxkDev JaxkDev pinned this issue Jun 24, 2020
@JaxkDev JaxkDev removed Priority: High When a issue is major, and effects the plugins purpose. Status: Confirmed/Replicated When a issue can be reproduced or the cause has been found. labels Jun 24, 2020
JaxkDev added a commit that referenced this issue Jun 26, 2022
- Saved when changed to reduce conflicts during runtime editing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Fixed When a fix is applied or patch released. Type: Bug/Issue When a issue is about a Bug/Issue.
Projects
None yet
Development

No branches or pull requests

2 participants