/give Player Number additional parameters.
Player is a String resolving to a player name
Number is required so if first is a number, Player defaults to user
If additional-parameters are numbers, use /give_id for each number.
If additional-parameters are words ("" not required)
And you say "/give 100 Hull" it would find "Grey Hull", "White Hull", "Grey Hull Wedge", ...
It says that the unique element of shortest (number of words) results is "Grey | White | Red | ...", thus you have to add at least one of these words to get your item.
It says that there are 0 to 1 optional words "Wedge, Penta, Tetra, Corner", excluding words mentioned above (colors)
If you say "/give_first 100 Hull" it would default to the first result (ID or Blockconfig?), thus Grey over White and Basic Hull over Penta.
Do you see any flaws in my idea?
(It is BTW purely client side - gimme a .java example plugin which 1. gets user chat input and forwards it to the pipe 2. Has an array of blockID->blockName or something to create that array from; then I would do it myself )
Player is a String resolving to a player name
Number is required so if first is a number, Player defaults to user
If additional-parameters are numbers, use /give_id for each number.
If additional-parameters are words ("" not required)
And you say "/give 100 Hull" it would find "Grey Hull", "White Hull", "Grey Hull Wedge", ...
It says that the unique element of shortest (number of words) results is "Grey | White | Red | ...", thus you have to add at least one of these words to get your item.
It says that there are 0 to 1 optional words "Wedge, Penta, Tetra, Corner", excluding words mentioned above (colors)
If you say "/give_first 100 Hull" it would default to the first result (ID or Blockconfig?), thus Grey over White and Basic Hull over Penta.
Do you see any flaws in my idea?
(It is BTW purely client side - gimme a .java example plugin which 1. gets user chat input and forwards it to the pipe 2. Has an array of blockID->blockName or something to create that array from; then I would do it myself )