How do i create a single player selector argument?
Closed this issue · 6 comments
inxomnyaa commented
How would i create an argument that has a player selector (list of player names online)?
CortexPE commented
inxomnyaa commented
Is there a way to show the item/block icons and item/block names similar to the vanilla /give
command that you know of? Right now i am sending an enum that contains a list of all items and blocks, but let's face it, that is suboptimal
lukeeey commented
I believe you set the enum type to "Item" or "Block" or something like that, idk. I think the client has some predefined enums that you can use.
inxomnyaa commented
Got the answer from discord: Parameter name must be "Item" or "Block", first letter must be uppercase
lukeeey commented
Yeah its not like anyone already said that..