Idk why but I have been getting a npe everytime I try to do the command /addchannel (args) in my bungee plugin I'm working on. The npe happens on line 76 in my main class and 34 in my addChannel class here is all the code and the error message: Error Message: https://hastebin.com/uwolajiceh.lua Main Class https://hastebin.com/cumicefisu.java addChannel Class: https://hastebin.com/rukuzisili.scala Thanks in advanced for everyone who tries to help
NullPointException means, that value is returned as null. If you write addchanel args, then those args are null, try to find why.
That fixed the npe but do you know how to add a string to a string list in config as this overrides the config Main.config.set("Channels.links", messageadd); and I can't do add bc eclipse complains about it