Random Rewards
Random Rewards
Feel like some players deserve something extra? Now you can just give them a random item by typing /reward <playername>
Just fill a list of items in the config file and write the reward message.
Or let players reward themselves, give them permission node randomreward.gift
Usage
Permission node: - randomreward.reward
Permission node: - randomreward.gift
Command: /reward <player>
Command: /gift
Future plans
Making the random item have a configurable chance of winning an item.
Making the stack size have a configurable max.
Example config
# Color codes: # %0 - black %a - Green # %1 - Dark blue %b - Aqua # %2 - Dark green %c - Red # %4 - Dark red %d - pink # %5 - Purple %e - Yellow # %6 - Gold %f - White # %7 - Gray # %8 - Dark gray # %9 - Blue # # PLEASE NOTE THAT YOU MUST INSERT A SPACE AFTER THE COLORCODE / OTHER # # Other: # %player - The winning player name # %amount - The amount + reward paid # Make your own reward message rewardmessage: "%a %player won &6 %amount !" # Make your own time out message timeoutmessage: "%a You have to wait %time minutes before you can use this command again!" # Set the time out in minutes between use of /gift timeout: 10 # What is the maximum amount of items a player can receive maxstack: 64 # What is the minimum amount of items a player can receive minstack: 1 # Set item id's for items that can be won items: - "1" - "2" - "3" - "4" # Add potions like so: - "373:8120"
-
View User Profile
-
Send Message
Posted Dec 26, 2013What would finish this plugin off, is a reload feature so i don't have to restart my server to reload the files, and the potions are a little buggy it gives me three types of potions when there's one potion in the file, other wise it works well and it's a main feature in my server :)
-
View User Profile
-
Send Message
Posted Sep 23, 2013Can I include meta name ? Like for a random player head of a staff member?
-
View User Profile
-
Send Message
Posted Aug 5, 2013Players using /gift don't always receive an item... is this supposed to happen?
-
View User Profile
-
Send Message
Posted May 3, 2013Yes Please add a timer, That would be great :D
-
View User Profile
-
Send Message
Posted Mar 2, 2013Hi! I really want to use this plugin for the new donator rank I am adding to my server. But I was wondering if you could add a few things to it, or make a custom build for me. I am willing to pay you up to $100USD/CAD depending on how fast you can have this done for me. I was wanting this plugin to work so that I can add custom item names on it (such as the new essentials build allows you to do) Example (from essentials): /i blazerod 1 name:&4Thor's_Hammer lore:&6Extremely_Heavy_IV. and also add enchants on the items. My goal with this is so the people with this donator rank can type /reward (if possible I would like it to be a custom / command) every 12 hours and they will get a different reward I have set. Some items that are more common to get and some that are extremely rare and overpowered. I would appreciated it if you could get back to me on this. The best means of contact to me is via skype. Add me if you are willing to make this for me, and many thanks! Skype: o.Render
-
View User Profile
-
Send Message
Posted Jan 22, 2013You should add a timer, which automatically gives a reward when I set a certain time/interval in the config. It would be a cool feature.
-
View User Profile
-
Send Message
Posted Dec 26, 2012@BobbyD441
gift isnt working. it says i dont have the permission, even though i do...
-
View User Profile
-
Send Message
Posted Sep 1, 2012Could you please update it to 1.3.2? It gives me some errors.
-
View User Profile
-
Send Message
Posted Jul 6, 2012What am I doing wrong with this config.yml file? There must be some stupid mistake I'm making.
I've completely uninstalled and re-installed the plugin numerous times, reloading the server or restarting the server, deleting the config and even writing a new one with the same format, deleting the .jar and re-introducing it, checking for any other dependencies that can be affecting this, etc. and no matter WHAT I do, this plugin still runs the default config file.
For testing purposes there are only 2 items on the list: 14 and 15 - the min stack is set to 2 - the max stack is set to 4. Yet every time the /reward command is run, it always gives out between 1-64 dirt, stone, weakness potion, etc. default configuration options. What do I do?? Thanks in advance to anyone who can help.
-
View User Profile
-
Send Message
Posted Jul 1, 2012Any way to give out enchanted items? IE: Armor, Weapons or Tools?
-
View User Profile
-
Send Message
Posted Jun 24, 2012@LordBitsOBacon
Yes! =)
-
View User Profile
-
Send Message
Posted Jun 24, 2012Are the quotation marks needed around the item numbers?
-
View User Profile
-
Send Message
Posted Jun 24, 2012@LordBitsOBacon
In the config.yml where it says
add more item id's of items you would like to reward like so:
-
View User Profile
-
Send Message
Posted Jun 23, 2012Whenever I do this, it only gives out stone and grass. Can anyone help?
-
View User Profile
-
Send Message
Posted Jun 11, 2012@BobbyD441
Thanks a lot!
-
View User Profile
-
Send Message
Posted Jun 11, 2012@XBoomslapX
I'll have a look at the log option, for the rest its already there. Just type an url like: www.google.com or http://www.google.com, to break to a new line type \n in the text =)
-
View User Profile
-
Send Message
Posted Jun 11, 2012Is it possible to make it so that it creates a log file that contains the date and what they won each time?
Thanks!
Edit: 2 things... 1.Can you make it so that you can add clickable links? like www.blablabla.org 2.Could you make it so that it you are able to change line manually? like
"Blabla has won ! (change line) Type /gift to get your rewards too!"
-
View User Profile
-
Send Message
Posted Jun 10, 2012@DeadDragons
Updated into the 1.2 version, thanks for the great idea =)
-
View User Profile
-
Send Message
Posted Jun 10, 2012@DeadDragons
I will have a look at that =)
-
View User Profile
-
Send Message
Posted Jun 9, 2012nice plugin but is there a way to make a timer so ppl dont just spam /gift? like 1 a hour or once aday? maybe