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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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!

    This post has been edited 20 times. It was last edited by itsatacoshop247 Nov 3, 2012.
    thernztrom, efstajas and AS1LV3RN1NJA like this.
  2.  
  3. Offline

    MartyComplex

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey just pointing out a little typo there. The semi-colon ("x;y") should be a colon ("x:y:").
    I love you and this plugin 4E!
  4. Offline

    nappy87

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    is it possible to bind the bonus on rightclikin a sign??

    This post has been edited 1 time. It was last edited by nappy87 Jul 1, 2012.
  5. Offline

    DaEgo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    is it compatible with authme ?
  6. Offline

    Oland3

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi,I like the plugin but I've got a question: Is it possible to make so all players/admins get money when logged in without using any permissions plugin?
  7. Offline

    Oland3

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Okey,so I got a little problem. I downloaded permissionsbukkit and tried to give my players permissions to get money. I tried with some permission nodes but none of them seem to work.
    Here's the nodes I tried to use.

    dailybonus.tier.1
    dailybonus.tier.1: true
    dailybonus.tier.1*: true


    I would really like some help if you know how to do and please let me know if I've done anything wrong.
    I can post my config file if needed.
    I would really like to be able to use the plugin on my server!

    Thx! :)
  8. Offline

    Oland3

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Could someone please help me?
  9. Offline

    Oland3

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I guess I won't get any help then. It's sad cuz I would really like to use this plugin.
  10. Offline

    itsatacoshop247

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Version 3.0
    • Updated to 1.3.1
    • Added option to run commands from console on player bonus
    • Added option for data-values on items
    • Changed it so player data is saved in <playerName>.yml instead of one massive file
    Download: http://dev.bukkit.org/server-mods/dailybonus/files/8-daily-bonus-3-0/

    Do not post here on bukkit.org. please use the ticket system or comments on the devBukkit page for all issues/questions/requests!

    This post has been edited 1 time. It was last edited by itsatacoshop247 Aug 11, 2012.
  11. Offline

    itsatacoshop247

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  12. Offline

    ownsyouhard

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    One question that anyone here haven´t probably ever asked before about this plugin, what happens if your logs in to the server and you already have a full inventory? Will some items in the inventory be replaced or does you don´t get and dailybonus at all?

    This post has been edited 1 time. It was last edited by ownsyouhard Aug 12, 2012.
  13. Offline

    itsatacoshop247

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The items pop out of you and fall to the ground. So the player can pick them up later.
  14. Offline

    ownsyouhard

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Nice that you have got that problem fixed. Thanks man for making this plugin it would really help a lot of differnt servers. :cool:
  15. Offline

    hadriel

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is it possible to add a check to see if a player is afk. So if they are trying to get rewarded while being afk they wont?
  16. Offline

    Tanite

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Post your permissions file and your config file (use pastebin.com and give us the resulting link).
  17. Offline

    Gladhe8her

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I am having a problem with the plugin. Where i am not getting a daily login bonus. And idk what the problem is.
  18. Offline

    tom1000o

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    why am i getting this?

    "[SEVERE] Error occurred while enabling DailyBonus v3.1 (Is it up to date?)"

    all ive done was drag the jar file into my plugins folder, is anyone else having this problem? :s thanks in advance for any help!
  19. Offline

    Gladhe8her

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    My DailyBonus is currently working but the actual mods that come with it are not working. but yes you may have to get the newest version of DailyBonus or you may have to get a new version of Bukkit.
  20. Offline

    itsatacoshop247

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I may allow a hook into other AFK plugins.
    Make a ticket on BukkitDev
    Make a ticket on BukkitDev
  21. Offline

    itsatacoshop247

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  22. Offline

    mosa90

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Enabling of DailyBonus not possible.
    And if i reload i get the same error.
    Bukkit 1.4.2R0.2

    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'dailybonus' in plugin DailyBonus v3.5
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:185)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:504)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:911)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:824)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:806)
            at net.minecraftserverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:124)
            at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:282)
            at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:111)
            at net.minecraft.server.ServerConnection.b(SourceFile:35)
            at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
            at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:578)
            at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:215)
            at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:495)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:428)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:818)
    Caused by: java.lang.NoSuchMethodError: java.io.File.toPath()Ljava/nio/file/Path;
            at me.itsatacoshop247.DailyBonus.DailyBonus.onCommand(DailyBonus.java:122)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
            ... 16 more
    >
    

    This post has been edited 1 time. It was last edited by h31ix Nov 4, 2012.
  23. Offline

    itsatacoshop247

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What version of Java do you have?
  24. Offline

    mosa90

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    java version "1.6.0_24"
    OpenJDK Runtime Environment (IcedTea6 1.11.5) (6b24-1.11.5-0ubuntu1~12.04.1)
    OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

Share This Page