commands
commands copied to clipboard
Java Command Dispatch Framework - (Bukkit, Spigot, Paper, Sponge, Bungee, JDA, Velocity supported, generically usable anywhere)
As of first September 2022, Discord **will** require bots to have a special (privileged) intent to read messages, if they are on more than 100 guilds. Discord's devs have clearly...
Is possible to disable the permission? I tried to set empty string and proxy still asks for permission I am using `@CommandPermission("%replacement_name")` and setting value via `#addReplacement("replacement_name", /* value from...
[Context + Explanation] I have /ban command, which has permission set to "mod.infraction.ban". Which also has some autocompletion, source here: https://bin.kyngs.xyz/meyitogobi.java [Behavior] When I type /b it shows up the...
As per requested, I've opened an issue with a possible problem discussed in Discord. Not really sure if it's a bug or how to approach this but I've seen this...
Is it possible to have 2 syntax/command usages? If so, how? I want to have different syntax for the Player command and the Console command. For instance: * Player: `/tp...
BaseCommand holds the operation context of the last time the command was executed. I suspect this may be the cause of a memory leak. This includes the command issuer, which,...
I'm trying to unit test a class that wraps a CommandManager. I can't inject a mock CommandManager object into the object I'm testing as `CommandManager#log()` uses LogLevel which is package...
Could you add a command that returns a value? # example `/execute store result score @s test run foo bar` This command stores the result of the "foo bar" command...
VelocityCommandManager fails to initialize when the plugin doesn't have a Plugin annotation and instead uses the json file to register it's properties. ``` [16:44:04 ERROR]: Some errors occurred whilst posting...
Hi, I would like to register a command like this: `myplugin reload`. How can I do that, so it shows in help? I've tried doing it like this (code is...