Hey, I can't seem to find the problem. Error Message: https://pastebin.com/SLA72GDf PlayerJoin Event: https://pastebin.com/6pXZquiq Main Class: https://pastebin.com/Fyib2WTU Any help is appreciated, thanks.
First: This is not a resource Second: Remove the '//' in line 21 of your PlayerJoinListener class and you should be good to go
Well first of all this is not a resource, so remove the tag. 2nd, you need to learn to read stacktraces, it directly points you to the line which is returning null. When you create a variable and set it's string to whatever you are getting from the config on line 28, it's null and does not exist or is nothing. You may need to fix your config methods. 3rd, learn to read stacktraces before asking here please.
I'm still pretty new at coding but what i get from this is that i need to delete the comma's in the start of the line
The JSON should simply start with a '{' and end with '}', without any commas outside of them, though inside you can keep it the same way it is.