Rewritten the plugin source code for paper and its downstream servers through reflection to enable correct loading in jdk17, solving the problem of InvocationTargetException during loading
Reconstructed the Dispatcher for Folia to enable it to call four schedules unique to Folia
At the same time, the GlobalRegionScheduler was used in bootStrap to load the plugin script correctly and load it
For plugin developers, launch (Dispatcher. async/region/globalRegion/entity) {} statements can be used to call the encapsulated schedule of Folia
Please note that in blocking situations, it is recommended to directly use launch {} to perform specific effects. Otherwise, it may lead to a decrease in tps. In severe cases, it may cause full server lag
Please refer to https://github.com/Cong0707/ScriptAgent4BukkitExt/wiki for how to install plugins