Random Items
Random Items
Description
Who doesn't love a random item every now and then? This plugin was designed to allow players to get a random item every X minutes. The idea is to give players another reason to log on everyday. The imagination is strong and the very chance of getting a great item will encourage players to get on often to try their luck. Once on they can enjoy their new item and hopefully get caught up in server events and not want to leave. This plugin isn't the reason to play, just the reason to get back on.
Features
- Set the time between uses of the /randomitem command.
- Allow players to get items through signs and chests as well!
- Configure the items that can be given to players.
- A nearly complete list of items already included, just un-comment the items you want!
- Decide which worlds players can receive items in.
- Admin bypass of the wait time.
Configuration
You can change...
- The time between uses of the command.
- The items that can be randomly given to players.
- Which ways players can receive items.
- Which worlds players can receive items in. (Default is "world" so change if you have a different world name)
Adding an item multiple times will increase the chance of it getting picked.
Large list of items included. Just un-comment the items you want and go!
Configuration Page
Permissions and Commands
Commands
- /randomitems ==> Gives a random item.
- /randomitems reset {name} ==> Resets {name}'s timer for receiving random items.
- /randomitems {name} ===> Gives {name} a random item. Bypasses wait timer.
Aliases:
- /randomitem
- /random
- /ri
Permissions:
- randomitems.bypass: ==> Bypass wait time.
default: op
- randomitems.make.sign: ==> Can create Random Items signs. (Give players a random item on right click)
default: op
- randomitems.resettime: ==> Allows the resetting of a player's wait time between receiving random items.
default: op
- randomitems.use.command: ==> Can use the /randomitem command to get a random item.
default: op
- randomitems.use.sign: ==> Can use a sign to get a random item.
default: op
- randomitems.use.chest: ==> Can use a chest to get a random item.
default: op
- randomitems.give ==> Allows players to give random items.
default: op
Updates
Future changes...
- Make Random item chests unique instead of per world.
- Add multiple random items tiers.
- Multiple levels timers.
- More ways to receive items. Example: Item on join.
- Need more suggestions!
Help
Leave a comment, send me a PM, or shoot me an email at [email protected] Also, feel free to add me on Skype: mc.Ajaxan
Projects
Currently, I run my own little network called "The Terra Network." It isn't anything fancy right now but I'm always messing around on there and working on my own server ideas. IP: mc-tn.net
I am also looking for fun little plugin projects to keep me busy. If you have any ideas send me a PM!
Donations
If you like my work feel free to support me. I love making plugins but this is a great way to motivate me to make certain changes or updates! Thanks for using my plugins and being awesome!
Is there a way to have it so that you are able to only use the signs once to the config use time, but in different arenas made. I have 8 arenas and I thought you could use the signs once per arena, but it only can be done once per click. Anyway to have a sign per arena?
It would be very nice if you could add giving exp and enchants and money
Hi,
Really a good plugin but can you add feature that the default players have to wait like 1hour, and the vip can wait only 30mn or 15mn.....
Please that would be awesome!
ps:Sry for my laungage i am french :/
The plugin still works as far as I know! I haven't had a bunch of time to work on updates, so I've only been fixing bugs as they were reported.(hence the long time without an update.) Now that I have more time though I'll be able to start releasing more updates and adding new features. So make sure and let me know if you have any ideas and I'll add them to my list of updates!
Also, I've just released the next version. There aren't any new visible features, just some code changes for 1.7.9.
Is this still working?
Wait, when does a players timer start?
Can you add: multiple items and enchant ? :3 And update to 1.7.2 :D Thx
Hah, I didn't know my MCPE PocketMine plugin had an MCPC Bukkit clone. XD
http://forums.pocketmine.net/index.php?plugins/randomitem.203/
Can you make it so in a chest there can be multiple items? Also a timer for the chests?
@Superola
Oh, haha. I'll get that fixed and released tonight.
Works like a charm exept the consol cant use the command=/ "12:31:51 CONSOLE: [INFO] This command can only be run by a player."
is there some way to get around this?
@Superola
Exactly.
@Ajaxan
So its now possible to totaly ignore the timer and the "players command" and just use "admin command" to give the items? =D
@Superola
Yup. The /randomitems {name} command works like a charm!
Most voting plugins allow you to use a command when a player votes so by using this new command you should be able to make that work.
Finally, if you have anymore ideas be sure to let me know!
@Ajaxan
WIth a couple of days do you mean 2?:D hehe It would be perfekt to use in a VOTE system, when they vote they get a random item:)
@delsolsi213
Oh, haha, I didn't realize you had mentioned lore. Its a good idea but you're right, there is no support for lore yet. I'll continue to update and add new features as time goes on. Hopefull yI can add lore support soon.
As for the "/randomitems add" command, I'll definitely look into that. That would be a good feature.
@Ajaxan
as for items from modpacks after seeing your configuration page i noticed you can add block ids so im assuming it works, as for the items with lores i dont think it will work since they use the same id example, i have 2 diamond swords 1 named :test1 the second named test2, seeing how they share the same id i dont think it can be done with your plugin yet, would be nice if you add a command to do something like /ri add and adds the item you're holding.
@delsolsi213
I have not tested it, but assuming the are assigned data values, I see no reason why they shouldn't work. Let me know whether they work or not. I'll do my best to add that functionality if it doesn't already work.
@Ajaxan
Does it support custom items like with lores etc and items from mods like FTB modpacks?
Suggestion: Have an option that ever X time when player logs in he will get a random item, if his inventory is full it will be dropped in front of him. Example: Every day, the first time you log in you will randomly get 1 diamond, 1 gold ingot or 1 iron ingot.