andrei1058 / andrei1058/BedWars1058

Spigot.yml reset issue

Open
#769 8 comments 0 reactions 1 assignee Claimed by @andrei1058 View on GitHub
beginner bug
Dominant language
Java
Stars
393
Forks
286
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
After running Bedwars1058, typing reload in the console will reset Spigot.yml.
This will delete the original content of Spigot.yml, and then reset all settings and content of Spigot.yml
For example, the "bungeecord: true" I originally set in Spigot.yml will be reset and changed to the default "bungeecord: false"

**To Reproduce**
You just need to put "Bedwars1058" into the Plugins folder
After running successfully, enter reload in the console

**Expected behavior**
You will find that the content of the Spigot.yml file is deleted and reset to the default Spigot.yml

**Screenshots**
None (because not required)

**System (please complete the following information):**
- OS: Windows Server
- Server software: paper
- Server Version: 1.8.8
- Plugin Version: 22.3.4

**Additional context**
This issue resets the content of Spigot.yml and causes "bungeecord: true" to become the default "bungeecord: false", which causes a series of problems and some security problems, such as Luckperms will not be able to detect, and some systems will fail
I have tried the following:
1. Update the latest version of Bedwars1058 and use Java11, the same situation will still occur
2. Asked on Discord, but they asked me to report this issue on Guihub, because no one can solve it

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.