Inactive [ECON] MobBounty v4.2 - Simple Mob Reward [1337]

Discussion in 'Inactive/Unsupported Plugins' started by AOD_Batman, Mar 29, 2011.

  1. Offline

    AOD_Batman

  2. Offline

    Bunnizor

    I am using brohoster and i don't have the log but it always says "an internal error occurred while attempting to perform this command" when I type /mb. This is right after i allowed people to use this in permissions, I have no idea why! Please help! :(

    Nevermind I Found it! Yay! :D

    Errors (This might be it): 2011-06-13 15:46:03 [SEVERE] Could not pass event ENTITY_DAMAGE to MobBounty
    java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    at net.mcbat.MobBounty.Listeners.MobBountyEntityListener.onEntityDamage(MobBountyEntityListener.java:74)
    at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:570)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.EntityHuman.d(EntityHuman.java:527)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:867)
    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  3. Offline

    Kainzo

    I may have missed it in the configs - is there a way to set base %"s instead of having it 100% for everyone?
     
  4. Offline

    AOD_Batman

    You can set multipliers in the Multipliers.yml file. You can set multipliers based on the World's Environment (Normal or Nether), Time of Day (Day, Evening, Night, Morning), Player's Permission Group, and the World itself. For example a Multipliers.yml file could look like so:

    Code:
    Environment:
        Normal: 1.0
        Nether: 1.25
    
    Time:
        Day: 1.0
        Sunset: 1.0
        Night: 2.0
        Sunrise: 1.0
    
    Groups:
        World:
            VIP: 1.25
            Admin: 0.0
        World_nether:
            VIP: 1.25
            admin: 0.0
    
    Worlds:
        VIPWorld: 0.0
    
    So for example if someone in the VIP group went into World_nether their multiplier would be: 1.25 x 1.25 = 1.5625. You can also disable multipliers in the General.yml.

    You can also set a range to your rewards in Rewards.yml. This will randomly generate a number between 2 values. For example:

    Code:
        Cow: '0.01:0.05'
        Creeper: '25:55'
        ElectrifiedCreeper: '60.00:65.78'
    
    (The quotes are very important!)
     
  5. Offline

    Kainzo

    @AOD_Batman - I'm referring to coin drop percentage. Meaning we can set the percentage for coin to drop for Spiders to be 50% and then set it for zombies for 10%

    So 10% of the time Zombies drop coin. Not how much they drop.
     
  6. Offline

    RugRats

    Can you rename commands due to mysterybox confliction?
     
  7. Offline

    AOD_Batman

    Currently not at this time.

    In the last major update all shorten commands such as '/mb' were made to be aliases. This was incase there was any conflicting plugins (For example MysteryBox) you would still be able to use the full command such as '/mobbounty'.
     
  8. Offline

    RugRats

    Thanks :D
     
  9. Offline

    EZSPECIAL

    Show Spoiler
    2011-06-14 20:38:50 [SEVERE] Could not pass event PLUGIN_ENABLE to MobBounty
    java.lang.NoClassDefFoundError: com/iConomy/iConomy
    at com.nijikokun.register.payment.methods.iCo5.isCompatible(iCo5.java:57)
    at com.nijikokun.register.payment.Methods.createMethod(Methods.java:55)
    at com.nijikokun.register.payment.Methods.setMethod(Methods.java:94)
    at net.mcbat.MobBounty.Listeners.MobBountyServerListener.onPluginEnable(MobBountyServerListener.java:47)
    at org.bukkit.plugin.java.JavaPluginLoader$38.execute(JavaPluginLoader.java:504)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:806)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:140)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)


    Anyone knows what's happening here? I'm running CB860 with freshly installed iConomy 5 and MobBounty 4
     
  10. Offline

    RugRats

    I'm running the same thing no errors.
     
  11. Offline

    AOD_Batman

    Two plugins are both using com.nijikokun.register.payment.*. I'm currently at work and my laptop is at home. I will fix this once I get out of work/school. ;)
     
  12. Offline

    EZSPECIAL

    Thanks for the quick reply, it must be WorldGuard's Region Claim feature :(

    EDIT: Well I'm screwed, besides World Guard I have around 4 plugins that use iConomy and they all give me the same error, is it iConomy fault?
     
  13. Offline

    RugRats

    it can't be my server runs just fine with it.
     
  14. Offline

    EZSPECIAL

    Problem solved, pesty H2 Database was still loaded even after the server had been stopped so when something tried to hook to iConomy it already had a process running :p
     
  15. Offline

    AOD_Batman

    Yea it's not a problem with iConomy. The developer of iConomy, Niji, created a developer API called Register which allows for plugins to easily support iConomy v4, iConomy v5, BOSEconomy, and Essentials Economy. The problem is with how I implemented Register. Apparently if you don't rename the package for Register, and if there is another plugin that did the same exact thing you get the error in which you and LordKhaos are getting. So I know how to fix it and it's a pretty easy fix. ;)

    @EZSPECIAL @LordKhaos

    Version 4.02 (Oxygen) Released.
    • Fixed Register API bug due to conflicting package name with other plugins.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  16. Offline

    hofec

  17. Offline

    Ratchet

    Code:
    Ranged rewards to allow for a randomly generated reward within a range.
    how do I use this?
     
  18. Offline

    AS1LV3RN1NJA

    Thanks. Great plugin and very well documented.
     
  19. Offline

    AOD_Batman

    Some examples:

    Code:
        Cow: '0.01:0.05'
        Creeper: '25:55'
        ElectrifiedCreeper: '60.00:65.78'
    
     
  20. Offline

    Ratchet

    ah, thanks.

    request: possibility to take gil from players upon death (either fixed or percentage amount)
    only thing i'm missing from ecocreature!
     
  21. Offline

    Ratchet

    Server: /mobbounty
    CONSOLE: Commands are designed for in-game only.

    why? :(
    there's no reason for this at all, please allow them to be entered from console aswell. :[
    i'm trying to set up a system whereby mob rewards change based on time and events and such and it needs to be entered via console.
     
  22. Offline

    AOD_Batman

    Right now a few of the commands rely on using the player information. I'm planning on adding this, but for the sake of releasing 4.00 I held off on it. ;)
     
  23. Offline

    Kainzo

  24. Offline

    lexon

    Don't know what's wrong, help :(, this happens with every monster i kill

    [​IMG]


    Forget what I said, I destroyed my permissions file by accident ("groups:" was typed over)

    Ugh my bad :(
     
  25. Offline

    olearius

    Could this plugin work for Mo' creatures? Running ecocreatures for now and it's a pain only getting money from half of the mobs you see. If I chase down a fire ogre I wanna get paid :p
     
  26. Offline

    Kainzo

    @AOD_Batman
    Just to note - the below error message works fine on
    Still looking for a % drop chance instead of straight line 100% for at least one world :)

    http://pastie.org/2093812

    Seeing that trace on 893 / latest

    I think this is due to us using Ico5 Mysql - on our test server using the same plugins - we dont see this error. (its on h2 db)
     
  27. can this give item reward and not just icon?
     
  28. Offline

    GmK

    For us the depreciative returns have stopped working since I updated to 4.x+, worked perfect on the 3.x versions.

    Any idea why? It simply isnt reducing the amount you get anymore when continousley killing the same mob.

    Code:
    mobSpawnerProtectionRadius: 10
    useTimeMultiplier: true
    useMobSpawnerProtection: true
    locale: en
    useDepreciativeReturn: true
    useWorldMultiplier: false
    useGroupMultiplier: false
    depreciativeReturnRate: 0.6
    useEnvironmentMultiplier: true
    
     
  29. Offline

    AOD_Batman

    Try enabling depreciative returns via command:

    Code:
    /mbg DeprReturn true
     
  30. Offline

    GmK

    Same here, sorry @AOD_Batman
     
  31. Offline

    Kainzo

    I cant seem to get this working with ico5 and mysql. any reason why I'd be getting the above errors?
     

Share This Page