You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and I see that this framework automatically includes the tab completion for PunishmentType, which is an enum, but does not automatically suggest players for the target parameter.
Now I need to register tab completion just for this exact parameter to make it functional, but I could not find any way to do so.
It would be nice if that could be implemented.
Kind regards,
Lukas
The text was updated successfully, but these errors were encountered:
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. With your current implementation acf transforms the command issuer to the player object.
With that the command completions should work fine
Hello. I define the following command:
and I see that this framework automatically includes the tab completion for
PunishmentType
, which is an enum, but does not automatically suggest players for thetarget
parameter.Now I need to register tab completion just for this exact parameter to make it functional, but I could not find any way to do so.
It would be nice if that could be implemented.
Kind regards,
Lukas
The text was updated successfully, but these errors were encountered: