DailyLoginRewards
Current Version: 0.3.0
Description
DailyLoginRewards is a plugin that allows server owners to reward their players for logging in each day! It is configurable to allow rewards for total days logged in, number of days logged in consecutively, and daily repeated rewards.
Commands
/rewards reload : Reloads the configuration files from the disk.
Metrics
This plugin sends statistics about your use of this plugin and server to http:mcstats.org/. To disable metrics, go into the PluginMetrics folder, located in your server's plugins folder. There, you should find a config.yml file. In config.yml, Change 'opt-out: false' to 'opt-out: true'. Go to MCStats :: DailyLoginRewards for a more detailed look at what stats are collected. Metrics was removed in V.0.3.0.
Permissions
DailyLoginRewards.rewards - Allows the player to receive rewards. This is only needed when "usePermissions" is set to true in the Configuration.
DailyLoginRewards.reload - Permission needed to reload the files from the disk.
Configuration
Config.yml
Consecutive.yml
TotalDays.yml
Daily.yml
Lang.yml
Player.yml
How to Use
To install DailyLoginRewards, place DailyLoginRewards.jar into your Bukkit server's plugin folder. Restart your server. A list of configuration files will generate. Any changes in the configuration files take affect after your server reloads or restarts, or when you type "/Rewards Reload."
Be sure to comment and post suggestions of things to be added in future releases.
I am running the current version of your plugin I downloaded from link below and I am experiencing a strange issue.
I have one User that only gets the first day rewards then it stops giving him a reward for consecutive days.
I can delete the user's yml and it will create a new one and give him credit for the first day only.
User name formats that work:
UserName
Username
username
user_name
User_name
User name formats that are broken:
User_Name
The only difference i see between the users is the name format using a capital letter after the underscore. Can you fix it or switch to using the User's UID instead?
This plugin was broken as the previous comments note. You would only get the day 1 reward. I've fixed it.
Link: Link Removed: http://www.mediafire.com/download/gk0ec6d45hfui6y/DailyLoginRewards.jar
changelog:
why do i get money only the first day?
Very good plug-in,But I don't understand,Why can only receive the first day of the award?
I have a suggestion: could you add a way to give players random rewards? Of course, they could be set in a config file. For instance, after 7 days of continuous login, your plugin would choose a random command to run from the ones set. So someone would get a diamond pickaxe, but the other one would get a diamond shovel, for example. Anyway, nice plugin!
i use this plugin all the time, congregations for update!
Waiting for an update... I'd love to use this plugin but I can't!
Update coming? ☺️
fantastic! thx
How to configure timezone ? I need Czech Republic
mysql support ? cb1.7.2-r0.3 build?
Any chance for an UUID update?
Can you make it possible to have reward players with custom commands rather than items etc?
awesome plugin, i would like to use it if it was possible to reward players with items instead, On the daily reward i did:::
dailyreward:
command:
- give %p 264 2
- give %p 320 10
but it says in the console when i login: unknown command. /help for list of commands..
i succeeded by doing :
dailyreward:
command: give %p 264 2
but im trying to give more than one item at same time... is it possible?
@ScoopPieWithABukkit
TotalDays.yml is the rewards for the total amount of days a player logs in. A player's total days count incriminates by one for each day they log in.
Consecutive.yml is the rewards for logging in for a certain amount of days in a row. A player's consecutive days count resets back to one when they don't log in one day.
This plugin is really cool and I plan on using it, but whats the use for TotalDays.yml and Consecutive.yml? From what I can see they look like the same file.
The empty string ('') was the first thing I tried in order to hide the messages but it didn't work indeed. Just downloaded version 0.2.1 and it works like a charm. <3
@wazoomie
I will add an option to have one message that combines the rewards messages. I believe the best way to do this is to combine each of the reward amounts into one grand total. This will be uploaded today and will be available once it is approved.
To disable any of the strings, you can leave them empty in the lang.yml file or remove them completely from the lang.yml. Note, adding a '' or "" printed a blank line in chat when I tested it. I'll update the lang.yml documentation to explain this also.
For example, you can disable Totals like this and no blank line will be printed in chat:
Wow, that's a quick update. Great! Now that it's the second day I logged in on the server I noticed something else;
Combine join messages
When you receive multiple rewards (daily, consecutive, total days) you get three lines of text in the chat. Can't you make new text strings for those combinations so we just get one line of text in the chat? I think that would look less spammy.
Option for printing each text string in chat
Additionally give us the option to disable strings from getting printed in the chat. For example, I don't want the "You logged in for x days and x in a row" to show up in chat.
Other than this the plugin is 10/10!
Thanks for your comments and suggests.
@wazoomie
I have uploaded v.0.2, which adds a configurable delay before checking rewards after login and a timezone setting. "GMT" is a valid value for Casablanca time.
@leweskism
I will try to add this in a future release.