RewardMe
RewardMe
Version: 3.3.1
RewardMe let you reward your users with custom rewards! You can set them up in the config file.
Features:
- Give points to your users
- Point storage, even after reboot
- Up to ∞ possible rewards
- Permissions support
- Daily login reward
- Daily login reward delay
- Redeem function
- Console support
- Custom reward for killed mobs
- Custom reward for mining blocks
- Reward signs
- Votifier support
- Language files!
Permissions:
- RewardMe.givePoints
- RewardMe.redeem
- RewardMe.Daily
- RewardMe.sign.create
- RewardMe.sign.use
Comming soon:
- Rewards for referring the server to a friend!
- Rewards GUI!
- ? (Suggest what you'd like)
Commands:
- /points to show your current points
- /points <user> <amount> to give <user> <amount> points
- /rewards to show all accessible rewards
- /reward <number> to buy the reward with number <number>
- /generateredeem <name> <duration in days/ or "once"> to generate a redeem code (alias /genred)
- /useredeem <redeemcode> to use a redeem code (once per user, alias /usered)
- /rewardme for help
- /rewardme convert to convert your old config files
- /rewardme update to update the plugin
Signs (v3.3.1+)
- Line 1: Got to contain "[RewardMe]", may start with "!" to mark a multi use sign, may end with "!" to mark a free sign (be really sure if you want to use both on the same sign!)
- Line 2: Reward name
- Line 3: May contain "noperm" to ignore permissions you'd otherwise need
- Line 4: Whatever you like, it's your sign after all :3
Example files
Metrics
This plugin sends statistics about the usage to the server http://mcstats.org/. You can disable it by setting "Metrics.Enabled" to false in the config. Refer to the example config file for more information.
Updater
This plugin uses Updater by Gravity. This means that the plugin checks for a new version on this page when it starts. Depending on your configuration, it will notify you and/or download it. To disable this behavior, set "Updater.Enabled" to false in the config.
@Dilski
Added, a very good idea, thanks!
@se1by
Just to give you a bit more to work on, signs to buy things and see your balance
@Dilski
On my ToDo :)
@se1by
Well currently the points are called points (the things you spend). I would like it so that i could customize what this is called, so i could call them "QuantumCoins" instead
Edit: Could not get emerald to work tried three different ways but the second try did not work because I forgot to erase the player file. To anyone else it's 388 for emerald to work.
@Dilski
What do you mean with the "Reward points"?
@se1by
So it should be soon?
Would it also be possible to rename the "Reward points" to what you want in the config file?
@Dilski
Done, file just needs aproval now
Hey,
Would it be possible to add redeem codes that can only be used once?
@RandomPanda0
@jorisk322
Sorry for beeing that long away.
I updated it for 1.3.1 and added Votifier support.
@se1by My users seem to get their daily reward multiple time a day... Also, could you please add votifier support? Because using the commandListener gives me an error :(
@RandomPanda0
Yeah, that's basically what I asked him too, but he seems to not be around a lot lately.
I would love if you hooked this up with votifier or something to allow for rewards for voting.
@JayFight
okay for future reference if anyone is having trouble with
MiningReward:
in the config not working all you need to do is change it too
Mining:
and it will work, kind of like this
Mining:
Enabled: true
1:
NeededBlocks: 3
Command: give %USER 1 3,say %USER mined 3 stones
hi there i just wanted to say this is an awesome plugin and i love the redemption code feature, it will make giving Christmas gifts much easier this year, but i can't get the mining rewards to work and i'm using the example config you have posted so i was hoping you might be able to tell me what i did wrong or might need to change
also just so you know there is no error showing up in console and idk if it would keep track of the mined stuff in the players.yml like it does with killing but it doesn't show up there either
also i have noticed that the player.yml doesn't seem to work like the example on you have, i let the plugin generate mine for me and it is weird it's more like this
JayFight:
LastLogin: 22
piepie7777:
LastLogin: 13
Kills:
Zombie: 4
the kills count for everyone on the server and not just one person so i could kill 4 and piepie could kill 1 and he'd get the prize and i would have to kill more zombies
and one last thing (sorry this is going on so long) but i was wondering if you could think about adding the ability to add multible days in a row login reward and time since first login reward, like "You Have Played on this server for 7 days straight have an apple" or "this is your 1 month aniversery you get promoted to next rank"
thank you for this awesome plugin and i hope to see it live forever (or until minecraft dies)
i am a total noob at programming but idk if this would help with the whole taking points away thing
public void TakePoints(EntityDeathEvent event,CommandSender p, String User, int amount){
if(event.getEntity() instanceof Player);
Player user = Bukkit.getPlayer(User);
int oldPoints = points.getInt(User);
int newPoints = oldPoints - amount;
points.set(User, Integer.valueOf(newPoints));
basic.save(points, "points", p);
new YamlConfiguration();
points =YamlConfiguration.loadConfiguration(new File("plugins/RewardMe/points.yml"));
p.sendMessage(chatpre + amount + " points taken on Death!");
user.sendMessage(chatpre + "You lost " + amount + " points from Dieing");
}
Edit:also why cant i use kits as a command... so have to use the %user
ty by the way you should remove the // when writing the config it breaks the code.... also if ur gonna show people how to do something in a ymal tip number one
use #
reason is i have seen them in all the configs they are ignored by the program for some reason and are good for text
EX.
DailyLogin:
# The daily login reward
Enabled: true
Delay: 1
# Delay in minutes
Command: give %USER log 10
# Command executed when a user joins for the first time of the day
Message: Have fun with your 10 log, %USER :D
# Message shown to the user
KillReward:
# Reward for killing entitys
Enabled: true
Zombie:
# Name of entity
NeededKills: 5
# Kills until the user gets the reward
Command: give %USER 2 5
# Commands executed when user killed enough entitys
MiningReward:
#Reward for mining blocks
Enabled: true
1:
# ID of the block
NeededBlocks: 32
# Mined blocks before user gets reward
Command: give %USER 76 2,say %USER mined 32 stones
# Commands executed when user mined enough blocks
--------------------------------------------------------------------------------------
this way people don't get corrupt config from go :P love and peace to u Se1by keep up the good work
by the way got some ideas
1. the redeem is kool u have a random gen to gen it right.... my idea add letters u will run out of possible combos if u have 1-9 and 0 thats ten numbers u will run out of them in a very long time but still its good to prevent hacks from using a number gen to crack it
2. add a way of adding cash
3. can i give prems to people using this does it act like its a console ?
4.add a random give away for points daily or what ever not like your daily login more like a lottery it would be cool if it randomly selected a use and announce " billy won 1000 points from the gods for playing on <servername>
5.trade points allow players to give each other peoples but have a limit of like 10 a day, or something
6.add signs so we can use the points to but stuff off of signs like so we can make point stores and if we can add stores maybe as a bonus inter-grade into Dynmap ?
7.add a timer function so players get points on how long they at actively on the server in 2 ways, they time they are online that day and the time total on the server I.E you have play for 1 hour here is 10 points.... you have played for 24 hours on the server heres 100 points
8. maybe lose points for dieing or pvp another play being an option would be nice
p.s none of theses have to be use i was thinking of making the plugin EPIC... it awesome but some of theses could make it better then all the others
@se1by Could I please get a reply to this? http://dev.bukkit.org/server-mods/rewardme/?comment=50 I didn't want to spam you, but I've been waiting a while now.
@seventhdimension
instead of
just do
> DailyLogin:
> KillReward: // Reward for killing entitys KillReward: // Reward for killing entitys KillReward: // Reward for killing entitys KillReward: // Reward for killing entitys KillReward: // Reward for killing entitys KillReward: // Reward for killing entitys KillReward: // Reward for killing entitys KillReward: // Reward for killing entitys KillReward: // Reward for killing entitys KillReward: // Reward for killing entitys KillReward: // Reward for killing entitys KillReward: // Reward for killing entitys KillReward: // Reward for killing entitys KillReward: // Reward for killing entitys KillReward: // Reward for killing entitys KillReward: // Reward for killing entitys KillReward: // Reward for killing entitys KillReward: // Reward for killing entitys KillReward: // Reward for killing entitys KillReward: // Reward for killing entitys KillReward: // Reward for killing entitys MiningReward: // Reward for mining blocks MiningReward: // Reward for mining blocks MiningReward: // Reward for mining blocks MiningReward: // Reward for mining blocks MiningReward: // Reward for mining blocks MiningReward: // Reward for mining blocks MiningReward: // Reward for mining blocks MiningReward: // Reward for mining blocks MiningReward: // Reward for mining blocks MiningReward: // Reward for mining blocks