CraftBook 3

CraftBook 3

139k Downloads

/COMITEMS doesn't recognize the -w flag

LadyCailinBot opened this issue ยท 12 comments

commented

CRAFTBOOK-2940 - Reported by jjkrause

When trying to spawn a command-item using the /COMITEMS command, if I try to specify the world using the -w flag, I get the following message:

Command: /comitems spawn Test 0 64 0 -w TestWorld
Output: Unknown flag: w

commented

Comment by me4502

Fixed.

commented

Comment by jjkrause

Excellent, works fine now, thanks.

commented

Comment by jjkrause

Hmmm, seems like items spawned with the /COMITEMS SPAWN command cannot be picked up. It just stays on the ground when I'm standing over it.

commented

Comment by me4502

Fixed.

commented

Comment by jjkrause

Works perfectly now. Once again, thanks. You're amazing.

commented

Comment by me4502

Thanks, and you're welcome

commented

Comment by jjkrause

One minor issue when using the /COMITEMS SPAWN command. It always only spawns 1 item, even if the COMMAND-ITEM defined contains more than 1. Could you maybe add a quantity in the /COMITEMS SPAWN command? If no qty specified, default to 1...

commented

Comment by jjkrause

Also, would it be possible to add a -s parameter to the /COMITEMS command to silence any output from the chat window? At the moment, every time a defined command-item snowball hits the ground and I spawn a dropped item at that location, I get the "Spawned CommandItem BasketBall at Location{world=CraftWorld{name=SportsPlex....". If it could be added for the /COMITEMS GIVE and SPAWN that would be excellent. Thanks.

commented

Comment by me4502

Yeah, I'll add both of them. I'll make it use the amount of the commanditem, and I'll also add an -a flag which will multiply by current amount.
I'll also do the -s flag

commented

Comment by me4502

Added

commented

Comment by jjkrause

Excellent. Both -a and -s work perfectly. Just a note, when I run the command with no parameters, I see -s was added in the description of the command, but there is no mention of the -a. Thanks again.

commented

Comment by me4502

Hrm, that usage thing may be a WorldEdit issue, as it auto generates the usage text.