IntArg

open class IntArg(name: String) : CommandArgument<Int>

Inheritors

Constructors

Link copied to clipboard
constructor(name: String)

Properties

Link copied to clipboard
open val greedy: Boolean

Whether this argument is greedy. If yes, it will consume all given strings until args.size - remainingArgs. Only one argument can be greedy in a path.

Link copied to clipboard
open val length: Int
Link copied to clipboard

Functions

Link copied to clipboard
open override fun errorMessage(sender: CommandSender, value: String): Message
Link copied to clipboard
open override fun parse(sender: CommandSender, value: String): Int?
Link copied to clipboard
open fun tabComplete(sender: CommandSender, typing: String): List<String>
Link copied to clipboard
open override fun toString(): String