Joo200
Joo200
You should annotate `Player target` with `@Flags("other") Player target` or use the wrapper class `OnlinePlayer` insted to tell acf that you want to resolve the player object from an argument....
The signature from "setOwnGameMode" and "toggleOtherGameMode" is the same. Acf can't know which method is the "right" one for executing this. Try to remove the method "toggleOtherGameMode", you should see...
Try to add the permission acf.seevanish to your player group. https://github.com/aikar/commands/blob/master/bukkit/src/main/java/co/aikar/commands/ACFBukkitUtil.java#L311
Seems to be a bug. I can pr a fix later
My idea was a flag for it: `@Flags("vanished") OnlinePlayer target` Or something like that. I understand the idea behind hiding vanished players but there should be a way for allowing...
I can't reproduce your issue. Can you provide a example BaseCommand class for that case? What MC/Spigot/Paper Version do you use?
Can you paste your context resolver?
Okay, you're right. The console can use two whitespaces and create a empty string. This is propably a bug in acf, i don't like the idea to add a new...
I'm not sure why you should deregister/remove those stuff at runtime unless you want to reload your plugin. I don't see a problem with adding those unregister methods to acf....
And it might be easier to just override the method in PaperCommandManager and use player$getLocale() instead. Unless your server fork is not a paper fork or on an old version