Error while using SneakYAML to read config from jar

Discussion in 'Spigot Plugin Development' started by CoooopaTV, Apr 28, 2017.

  1. NathanWolf


    First question: Why are you not just using plugin.getResource?
    Second question: Can we see your config? It looks like you have a weird serialized class in there, from that error message.
  2. NathanWolf


    Ah, ok ....

    Er, I guess you probably need to register PluginDescription as something it can deserialize .. no idea how to do that, though, sorry.