Read yes or no
Read text such as true, yes, on or 1 as true, and false, no, off or 0 as false.
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 /pvp → Read yes or no from the line → Turn their PvP on or off.
Also called
boolean argument, true false, on off, parse bool, toggle word
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- Text
What it gives back
- Value
- Worked
- Problem