Added Folia support.
What is the purpose of this pull request?
Added folia support (in a new branch) and a command to see when next payday is coming.
How do your changes address the purpose?
Various code refactoring was made across several files such as 'Main.java' and 'Listeners.java' to make it compatible with folia.
KNOWN BUGS:
· reload dont seem to work properly on payday time. · payday messages were not addded to the config.
This does not work with Bukkit or Spigot only with folia, I would recommend to merge this into a new branch, like worldguard or essentials does.
Hey, thank you for your contribution! Is it possible to create something like a wrapper for both folia + bukkit schedulers so that we only need to maintain one branch instead of two?