F-What???
F-Command or short F-CMD is a Plugin which detects if a Player wants to switch his/here Offhand and reacts on it.
I had the idea for this plugin when I had my own MC-Network. But since config and Supporting takes a lot of time, I never had the time to code it.
After the network closed, I finally had time and motivation to code it.
The goal on my server was to use it for a selection GUI to change Servers or open an Admin Shop, but you can execute every command with this plugin you wish!
What was new for me?
In my first Plugin (CookieClicker) I already had a config. But there it was static. So say you have 10 options which you can configure and that’s it.
My goal for F-CMD was a system where you can add as many commands as you wish, and the Plugin would do the rest.
Therefore, the Plugin needs to realize how many commands the User has configured.
At first, I had some problems, but eventually I figured it out.
Any problems?
Since it’s only my second plugin, I was really unsure about my code quality. That was the reason why I asked multiple peoples if they could check my code.
Also, there was one guy who stumbled over my GitHub repository and helped me a ton to improve multiple little things to improve the performance.