Elementium Sign in

Read a whole number

Read text as a whole number such as 12, with no decimals, kept between a lowest and highest if you set them.

Try it on your server

A Minecraft element (a value) in Commands. Needs the Basic plan or higher to go live; building and testing are free.

Example

When a player uses /pay → Read a whole number from the line, 1 to 1000 → Take the money.

Also called

whole number argument, integer, int, parse integer, count

Works as a data pack?

No. This one needs the Elementium plugin on a Paper server.

What you give it

What it gives back

Related

All Minecraft elements