#Ah Several ways of doing that You can
1 messages · Page 1 of 1 (latest)
Real qucik
So in
@Default("_SELF_")
@Subcommand("listmembers")
@Description("Lists all members of a region")
@CommandCompletion("@playerregions")
public void onListMembers(Player player, ProtectedRegion region) {
I'm confused on how does ACF know what belongs to what
I don't think @Optional works here because ProtectedRegion is always required because from the ContextManager it will always return a value.
Like, The player writing the parameter is optional, but the parameter itself will not be optional since that's what ContextManager does
@soft badge
Default belongs on the parameter