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

    banana_poop

    Update it :)
     
  3. Offline

    insertt

    x2 :rolleyes:
     
  4. Offline

    m5k

    no update? :S
     
  5. Offline

    DJ_Idol

    Can somebody fork this? I don't think the author is going to update.
     
  6. Offline

    Pr4w

    Why do you need it forked ? Works fine on 860 for me :)
     
  7. Offline

    DJ_Idol

    Doesn't work at all for me :/ Maybe I'll delete my /DailyBonus folder and try from scratch.
     
  8. Offline

    Pr4w

    Yeah it didn't work with for a bit, I just re-downloaded and removed the DailyBonus directory and all was good. :)
     
  9. Offline

    DJ_Idol

    Ok cool, thanks for the heads up man :)
     
  10. Offline

    SkeletonGamer

    There are always bugs in the command window. Always the problem with PLAYER_JOIN... So no it does not work well. It needs an update. Thank you itsatacoshop247.

    Code:
     [SEVERE] Could not pass event PLAYER_JOIN to DailyBonus
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
    at me.itsatacoshop247.DailyBonus.DailyBonusPlayerListener.onPlayerJoin(D
    ailyBonusPlayerListener.java:57)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:243)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:310)
    at net.minecraft.server.ServerConfigurationManager.c(ServerConfiguration
    Manager.java:126)
    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:96)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    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:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    ... 11 more
     
  11. Offline

    m5k

    This is exactly what I need. Update this, I beg you :S
    Currently it works once. Every user gets this properties file:
    Code:
    9
    7
    After the file is created the person never gains money again.
     
  12. Offline

    EX3MP

    Update Please
     
  13. Offline

    dvdbrander

    Why does everybody wants updates while it still works?
     
  14. Offline

    Veve

    It dont work for me. :/
     
  15. Offline

    SkeletonGamer

    Hi everyone ! Since this plugin is out of date for a while and that its author does not seem to want to keep it updated, I decided to update it myself.
    I announce today that I just finished converting the plugin to iConomy 5.0.1 and updated for Craftbukkit #860. I only have 2-3 things to adjust and I will give to download with the sources of course !
     
    LlmDl likes this.
  16. Offline

    dvdbrander

    The actual programmer has been online yesterday, I think you should discuss this first, but if he agrees, I like it.
     
  17. Offline

    SkeletonGamer

    That's it, there it is ! Enjoy =)

    DailyBonus 1.5 - Daily Login Bonuses
    http://forums.bukkit.org/threads/econ-dailybonus-1-4-iconomy-login-bonus-766.12841/

    Author : itsatacoshop247
    Version 1.5 Unofficial by SkeletonGamer (SkeletonGamer@hotmail.fr)

    Changelog 1.5 :

    - Updated to Craftbukkit #860
    - Support to iConomy 5.0.1
    - Automated detection of currency name.

    EDIT : Please remove all $currency_name$s from your MainConfig.properties

    Download : <Edit by Moderator: Redacted mediafire url>


    It is already installed on my server and works perfectly ! ;-)
     
    Last edited by a moderator: Dec 14, 2016
  18. Offline

    dak393

    Is it all right with you if I add your plugin to CBUTD? (when the main thread is updated)
     
  19. Offline

    SkeletonGamer

    Last edited by a moderator: Dec 14, 2016
    quickclay likes this.
  20. Offline

    Mike120

    Thank you! It works, but there's no config file to change the amount...
     
    Last edited by a moderator: Dec 14, 2016
  21. Offline

    SkeletonGamer

    Hummm...

    The config file is created on first launch of the plugin. It is located in /plugins/DailyBonus/config.yml
     
  22. Offline

    blutherz

    Still no BOSEeconomy compatible version?

    Bad...
     
  23. Offline

    Mike120

    Yeah I know that would be the case normally but it didn't create a folder / config file after running...
     
  24. Offline

    SkeletonGamer

    Sorry the configuration file is called MainConfig.properties

    Otherwise, I just re-test the plugin at home, he creates the folder and the file...
    Have you a particular error in the console?
     
  25. Offline

    Mike120

    Ah i see to have it working now. I just reinstalled the original plugin and replaced the .jar with your file and seem's to be working great now.

    Thank you very much for the update! Will you be continuing development of this?
     
  26. Offline

    SkeletonGamer


    I did not have the consent of the original developer because I never see him online. But all I can say is I love this plugin and I am working on integrating BOSEconomy and EssentialsEco ...

    On the other hand, I am just an amator developer... :oops:
     
  27. Offline

    Mike120

    Ah okay. Yeah I've noticed he hasn't responded to anyone's comments for a long ol' while which is annoying as I love this plugin too, as do the players on my server. Would there be any chance of getting permissions tiers introduced? So different groups would get different amounts?
     
  28. Offline

    SkeletonGamer


    Humm...
    I'll have to look at how the integration of Permissions works, but I do not guarantee anything. I try to integrate BOSEconomy and EssentialsEco. After, I would see it according to my abilities in Java... :'(
     
  29. Offline

    VeryInsane

    Will this work with Newest Recommended Build #928?
     
  30. Offline

    SkeletonGamer

    Yes
     
    VeryInsane likes this.
  31. Offline

    baem

    i always get 20$ for login, doesnt matter how mainconfig.properties and permissions are set up

    edit: i use bukkit 935 + inofficial version, i had this error with the official version,too
     

Share This Page