IP/player inference for /ipban and /uban
With this release, /ipban
and /uban
will no longer require the player
or ip
tags. Instead, they will infer whether the provided target is a player or an IP. If it resembles an IP but a player exists whose username is that IP, the sender will be prompted to retype the command and append either the player
or ip
flag, depending on which they want to ban. If both the player
and ip
flags are set, the command will ignore both, as this does not remove any ambiguity. The new usage for /ipban
is /ipban <target> [reason] [-duration|-d <duration>] [-player|-p] [-ip]
. That of /uban
is similar, but without the duration flag.