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 will update this tonight guys, The recommended build was just released last night, geez.
     
  3. Offline

    NordicBlue

    I would like to see a feature where i can specify more then 1 VIP group.
    So i can pay my staff/players per day according to their usergroup.
     
  4. Offline

    itsatacoshop247

    Working on it, going to update to 733 first.
     
  5. Offline

    DJ_Idol

    My post wasn't saying I demanded you update, just wanted to let you know I thought this was a great idea for the plugin and was going to test to see if it worked on CB #733, and it does :)
     
  6. Offline

    itsatacoshop247

    Wasn't directed at you, lol
     
  7. Offline

    vladoo

    does not work on my server :/ i'm in 733 (only VIP got the money)
    here is my config:

    #^===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!
    #Wed Apr 27 18:20:01 CEST 2011
    Enable_Iconomy?=true
    AMNT_TO_GIVE_ON_LOGIN_FOR_VIP=3
    AMNT_TO_GIVE_ON_LOGIN=3
    VIP_NonIconomy_Item_Amount_to_give=1
    NonIconomy_message=You just got $amount$ $item$ for logging in today\!
    NonIconomy_Item_to_give=265
    VIPmessage=Hey VIP, You just got $amount$ $currecny_name$s for logging in today\!
    NonIconomy_Item_Amount_to_give=2
    VIP_NonIconomy_message=Hey VIP, You just got $amount$ $item$ for logging in today\!
    Iconomy_Give_Amount_Variation=0
    message=You just got $amount$ $currecny_name$s for logging in today\!
    VIP_NonIconomy_Item_to_give=266

    heres my permission config:

    groups:
    Members:
    default: true
    info:
    prefix: '&3'
    suffix: '&3'
    build: true
    inheritance:
    permissions:
    - 'general.player-info'
    - 'general.spawn'
    - 'lockette.create.*'
    - 'iConomyChestShop.shop.create'
    - 'iConomyChestShop.shop.buy'
    - 'iConomyChestShop.shop.sell'
    - 'iConomy.access'
    - 'iConomy.rank'
    - 'iConomy.list'
    - 'iConomy.payment'
    - 'dailybonus.get'
    - 'dailybonus.getVIP'

    Moderators:
    default: false
    info:
    prefix: '&5'
    suffix: '&5'
    build: true
    inheritance:
    permissions:
    - '*'
    - 'iConomyChestShop.shop.create'
    - 'iConomyChestShop.shop.buy'
    - 'iConomyChestShop.shop.sell'
    Admins:
    default: false
    info:
    prefix: '&4'
    suffix: '&5'
    build: true
    inheritance:
    permissions:
    - '*'
    - 'iConomyChestShop.shop.create'
    - 'iConomyChestShop.shop.buy'
    - 'iConomyChestShop.shop.sell'

    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
    vladoo:
    group: Admins
    permissions:
    - 'general.spawn'
    - 'general.teleport'
    - 'general.teleport.here'
    - 'general.time'
    - 'general.player-info'
    - 'general.items'

    typex51:
    group: Moderators

    joss871:
    group: Moderators

    leboss57350:
    group: Moderators

    what's wrong ?
     
  8. Offline

    itsatacoshop247

    3 Things:
    1. Why do you have .get and .getVIP for the same group?
    2. When you have '*' you shouldn't add any other permission nodes.
    3. Make sure its DailyBonus.get and DailyBonus.getVIP (Mind the capitals)
     
  9. Offline

    Fluff

    I have the same issue as vladoo. .get and .getVIP were on different groups, and no group has * permissions. Capitalization was also correct. VIPs got rewarded, while others didn't. Using v1.2 with build 733.
     
  10. Offline

    itsatacoshop247

    The only other reason is that they didn't have a valid Iconomy account. Otherwise something really funky is happening.
     
  11. Offline

    Fluff

    It wasn't an iConomy reward. I was giving out gold ingots: 1 for .get, and 2 for .getVIP. VIPs got their two, but non-VIPs didn't get any.
     
  12. Offline

    itsatacoshop247

    Fixed in 1.3, Re-DL
     
    Fluff likes this.
  13. Offline

    minibomberman

    is it possible to do a random choice for the items ? as a lotery or a game.
    Not to have the same object every day for everyone
     
    Last edited by a moderator: Dec 14, 2016
  14. Offline

    monir

    I wonder why people only sometimes get bonus ans sometimes not
    and the message doesnt show upp all the time why is that?
    im using build 740
     
  15. Offline

    itsatacoshop247

    Well obviously it only appears once a day, and depending on what other Plugins you have show a message when a player logs in, it may be hidden
     
  16. Offline

    monir

    I have tryed it for 2 days now and the message shows only for some people why is it hidden for others they are all in the same group. I only use essentials message text
     
  17. Offline

    itsatacoshop247

    I'd need to see more. PM me with your Plugins, Permissions Config, and DailyBonus Config
     
  18. Offline

    minibomberman

    So ?
     
  19. Offline

    Pornocchio

    not working for me since the 1.5 update. worked fine with 1.4
     
  20. Offline

    itsatacoshop247

    Maybe later, Im pretty busy with previous requests.
    Works for me on 740. Make sure you have the latest version, and latest Iconomy if you use it
     
  21. Offline

    Pr4w

    Hey,

    Any plan on updating it to iConomy 5 ? :)
     
  22. Offline

    itsatacoshop247

    Yes, I was not aware it had updated!
     
  23. Offline

    Ruleryak

    Sir Taco Shop - Can you provide an alternate way of downloading the Jar? Mediafire has been broken almost all day today. Can't it be included in your github account for direct download? I'm going to look into compiling from your source in the meantime since I'd really like to add this plugin to my server.
     
  24. Offline

    itsatacoshop247

    HERE YA GO
     
  25. Offline

    Ruleryak

    Hey thanks! Works like a charm on my 733 server, appreciate the alternate link!
     
  26. Offline

    itsatacoshop247

    Np, it was easy enough to add the link
     
  27. Offline

    quickclay

    Dumb question, but how to I actually download the jar?
    All I see on the download page are:
    <font color="rgb(51, 51, 51)"><font color="rgb(21, 87, 131)">DailyBonus.jar</font></font>
    <font color="rgb(21, 87, 131)"><font color="rgb(119, 119, 119)">(9.86 KB)</font></font>

    <font color="rgb(51, 51, 51)">[​IMG]</font>




    <font color="rgb(51, 51, 51)"><Edit by Moderator: Redacted mediafire url>
    <font color="rgb(0, 71, 142)"><Edit by Moderator: Redacted mediafire url>

    <font color="rgb(0, 71, 142)">Share this file:</font>
    <font color="rgb(51, 51, 51)"><font color="rgb(85, 85, 85)">URL:</font></font>
     
    Last edited by a moderator: Dec 14, 2016
  28. Offline

    itsatacoshop247

    I added a mirror yesterday. I'm thinking of switching to DropBox soon rather than mediafire, but idk whats better.
     
    Last edited by a moderator: Dec 14, 2016
  29. Offline

    AmazingHayman

    Okay, think the plugin don't want to work with iConomy 5!
    Bukkit #740. iConomy 5.

    Code:
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:95)
    at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:94)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:206)
    at me.itsatacoshop247.DailyBonus.DailyBonusPlayerListener.onPlayerJoin(DailyBonusPlayerListener.java:41)
    at me.itsatacoshop247.DailyBonus.DailyBonusPlayerListener.addnewplayerfile(DailyBonusPlayerListener.java:114)
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
    > 17:48:27 [SEVERE] Could not pass event PLAYER_JOIN to DailyBonus
    Whats wrong?
     
  30. Offline

    tha d0ctor

    I conomy 5 pretty much restructed much of the icnomy system so it breaks every iconomy plugin that doesnt use its new API...not perfect but better than no updates at all
     
  31. Offline

    AmazingHayman

    You're right. Hope it'll be fixed soon. :)

     

Share This Page