Inactive [FUN/ECON]MonsterHunt v1.5.1 - Who kills most mobs? [1.1-R4]

Discussion in 'Inactive/Unsupported Plugins' started by matejdro, Jan 29, 2011.

  1. Offline

    matejdro

    MonsterHunt

    Are your players building at day, but bunker into their houses, when night comes? Make them hunt monsters!

    This plugins adds another layer of fun against monsters. It's absolute must have, if you have monsters turned on.

    At night, when monsters come out, plugin will count how many monsters each player kills. At the end of the night, name of the player with most kills is announced globally.

    Additionally, you can enable reward to add another way of gathering stuff to the server or to simply motivate players to hunt monsters.


    (BIG thanks to @Samkio for the video)

    See BukkitDev page for more information and download links: http://dev.bukkit.org/server-mods/monsterhunt/
    (you can use your minecraft forum username and password on BukkitDev)
     
  2. Offline

    Preston Taylor


    Yes, but not in the console, it happens on screen.

    Regardless, i think the error is more focused on me not installing sqlite correctly, Any chance i could get more specific instructions?
     
  3. Offline

    andune

    This plugin worked good the first "Minecraft night". Then at some point during the middle of the next day, it started spewing this error to the logs like crazy:

    http://pastebin.com/ikZWT8n6

    My config file: http://pastebin.com/tWvhxuUg and the plugins I'm running: http://pastebin.com/JQzX5U4Q

    This is on bukkit RB #803

    Would love to see this fixed, players loved the idea of this plugin and really enjoyed that first night hunting monsters! Thanks!
     
  4. Offline

    Stym

    Sometimes when creatures spawn under huge trees they don't end up in world.properlyspawned arraylist (obviously, because they spawn under wood blocks and not leaves/air). My suggested workaround is based on the fact that in natural trees, there are usually leaves above the wood blocks and normally no one is able to place leaves except admins/mods. So if the plugin would check if Material.WOOD is followed by Material.LEAVES that shouldn't hinder the protection much.
     
  5. Offline

    ToastedJelly

    Great Idea, Stym - this should get rid of most of the tree problems
     
  6. Offline

    Soryo

    Whenever an Arrow Dispenser hits a mob, it spams this in my console log... it doesn't seem to do anything except scare the shit outta me.... ( it says SEVERE !! ) :p

    Code:
    2011-05-23 06:46:58 [SEVERE] Could not pass event ENTITY_DAMAGE to MonsterHunt
    java.lang.NullPointerException
        at com.matejdro.bukkit.monsterhunt.MonsterHuntEntity.onEntityDamage(MonsterHuntEntity.java:41)
        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.EntityArrow.p_(EntityArrow.java:169)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1009)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:53)
        at net.minecraft.server.World.playerJoinedWorld(World.java:991)
        at net.minecraft.server.World.cleanUp(World.java:968)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:374)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  7. Offline

    matejdro

    Error will be fixed in next release, together with improved tree detection. Thanks for the idea, Stym!
     
  8. Offline

    Phaedrus

    I'm trying to use MySQL, but when I set it to true, I get this error at startup:

    Code:
    2011-05-23 20:56:26 [SEVERE] java.sql.SQLException: invalid database address:
    2011-05-23 20:56:26 [SEVERE] 	at org.sqlite.JDBC.createConnection(JDBC.java:74)
    2011-05-23 20:56:26 [SEVERE] 	at org.sqlite.JDBC.connect(JDBC.java:64)
    2011-05-23 20:56:26 [SEVERE] 	at java.sql.DriverManager.getConnection(Unknown Source)
    2011-05-23 20:56:26 [SEVERE] 	at java.sql.DriverManager.getConnection(Unknown Source)
    2011-05-23 20:56:26 [SEVERE] 	at com.matejdro.bukkit.monsterhunt.InputOutput.createConnection(InputOutput.java:48)
    2011-05-23 20:56:26 [SEVERE] 	at com.matejdro.bukkit.monsterhunt.InputOutput.getConnection(InputOutput.java:35)
    2011-05-23 20:56:26 [SEVERE] 	at com.matejdro.bukkit.monsterhunt.InputOutput.PrepareDB(InputOutput.java:225)
    2011-05-23 20:56:26 [SEVERE] 	at com.matejdro.bukkit.monsterhunt.MonsterHunt.onEnable(MonsterHunt.java:47)
    2011-05-23 20:56:26 [SEVERE] 	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    2011-05-23 20:56:26 [SEVERE] 	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    2011-05-23 20:56:26 [SEVERE] 	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    2011-05-23 20:56:26 [SEVERE] 	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:132)
    2011-05-23 20:56:26 [SEVERE] 	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:110)
    2011-05-23 20:56:26 [SEVERE] 	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    2011-05-23 20:56:26 [SEVERE] 	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    2011-05-23 20:56:26 [SEVERE] 	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    2011-05-23 20:56:26 [SEVERE] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:265)
    2011-05-23 20:56:26 [SEVERE] 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-23 20:56:26 [SEVERE] Error occurred while enabling MonsterHunt v1.1.1 (Is it up to date?): null
    java.lang.NullPointerException
    	at com.matejdro.bukkit.monsterhunt.InputOutput.PrepareDB(InputOutput.java:226)
    	at com.matejdro.bukkit.monsterhunt.MonsterHunt.onEnable(MonsterHunt.java:47)
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:132)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:110)
    	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:265)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    and this is my config

    Code:
    Database:
        MySQLConn: jdbc:mysql://localhost:3306/monsterhunt
        UseMySQL: false
        MySQLPassword: blah
        MySQLUsername: blah
    All my other MySQL capable plugins are working fine. Any ideas?
     
  9. Offline

    andune

    I get the same error w/ MySQL. I just went with SQLLite since it seemed to work, but then I got the other NPE ENTITY_DAMAGE error, so I had to pull the plug. Author said update coming soon to fix the NPE, looking forward to that, my users really liked this mod for the 1 night it worked!
     
  10. Offline

    dougdashwitz

    im having a bit of a strange issue... and after reading a few posts here, (not all of them, there are 28 pages lol) i havent seem a similar one, so my turn to be a pain in the @$$

    Monsters seem to not spawn when a hunt is active... kind of defeats the point. lol. If a storm comes along, and monsters spawn during the day, and then someone sends /hunt, they can hunt whatever survived the day, but nothing new spawns. after people signing up for the hunt for a couple minecraft nights in a row, there are virtually no baddies on the server, with the exception of what spawns during weather events.

    monsters do however, spawn when no one registers for a hunt. after removing the plugin i have confirmed that spawning of monsters returns to its normal creepy self.

    not sure if this is a known issue or not, if anyone can help please let me know, THANKS!
     
  11. Offline

    DarkAge

    Just a request. If you can please add an option to limit the amount of times a person can get first place. Some players are complaining that the same guy keeps on winning and no one else gets a chance to get 1st place. So if there was a way to limit it to a 3 win streak then the person should not get the 1st place prize but rather the next in line for a round or two.

    Thanks in advance! :D
     
  12. Offline

    Shinfo

    Hmm, monster hunt, if using /time day during a hunt, causes my server to restart.
     
  13. Offline

    jbMurdock

    That doesn't really make sense to me. Is this one player just that good? Or does he exploit something? If you set the config file to allow hunting underground that player obviously goes down into a dungeon with some slimes. The slimes break into two smaller ones as you "kill" one big one! So it is easily possible to get a score of 100+ in 2 or 3 minutes!!!
     
  14. Offline

    andune

    Any update on when this release is coming? I know 1.6 just came out but as far as I can tell, most people are staying away right now 'cuz it's a buggy POS at the moment. Would be great to get this bug fixed in the mean time so I can turn this back on again on my server. Thanks!
     
  15. Offline

    NeO_Anderson

    Ok is it me or when the hunt finishes and shows the scores of top 3 players it only shows first player and everyone else is a "PlayerName3" and "PlayerName4" e.t.c ?
     
  16. Offline

    matejdro

    @dougdashwitz any errors? I do not cancel any spawn events, so it should not be problematic.

    @DarkAge whoa. Is he that good? I don't think protection like that would be very fair. You work hard so you are first couple of times and then your reward is that you are forbidden to participate next time.

    @morganm probably tonight or tommorow

    @NeO_Anderson :O Are you sure, they are not named like that?

    Also guys, i have some bad news. Wolves points will not work properly. Actually even current release have just dummy setting because player will always receive points from wolves kills. I cannot do much about that, It's bukkit bug (or rather, missing feature).
     
  17. Offline

    matejdro

    Updated

    Wolf kill sorting is implemented but, does not work due to bug in bukkit (or rather unimplemented feature).
     
  18. Offline

    DarkAge

    I had to disable the underground hunting because it kept on spamming "Stop grinding in caves" even though most of the time the person is outside without anything above them. I will see how it goes if I re-enable that feature. If this can't be fixed then can there be a "Mob grinding" if you are withing 15 blocks of a mob spawner or something.

    Just one tiny problem I have is the Admins. I don't want to ban them from playing the hunts but I also don't want them using god mode to get an unfair advantage. I talked to them but...who knows...they might be greedy :p
     
  19. Offline

    matejdro

    Do not give them permissions to use /hunt ?
     
  20. Offline

    DarkAge

    Well firstly the sign up is disabled. So every night mobs become points basically.

    And also as I mentioned earlier I do not want to stop them from being able to participate in the hunts.
     
  21. Offline

    ToastedJelly

    Will the new Version add the new options to the old yml or do i need to delete, recreate and then add my settings again?
     
  22. Offline

    matejdro

    Recreate.
     
  23. Offline

    Ratchet

    hello

    can you add an option to not give any points if the player kills monsters from a monster spawner?

    i'm not sure how you can do it, but I know that this plugin: http://forums.bukkit.org/threads/econ-ecocreature-0-0-5b-pvm-e-rewards-740.9061/ doesn't give money to players if they kill monsters from a spawner, so it must be possible to do the same for monster hunt?

    thanks
     
  24. Offline

    matejdro

    Turn on OnlyCountMobsSpawnedOutside
     
  25. Offline

    Ratchet

    I deleted my config and added my settings to a new one and now i'm getting this upon server start:​
    Code:
    2011-05-29 10:16:32 [SEVERE] Error occurred while enabling MonsterHunt v1.2.0 (Is it up to date?): null
    java.lang.NullPointerException
        at com.matejdro.bukkit.monsterhunt.InputOutput.LoadSettings(InputOutput.java:128)
        at com.matejdro.bukkit.monsterhunt.MonsterHunt.onEnable(MonsterHunt.java:48)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:132)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:110)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:265)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    this is my config:
    Code:
    SkipDays: 1
    Value:
        ZombiePigman:
            General: 5
            Arrow: 4
            Wolf: 5
            '283': 7
        Creeper:
            General: 5
            Arrow: 4
            Wolf: 5
            '283': 7
        Spider:
            General: 3
            Arrow: 2
            Wolf: 3
            '283': 5
        Player:
            General: 5
            Arrow: 4
            Wolf: 5
            '283': 7
        Giant:
            General: 5
            Arrow: 4
            Wolf: 5
            '283': 7
        ElectrifiedCreeper:
            General: 5
            Arrow: 4
            Wolf: 5
            '283': 7
        TamedWolf:
            General: 0
            Arrow: 0
            Wolf: 0
            '283': 0
        WildWolf:
            General: 3
            Arrow: 3
            Wolf: 3
            '283': 5
        Zombie:
            General: 2
            Arrow: 1
            Wolf: 2
            '283': 3
        Skeleton:
            General: 3
            Arrow: 2
            Wolf: 3
            '283': 5
        Slime:
            General: 10
            Arrow: 4
            Wolf: 7
            '283': 20
        Ghast:
            General: 5
            Arrow: 4
            Wolf: 5
            '283': 7
    MinimumPlayers: 2
    EnableSignup: true
    Database:
        MySQLConn: jdbc:mysql://localhost:3306/paradox
        UseMySQL: true
        MySQLPassword:
        MySQLUsername: paradox
    SkipToIfFailsToStart: -1
    Debug: false
    Rewards:
        RewardEveryone: true
        RewardParametersPlace2: 266 2,260 1-5
        RewardParametersPlace3: 297 1-5
        NumberOfWinners: 3
        RewardParametersPlace1: 266 3,354 1,322 3,264 1,357 1
        EnableRewardEveryonePermission: false
        RewardParametersEveryone: 264 1-1
        EnableReward: true
    CountBows: true
    DeathPenalty: 25
    EnabledWorlds: world
    SignUpPeriodTime: 5
    Messages:
        MessageHuntStatusNotInvolvedLastHunt: You were not involved in last hunt in this world
        MessageHuntStatusNotActive: Hunt is currently not active anywhere
        StartMessage: '&2Monster Hunt have started in world <World>! Go kill those damn
            mobs!'
        HighScoreMessage: 'You have reached a new high score: <Points> points!'
        MessageTooLateSignUp: Sorry, you are too late to sign up. More luck next time!
        MessageStartNotEnoughPlayers: 'Monster Hunt was about to start, but unfortunately
            there were not enough players signed up. '
        FinishMessageNotEnoughPoints: Sun is rising, so monster Hunt is finished in world <World>! Unfortunately nobody killed enough monsters, so there is no winner.
        MessageSignUpPeriod: Sharpen your swords, strengthen your armor and type /hunt, because Monster Hunt will begin in several mintues in world <World>!
        SignupAtHuntMessage: You have signed up for the hunt in in world <World>. Now hurry and kill some monsters!
        iConomyCurrencyName: iConomy coin
        SignupBeforeHuntMessage: You have signed up for the next hunt in world <World>!
        RewardMessage: Congratulations! You have received <Items>
        MessageHuntStatusCurrentScore: Your current score in this world's hunt is <Points> points! Keep it up!
        KillMessageArrow: You have got only <MobValue> points because you used bow when killing <MobName>. You have <Points> points so far. Keep it up!
        DeathMessage: You have died, so your Monster Hunt score is reduced by 25%. Be more careful next time!
        NoBowMessage: Your kill is not counted. Stop camping with your bow and get into the fight!
        MessageHuntStatusLastScore: Your last score in this world was <Points> points
        MessageHuntStatusTimeReamining: Keep up the killing! You have only <Timeleft>% of the night left in this world!
        FinishMessageNotEnoughPlayers: Sun is rising, so monster Hunt is finished in world <World>! Unfortunately there were not enough players participating, so there is no winner.
        KillMobSpawnedInsideMessage: Your kill was not counted. Stop grinding in caves and go outside!
        KillMessageWolf: You have got <MobValue> points because your wolf killed <MobName>. You have <Points> points so far. Keep it up!
        MessageHuntStatusHuntActive: Hunt is active in <Worlds>
        FinishMessageWinners: 'Sun is rising, so monster Hunt is finished in world <World>!
            Winners of the today''s match are: [NEWLINE] 1st place: <NamesPlace1> (<PointsPlace1>
            points) [NEWLINE] 2nd place: <NamesPlace2> (<PointsPlace2> points) [NEWLINE]
            3rd place: <NamesPlace3> (<PointsPlace3> points)'
        MessageLead: <Player> has just taken over lead with <Points> points!
        MessageHuntStatusNoKills: You haven't killed any mob in this world's hunt yet. Hurry up!
        KillMessageGeneral: You have got <MobValue> points from killing that <MobName>. You have <Points> points so far. Keep it up!
    StartChance: 100
    OnlyCountMobsSpawnedOutside: false
    TellTime: true
    EndTime: 23600
    MinimumPointsPlace2: 25
    EnableHighScores: true
    MinimumPointsPlace3: 20
    StartTime: 13000
    OnlyCountMobsSpawnedOutsideHeightLimit: 0
    MinimumPointsPlace1: 30
    AnnounceLead: true
    
     
  26. Offline

    NeO_Anderson

    Yes i'm sure they're named like that. It only lists the winner, everyone else (usually 2 other people) are not listed. It just lists "PlayerName<digithere>"
     
  27. Offline

    matejdro

  28. Offline

    Ratchet

    yes
     
  29. Offline

    matejdro

    Can you try deleting config and let it recreate itself without modifying?
     
  30. Offline

    Ratchet

    not right now cause I have players on, but after a restart there was some more error text that might be helpful finding the source(??):

    Code:
    2011-05-29 20:22:57 [SEVERE] java.sql.SQLException: No suitable driver found for
    2011-05-29 20:22:57 [SEVERE]     at java.sql.DriverManager.getConnection(Unknown Source)
    2011-05-29 20:22:57 [SEVERE]     at java.sql.DriverManager.getConnection(Unknown Source)
    2011-05-29 20:22:57 [SEVERE]     at com.matejdro.bukkit.monsterhunt.InputOutput.createConnection(InputOutput.java:48)
    2011-05-29 20:22:57 [SEVERE]     at com.matejdro.bukkit.monsterhunt.InputOutput.getConnection(InputOutput.java:35)
    2011-05-29 20:22:57 [SEVERE]     at com.matejdro.bukkit.monsterhunt.InputOutput.PrepareDB(InputOutput.java:221)
    2011-05-29 20:22:57 [SEVERE]     at com.matejdro.bukkit.monsterhunt.MonsterHunt.onEnable(MonsterHunt.java:49)
    2011-05-29 20:22:57 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    2011-05-29 20:22:57 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    2011-05-29 20:22:57 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    2011-05-29 20:22:57 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:132)
    2011-05-29 20:22:57 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:110)
    2011-05-29 20:22:57 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    2011-05-29 20:22:57 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    2011-05-29 20:22:57 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    2011-05-29 20:22:57 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:265)
    2011-05-29 20:22:57 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-29 20:22:57 [SEVERE] Error occurred while enabling MonsterHunt v1.2.0 (Is it up to date?): null
    java.lang.NullPointerException
        at com.matejdro.bukkit.monsterhunt.InputOutput.PrepareDB(InputOutput.java:222)
        at com.matejdro.bukkit.monsterhunt.MonsterHunt.onEnable(MonsterHunt.java:49)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:132)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:110)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:265)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  31. Offline

    Silarn

    Not knowing what other plugin might cause this, I am concerned that the update somehow broke the SkipToIfFailsToStart setting. The days in my survival worlds have started to last far too long. I set the default skip day setting to 0 to see what happens.

    Ratchet, you're either trying to use MySQL (which I think is still not working right) or you're missing the SQLite library linked in the OP.

    ---

    Either changing the default skip day setting to 0 or simply restarting the server seems to have fixed this. Still, I think you should look into it. Before this happened, I did a plugin reload or two, so it might be a shutdown or init problem.
     

Share This Page