Inactive [ECON] DailyBonus 3.5 - Get an economy or item bonus once a day! [1.4.2-R0.2]

Discussion in 'Inactive/Unsupported Plugins' started by itsatacoshop247, Apr 13, 2011.

  1. Offline

    itsatacoshop247

    Version: v3.5
    Suggested Here
    This plugin give a bonus once a day to players who log in. The amount is configurable.
    There is an option in the config file for a delayed time until they get the bonus. If the player logs out before getting the bonus, then it will remember that they didn't get the bonus yet for that day, and attempt to make them wait the time again.
    You can also give items based off a list in the config file.
    The plugin uses SuperPerms (all permissions plugins will work, is what this means) for Permissions and Vault for economy, so all plugins that support those will work with DailyBonus!
    Watch the video!



    The Tier system:

    The tier system allows you to have as many tiers as you want, as long as you change the "Number of Tiers" option in your config.
    How tiers work:
    • Tier number, 1 being the lowest tier
    • So the highest admins/ops/VIPs will be given the highest Tiers, while defaults/noobs get the lowly Tier 1.
    Economy Bonus
    • The economy amount will be given as long as Vault is enabled. If you don't use an Economy, then set the values to 0.
    • Again, you NEED Vault to give an economy amount with DailyBonus.
    • To have a random amount of economy, put the "base-values;random-amount" down. So "20;5" would give a random amount between 5 more or 5 less than 20, aka 15-25 currency.
    Message:
    • This message will be sent to the player when they get their DailyBonus. Color codes such as &6 and &4 work.
    • (Full list here!).
    • !amount will be replaced with the economy amount given.
    • !type will be replaced with your currency, if available.
    Items:
    • This is a list of items the player will be given. "x;y" -> x being the item ID and y being the amount to give. So "266:5" would give 5 Gold Ingots!
    • If you don't want to give any items, set one ID of 0 or just leave it empty.
    • To give random items, set the line to "x;y;z", with x and y the same as above, and z being the max or min that will be added/subtracted from the y.
    • To give items with a data value add a "-d" to the end of the item line, with the d being a data value.
    • Example - "5;10;5-1" - This would give 5 to 15 wood planks (ID 5) with a data value of 1 (Darkwood).
    Permissions:

    • dailybonus.tier.#
    • # being the tier number. So 'dailybonus.tier.1', 'dailybonus.tier.2', 'dailybonus.tier.3', and so on.
    • You can have an unlimited amount of tiers, just change the "number of tiers" option in the config accordingly.
    • Players will not inherit the other tiers. For example - even if admin's with tier.2 were set to inherit the default groups tier.1 they would not get items from both sections.
    Features:
    • Daily amount given (configurable) when a player logs in each day.
    • Permissions based on tier systems
    • Custom message for each tier
    • !amount is replaced by the actual amount in the message
    • Item giving
    • If the player's inventory is full, items will drop at their feet!
    Commands
    • '/DailyBonus reload' - Reloads the plugin - Permission 'dailybonus.reload'
    Download Jar
    Source Code.
    See the full change-log here!
    Get Vault here if you are using an Economy plugin!
    Roadmap:
    • Suggest Stuff!
     
    thernztrom, efstajas and AS1LV3RN1NJA like this.
  2. Offline

    itsatacoshop247

    I don't use Iconomy on my server, so I wasn't aware it had updated. I will fix it tonight
     
  3. Offline

    AmazingHayman

    Thanks, would be great! :)
     
  4. Offline

    iDeViLxD

    Help Please! Looks like a great plugin for my iConomy System! :D
    *EDIT, I just saw your going to update it tonight
    Bukki#740

    20:01:41 [SEVERE] Could not pass event PLAYER_JOIN to DailyBonus
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
    at me.itsatacoshop247.DailyBonus.DailyBonusPlayerListener.addnewplayerfile(DailyBonusPlayerListener.java:114)
    at me.itsatacoshop247.DailyBonus.DailyBonusPlayerListener.onPlayerJoin(DailyBonusPlayerListener.java:41)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:206)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:94)
    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:95)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
    ... 12 more
     
  5. Offline

    itsatacoshop247

    Updated to Iconomy 5!
     
  6. Offline

    GmK

    Does anyone have 1.3 for me? Not willing to update to iConomy 5 just yet...
     
  7. Offline

    itsatacoshop247

    The mirror link is still 1.3
    or click here
     
    GmK likes this.
  8. Offline

    AmazingHayman

    A nice feature would be to have permission groups with different currents of the daily bonus.
    Dont need it, but would be a nice feature.

    Question: An admin, who can use all commands (in permission node its a simple '*') will get the vip bonus?
     
  9. Offline

    itsatacoshop247

    That has been planned, I just have been very busy.
    And yes, they will get the VIP bonus only.
     
  10. Offline

    Bertware

    Avast just blocked a virus, when trying to download this plugin.
    Can you add it as an attachement to your post?
     
  11. Offline

    tha d0ctor

    can't wait for this feature, 1 pay day per each permission group
     
  12. Offline

    quickclay

    Don't forget version number in the titles.. makes it easier to look for updates. :)
    And thanks.. this is cool!
     
  13. Offline

    Darkbanisher

    This plugin does not seem to be giving money to my allmighty admin group.
    Is there a possibility this could be because I have both of your permissions automaticaly?
    And if so, could you fix it to automaticaly give the vip bonus then?
    Nvm works now.
    Nice plugin.
     
  14. Offline

    Bharel

    BOSEconomy pleaseeeeee? :)
     
  15. Offline

    TheDeejay

    Just asking, it says that you have the groundwork for "Delay to Give" in. Any idea when that will be fully implemented (I figure groundwork means it's not finished yet)? This looks really promising and would definitely bolster activity on my server. Per group setting of income is also something I'd like out of a plugin like this. Great idea, I'll definitely be watching this thread :) [cake]
     
  16. Offline

    DJ_Idol

    Hm...I'm getting this error when a player joins:

    Code:
    2011-05-08 23:42:56 [SEVERE] Could not pass event PLAYER_JOIN to DailyBonus
    java.lang.NoClassDefFoundError: com/iConomy/iConomy
        at me.itsatacoshop247.DailyBonus.DailyBonusPlayerListener.onPlayerJoin(DailyBonusPlayerListener.java:59)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:206)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:94)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:95)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassNotFoundException: com.iConomy.iConomy
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 11 more
    
    And it's preventing players from gaining their bonuses.

    If needed, here's my config:

    Code:
    #^===DailyBonus Main Configuration===^
    #If you aren't going to use Iconomy make sure to set Enable_Iconomy?=false
    #The items for NonIconomy are only given if Enable_Iconomy?=false
    #Use the item numbers for now, items.db will be added later
    #The VIP system will be changed to a permissions system soon
    #I will make it mySQLite instead of 345436435 text files soon too!
    #Mon May 16 13:31:04 CDT 2011
    Enable_Iconomy?=true
    AMNT_TO_GIVE_ON_LOGIN_FOR_VIP=250
    AMNT_TO_GIVE_ON_LOGIN=100
    VIP_NonIconomy_Item_Amount_to_give=1
    NonIconomy_message=Welcome\! You just got $amount$ $item$ for logging in today\!
    NonIconomy_Item_to_give=265
    VIPmessage=Welcome Donator, you just got $amount$ $currecny_name$s for logging in today\!
    VIP_NonIconomy_message=Hey VIP, You just got $amount$ $item$ for logging in today\!
    NonIconomy_Item_Amount_to_give=2
    Iconomy_Give_Amount_Variation=0
    VIP_NonIconomy_Item_to_give=266
    message=Welcome\! You just got $amount$ $currecny_name$s for logging in today\!
    
     
  17. Offline

    r0u9hneck

    Hey! First off, I like this plugin. It gives me some nice new features on my server.
    Would you mind if I modify your plugin to use MySQL and combine it with some other plugins and release it as a plugin compilation?
    What I want to do is:
    - A good bundle of plugins for a Server featuring protection, various rewards (example: killing mobs and first login per day (thx again for your plugin)), e(i)conomy etc
    - Full structorized MySQL db (normalized etc.) because most plugins using MySQL have AWEFULL db designs
    - MySQL support for iConomy (wealth), Whitelist (actually the users table), online-users (flag in users table like online=0/1 and out of the logins table time/date of login), DailyBonus (actually a table of logins like Id, Name, Datetime, Ip)
     
  18. Offline

    40540057

    any chance of making this group specific, with each permissions group in the config with a different bonus amount, or maybe add a new info stat to the groups in the permissions file 'bonus:' like the 'rank' stat for promoting with permissionsplus ... not sure which would be easier for you .... having all the groups done in the dailybonus config would be easiest for me though, wouldn't have to add it to each group in four world permissions files ...
     
  19. Offline

    RTRD

  20. Offline

    DaddyCool64

    No Message how much i got today?
    And message/VIPmessage isn't shown too!

    Bukkit build - 798
    DailyBonus - 1.3
     
  21. Could you Updatet for Mc 1.6 ?
     
  22. Could you clear up the config a bit? At the moment i find it really confusing.
     
  23. Offline

    defthefirst

    Hi,
    Since 31/5 all my player dont earn money with login, all the .txt are at 31 5.
    I have to delete all the .txt manualy for pluging works again, any idea ?
     
  24. Offline

    Bloodykittens

    Please update this. We're putting a server together and we'd love to have this in our server to give the players a few extra bucks.
     
  25. As am i, was wishing this would be updated for the start of my new world using Towny (was going to make the daily bonus the same as the rent).
     
  26. Offline

    Mike120

    The plugin has stopped working since we updated to 1.6.6 on the 2nd of june...
    Also, feature request - Would it be possible to give different amounts to different user groups? I have 5 groups on my server and would like to be able to pay the higher ranking groups more than the others.
     
  27. Offline

    Threezool

    Another request would be to reward those who log on every day, so lets say one player logs in two days in a row and gets 1.5 of day one, then on the 3rd day he gets the double and so on until a limit is reached on days to increase it.
     
  28. Offline

    Daniel Few

    @itsatacoshop247
    Ye this would be good!
    Would be nice for example to give a big bonus if they logged in every day of the week, or 5 days in a row :p
    Maybe, as threezool said, the money goes up each day eg. 100% (100coins) on day one, then 150% (150coins) on day two till they reach say 500%. if you get what i mean :) Would give them a reason to keep coming back and to keep their money high.

    Also, what about an option to say how long they have to be on the server to get their daily bonus. Because I don't want people just logging it to get it.
    Would be nice to say, you get 100coins or 1000coins if you've been on the server for 15mins+ each day.
    -DanJames
     
  29. Offline

    s1ck3st

    plugin dead?!
     
  30. Offline

    itsatacoshop247

    FINALS ARE OVER ON FRIDAY, I'LL TRY TO UPDATE SATURDAY/SUNDAY
     
    AS1LV3RN1NJA likes this.
  31. Offline

    s1ck3st

    HAVE FUN &ENJOY :D
     

Share This Page