Home›Java›Mods›xDaily - Daily Rewards Plugin + VIP Support - [WIP] - Now with admin GUI
ModsJava

xDaily - Daily Rewards Plugin + VIP Support - [WIP] - Now with admin GUI

⬇ Download on Spigot
xDaily (1).png
​
XDaily is one of my next plugins in my "X" row. It's still "work in progress".

The plugin isn't completed yet but feel free to test it.
It support Vault. So your players can get money for daily login.
Also there is a VIP function. With this function your VIP can get e.g. double rewards or more. Just add their UUID to the VIP file. The plugin will check the file by default every 60 minutes(you can change this in config file).

All rewards are visible. The reason why I do this is, because for me is it more interesting if I can see what I get on day 7 (maybe a big reward or something like that)

Note:
If you use an offline server, the command /daily addvip doesn't work! It use the Mojang API to get the UUID of this player. This is important because online servers can add players which aren't online! You need to add their UUID manually!


Features:


Upcoming Features:

Languages available:

If you want help me to translate the plugin in more languages, then just send me a PM with your translated language file or visit my project on Transifex: https://www.transifex.com/xearox-games/xdaily

Requirements:

Your server should run with Java 8 and Spigot 1.8.x or 1.9.x
If you want use the money function in the plugin you should add vault to your server if you haven't this yet.


Special Thanks:

@ferrinweb for the Chinese Translation
@Eriaqq for the French Translation
@dawidperez for the Polish Translation
@IsS127 for the Swedish Translation
@MDRubix for the Russian Translation



I've added some tutorial videos. German and English. My English not the best so excuse me for the wrong pronunciation.

Video Tutorials:

Spoiler: Videos
Spoiler: German
Spoiler: Long Tutorial
Part 1

Part 2

Part 3

Spoiler: English
Spoiler: Long Tutorial
Part 1

Server which are using my plugin:

Spoiler: Server List
Nothing there, if you want be a part of this, just send me a banner of your server or only the IP with name ;-)


Instructions:

  1. Move the "jar" to your plugin folder
  2. Reload/Start your server
  3. Go into /plugins/xdaily/config and edit the config file
  4. Change the days under dailybonus how many days you want
  5. Change the "ResetIfPlayerDontLoginEveryDay" if you want to reset the player rewards if they don't login every day.
  6. Change the "ResetIfPlayerGotAllRewards?" if you want to reset the rewards if the player reached the end of the days(not integrated yet)
  7. Change the VIP section. "GetDoubleReward" to change if VIPs get double rewards and the "multiplier" how many they can get from(do not use point numbers).
  8. If you want to updated your VIPs automatically just set the AutoUpdate to true and change the interval if you want. Also you should need to add the player uuid to the vip file in the data folder. Only ONE UUID per line!!!
  9. Random Items not fully functionally atm. Do not change it to true!
  10. In the rewards section you can add the different days to it.
    For general items use this
    Code (YAML):
    '1' : #The number of the day
              Name
    : Welcome to the server #The name for the reward
              Reward
    : diamond #The reward type
              Value
    : 10 #How many you want give the player
    For money(Vault is needed) use this mask here
    Code (YAML):
    '1' : #The number of the day
              Name
    : Welcome to the server #The name for the reward
              Reward
    : money #The reward type
              Value
    : 10 #How many you want give the player
    The money icon in the game is a sun flower head. It looks like a coin so I use this. You can change it in later versions.
  11. Now reload the server again or stop and start again what ever you want to do ;-) or go into the game and use the "/daily admin" command. There you can find the "reload" button.
Admin GUI Instructions

[​IMG]
​
  1. Type in: /daily admin
  2. Click on Create New...
  3. Click on Create new reward calendar
  4. Click on an empty slot
  5. Choose you item
  6. Choose which kind of item you want.
    If decoration, go to step 9
    If normal or money, go to step 7
  7. How much you want of this? Click on green to increase or red to decrease
  8. Click on Apply Value to confirm it
  9. If you want to add more, feel free to add more just click on an empty slot.
  10. Now you need a name of you reward. Just click on keyboard
  11. Now you can click on the letters and if you want write in uppercase then click on Capslock. If green then only one letter is uppercase. If red then you write in lowercase and if yellow then you write in uppercase only.
  12. Click on backspace to remove the last letter
  13. Click on Save Calendar Name to save the name
  14. If your reward calendar ready then just click on Save Calendar
  15. Now your reward calendar is saved or if the name of the calendar already exists then choose an other name.
  16. The inventory close automatically
  17. Done!
If you want so set this new reward calendar as default then do this:
  1. Type in: /daily admin
  2. Click on Change Config
  3. Click on Change Default Calendar
  4. Choose your new reward calendar
  5. Now you need just reload your server(soon with only a button)
  6. Done!
If now new players join to the server they get the new ones ;-)

If you want that all players get the new calendar you need to delete the player files in the data folder. If they now rejoin the server the will get the new calendar.

I will add the function soon to reset all player calendars to apply the new ones.


Now you are ready to use the plugin. Go into the game and use the /daily command to open the "daily GUI".

All messages you can change in the upcoming version like my xHome plugin.

Commands:

For a normal player just: /daily
For OP are following commands available:
/daily admin addVIP playerName <<< Add a player to the VIPFile. The player doesn't be online. The plugin use the Mojang API to get the player's UUID.

/daily admin <<< Admin GUI - Create new reward calendars or change the config. Actually you can ONLY create new calendars and change the default calendar in the config with this GUI. If you want to modify exists calendars you need to modify it manually.

Permissions:

Code (Text):
daily - by default available for all
daily.admin - by dafault available OP only


If you have any suggestions just send me a pm or add a message to the discussion page also if you have questions just ask me =)

Feel free to upload my plugin everywhere you want. Just send me a message where you uploaded it ;-)

If you want to use some code snippets from my plugins just add me to the credits or pm me. Also if you need help for your plugins write me a pm ;-)

The code of all my plugins you can find on my GIT Hub Page https://github.com/Xearoxde/Maven

Some screenshots:

2016-05-27 17_09_39-Minecraft 1.9.4.png 2016-05-27 17_10_50-D__Development_Minecraft_MCServer_plugins_xDaily_data.png

Note: There are some debug messages like simple sentences or something like this. You can ignore them I will remove them in the future versions.

If you like my plugin and if you want support me and my work, then you can simply donate a little bit =) Just click on donate =)

[​IMG]

Donators

@Exstrade <<< Thank you so much =) First Donator Ever!


Statistic
[​IMG]
[​IMG]
[​IMG]

​
Known BUGs:

Daily Admin:
- If you entered a name for the calendar and add new items to it, the name of the calendar will be resetted.
- java.text.ParseException: Unparseable date: "Jul 28 2016"
If you get the error you need to adjust the language file. The calendars date will be written with the date format from the language file. So if a English player joined the server it will be written as MMM dd YYYY if the player now change the language of his Minecraft Client e.g. to German, the xDaily plugin can't find the date MMM dd YYYY because the German date format is dd MMM YYYY.[/SPOILER]

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

xDaily - Daily Rewards Plugin + VIP Support - [WIP] - Now with admin GUI is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10. Downloaded 23,751 times (via Spigot). Download it and open it directly in the game.

Explore more