Steffion/BlockHunt

Converter for arenas.yml for old configurations

Opened this issue · 3 comments

TNTUP commented

Hi, I tried the recode on my test server with my actual arenas from my main server on 1.8.8 and I got an error about serilization things... I guess either not implemented or to be changed? If the arenas.yml needs a reset, an converter can be possible or it will stay the same config as before?

22:42:09] [Server thread/INFO]: [BlockHunt v0.3.0-ALPHA] Enabling BlockHunt v0.3.0-ALPHA
[22:42:09] [Server thread/WARN]: org.bukkit.configuration.InvalidConfigurationException: org.yaml.snakeyaml.error.YAMLException: Could not deserialize object
[22:42:09] [Server thread/WARN]: at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56)
[22:42:09] [Server thread/WARN]: at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:184)
[22:42:09] [Server thread/WARN]: at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:130)
---- snipped error ----
[22:42:09] [Server thread/WARN]: at org.bukkit.configuration.file.YamlConstructor$ConstructCustomObject.construct(YamlConstructor.java:35)
[22:42:09] [Server thread/WARN]: ... 35 more
[22:42:09] [Server thread/INFO]: [BlockHunt v0.3.0-ALPHA] Missing config file has been created. (settings.yml)
[22:42:09] [Server thread/ERROR]: [BlockHunt v0.3.0-ALPHA] Required dependency is not installed! (LibsDisguises)
[22:42:09] [Server thread/WARN]: [BlockHunt v0.3.0-ALPHA] BlockHunt has NOT successfully been loaded!

Arenas.yml: http://i.qcfb.ca/20160408225713.txt

If this issue has been already posted, feel free to close this one as duplicate: )

TNTUP commented

Tried the 0.2.0 snapshot build, severe lag on 1.9.2: https://timings.spigotmc.org/?url=15704613

So Im guessing thats not ready for production use, gladly to test them ;)

The old arenas.yml file is not (yet) compatible with the new version.
I like the idea for a converter.

Pretty confident with working on converters, especially if they're file based. Shall update and keep you posted on what's going on