Spoiler: Usage for /give /give <player> <item[:damage]> [amount] [tags...] Now with this new information we can do this... Code: /give <player> <item> [amount] Is that what you wanted?
umm 5 different items in one commands /item <player> (give a <player> a 5 items e.g. cobblestone dirt stone wood diamond) (and sorry I use a google translate :/ )
PHP: $p->getInventory()->addItem(Item::get(Item ::DIAMOND_SWORD)); $p->getInventory()->addItem(Item::get(Item::ARROW, 0, 64)); $p->getInventory()->addItem(Item::get(Item ::DIAMOND_SWORD)); $p->getInventory()->addItem(Item::get(Item::BREAD, 0, 8)); $p->getInventory()->addItem(Item::get(Item ::BOW)); $p->getInventory()->addItem(Item::get(Item::GOLDEN_APPLE, 0, 4)); Spoiler: OUTDATED BUT FUNCTIONING REFERENCE http://forums.pocketmine.net/threads/give-kit-hg.15895/#post-153670
but this is request forum :/ You probably have more luck using Functions https://github.com/BoxOfDevs/Functions
This is the request section. They're asking for a plugin to be made for them, not to make it on their own
Don't shoot the person who is trying to help. Bad translation or not, you get what you give. In this case, he have the word "Code" so, I'll give the code.
you won then by that standard, now to question why OP even posted in request section You should try not to use obfuscated links if possible, mostly it will only make it seen malicious (you have no clue where that link will put you) why ask for code in this section? this is very thread confusing to me
http://bfy.tw/AXA4 Ohh no you didn't just go there! http://bfy.tw/AX9t Everyone, you better hold be back... there will be a brawl!
You guys are going off topic. As for @fipteam 's question, you can do this with an exsisting plugin called Functions. You can create the command /item and make it run the commands /give player wood, /give player diamond etc. all at once. The only problem is that you can't change the five items without modifying the command.