Uhhhh... you could just use regex codes to add formatting in one line like so: String string = "&4Some &ostring&r &6with &afancy &9formatting&f";...
Thanks! :)
Any help? It's been a day and nobody posted. :(
This seems like a pretty straight-forward thing, but I couldn't find anything about it. Say I have a config file like this: path: goes:...
*facepalm* I'm using the saveConfig() method I made in my User class...
travja Sadly that won't work as the method saveDefaultConfig() is part of the JavaPlugin class, and my User class doesn't extend it. I tried to...
I added a null check in the reloadConfig() which prints out "Data is null!" into the console, and it didn't get printed, so data isn't null. Any...
Well, the PlayerListener class calls the "createUser()" method in the main class, which creates a new User object thus calling it's constructor...
I am writing this plugin which requires custom configuration files for each player (named "player-name.yml") and I can't get the default values to...
That would replace: "I like this & that!" to "I like this ยง that!" :p
Separate names with a comma.