Closed TrueWinter closed 7 months ago
hey, welcome back! :) this looks great so far.
only thing I'd say is that I tend to prefer a singleton pattern for static API access. Have a look at HuskClaims for what I sort of mean by this: https://github.com/WiIIiam278/HuskClaims (implementing a common platform agnostic API as well as an extension of that for Bukkit)
I imagine it'd probably also be handy to have the common API not use an abstract class and allow static instantiation to allow multiplat projects to also target it :)
Done.
I finally have time to work on plugins again, so thought I'd work on the API that I kinda left in a half-finished state.
Example for Bukkit:
I've only tested this on Velocity and Bukkit, but it should work on Bungee too.