GiveAll v2.0 Tested with CraftBukkit beta build 1.2-R0.1 GiveAll is now supported, maintained and updated on BukkitDev. Click HERE for the project.
If you want to let people type in the name, you can use string.toUpperCase() on the input and then pass that into Material.valueOf(string) which should give you the correct Material. Then just make a new ItemStack(material, amt) and give it to all the players. This works with most items, although some inputs will be less intuitive (diamond_spade as opposed to diamond_shovel) and you can't get items with data, like colored wool or bone meal.
That would be nice, maybe even just make a separate command for this even.. Code: Give items to everyone (including offline) : /giveall (item) [amount] Give items only to online players : /giveonline (item) [amount] +Also, can you allow console to use this command? Would be cool as a weekly giveaway for people online at a certain time each day or on a holiday using OnTimeCommands. +Finally, you could look into Permissions support, as many players avoid using the ops list (it's basically a full-blown super admin ON or OFF; no configuration whatsoever). Code: giveall.all giveall.online Thanks.
And could you add a timer? like every day when it is 18 pm every online player get x diamonds or something?
I've added Permissions support, and also support for console commands. Unfortunately, this would be rather difficult to do, so I'm going to have to say no to this request. Sorry! I'm sure there's a plugin out there that allows you to execute commands at a set time... Chris
there's a plugin that does that: http://forums.bukkit.org/threads/ad...-that-run-at-a-certain-time-of-day-928.19032/
Please help me! I don't know about permissions A link to an explanation or a explanation Thanks. Creeper gonna Creep!
OK, So this is a SUPER-Old thread. I get it, why the hell am I posting in here. Anyway.. Would you be knind enough to re-do this for 1.2? I have been uing this for a while on my server, and now we are upgrading to 1.2, and I can't use GiveAll, as it is broken . Any chance you could update this for me/everyone else?
Just want to say that in regards to how popular you plugins are, GiveAll is being used on a lot of the servers that I play on or visit. I have been to roughly 100 servers in the last few moths and almost all of them use GiveAll. It's pretty popular! Anyway, good to know that GiveAll will be updated sometime, might have a look at your other plugins too, they look interesting! -Spacey
Wow, I never realised how popular this 5 minute plugin was. I'll get right to updating it. Okay, anyone who's watching this thread, I can: - upload a new (working) version now, which is just updated from the old version or - wait for a while longer, and upload a fully rewritten version with support for extra block information (coloured wool, enchanted stuff, etc.) EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I'm cool with waiting for a fully rewritten version, if of course you are happy with re-writing it! -Spacey P.S. No kidding, this plugin really is quite popular. Diamonds for you!
I've just updated this for 1.2.3 and added data value support. http://dev.bukkit.org/server-mods/giveall/
Über late post, but: [INFO] [GiveAll] Enabling GiveAll v2.0 [INFO] [GiveAll] Loading configuration file... [INFO] [GiveAll] version v2.0 is enabled. xD Thanks for updating it! to you