Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update 1.1 Summary — February 21, 2026
Folia Support
SchedulerUtil(me.marioogg.command.scheduler) that detects Folia at runtime by checking forio.papermc.paper.threadedregions.RegionizedServervia reflection.getAsyncScheduler,getGlobalRegionScheduler,entity.getScheduler) are invoked through reflection so the project still compiles against spigot-api only.CommandNodenow routesasync = truecommands throughSchedulerUtil.runAsync()instead of callingBukkitSchedulerdirectly, making it Folia-transparent.BungeeCord Support
BungeeCommandHandler— entry point mirroringCommandHandler, accepts anet.md_5.bungee.api.plugin.Plugin.BungeeCommandNode— mirrorsCommandNodeusing BungeeCord'sCommandSenderandProxiedPlayer.BungeeBukkitCommand— implementsCommand+TabExecutor, registers itself viaPluginManager.BungeeProcessor<T>andBungeeParamProcessor— processor layer for BungeeCord with built-in support forint,long,double,float, andboolean.@Command,@Help,@Param,ArgumentNode, andHelpNodefrom the core module.Velocity Support
VelocityCommandHandler— entry point that takes bothObject pluginandProxyServersince Velocity plugins don't extend a base class. Exposesinit(),registerCommands(), andregisterProcessors().VelocityCommandNode— mirrorsCommandNodeusingCommandSourceandcom.velocitypowered.api.proxy.Player.VelocityRawCommand— implementsRawCommand, registers viaCommandManager.metaBuilder(), handles tab completion viasuggest().VelocityProcessor<T>andVelocityParamProcessor— processor layer using Adventure'sComponentAPI, with built-in support forint,long,double,float, andboolean.ProxyServer#getScheduler().buildTask(...).schedule().Java 17 Compatibility Fixes
ArrayList.getFirst()calls withget(0)acrossCommandNode,BungeeCommandNode, andVelocityCommandNode.ArrayList.getLast()calls withget(size - 1)across the same classes.log4jLoggerfields and imports introduced during editing.log.error(e)withe.printStackTrace()to stay consistent with the rest of the codebase.Documentation
@Commandand@Paramannotation reference tables.made with Copilot, and it's great, isn't it? (disclaimer: no other part of this code apart from this was made with AI.)