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

    Treboran

    So the hunt happened, first night I didn't earn enough points, it stopped as normal, skipped the proper days. Next time it came up, I actually earned enough points and got this error in the log

    Code:
    2011-06-09 10:49:26 [INFO] [MonsterHunt][Debug]Messages.KillMessageArrow
    2011-06-09 10:49:28 [INFO] [MonsterHunt][Debug]richtermarc=127
    2011-06-09 10:49:28 [INFO] [MonsterHunt][Debug]133
    2011-06-09 10:49:28 [INFO] [MonsterHunt][Debug]false
    2011-06-09 10:49:28 [INFO] [MonsterHunt][Debug]Messages.KillMessageArrow
    2011-06-09 10:49:52 [INFO] [MonsterHunt][Debug]extendday: null
    2011-06-09 10:49:52 [INFO] [MonsterHunt][Debug][MonterHunt][DEBUG - NEVEREND]Stop Time
    2011-06-09 10:49:52 [INFO] [MonsterHunt][Debug]133
    2011-06-09 10:49:52 [INFO] [MonsterHunt][Debug]125
    2011-06-09 10:49:52 [INFO] [MonsterHunt][Debug]:10 264 2-3 :20 265 1-5 :20 266 1-5 :10 329 1 :10 357 1-5 :10 260 1-2 :20 354 1
    2011-06-09 10:49:52 [WARNING] Task of 'MonsterHunt' generated an exception
    java.lang.NumberFormatException: For input string: ""
            at java.lang.NumberFormatException.forInputString(Unknown Source)
            at java.lang.Integer.parseInt(Unknown Source)
            at java.lang.Integer.valueOf(Unknown Source)
            at com.matejdro.bukkit.monsterhunt.Rewards.Reward(Rewards.java:141)
            at com.matejdro.bukkit.monsterhunt.Rewards.NormalReward(Rewards.java:71)
            at com.matejdro.bukkit.monsterhunt.Rewards.Reward(Rewards.java:29)
            at com.matejdro.bukkit.monsterhunt.MonsterHunt.stop(MonsterHunt.java:149)
            at com.matejdro.bukkit.monsterhunt.MonsterHunt$1.run(MonsterHunt.java:232)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:138)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:388)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-09 10:50:51 [INFO] Connection reset
    2011-06-09 10:50:51 [INFO] richtermarc lost connection: disconnect.quitting
    2011-06-09 10:50:55 [INFO] Stopping the server..
    2011-06-09 10:50:55 [INFO] Stopping server
    2011-06-09 10:50:55 [INFO] Lockette: Closing all automatic doors.
    2011-06-09 10:50:55 [INFO] SimpleAlias: Aliases written to file.
    2011-06-09 10:50:55 [INFO] SimpleAlias: Plugin shutting down.
    2011-06-09 10:50:55 [INFO] Interesting Places v1.6 is disabled!
    2011-06-09 10:50:55 [INFO] ChatterCraft version 0.9.1 is disabled!
    2011-06-09 10:50:55 [INFO] [MonsterHunt][Debug]133
    2011-06-09 10:50:55 [SEVERE] [ChatterCraft] IOException in server thread: Socket closed
    2011-06-09 10:50:55 [INFO] [MonsterHunt][Debug]125
    2011-06-09 10:50:55 [INFO] [MonsterHunt][Debug][MonterHunt][DEBUG - NEVEREND]Broadcasting Winners
    2011-06-09 10:50:55 [INFO] [BananaChunk] version 4.6 is disabled!
    2011-06-09 10:50:55 [INFO] Saving chunks
    2011-06-09 10:50:55 [INFO] Saving chunks
    2011-06-09 10:50:55 [INFO] Stopping server
    2011-06-09 10:50:55 [INFO] Saving chunks
    2011-06-09 10:50:55 [INFO] Saving chunks
    
    
    So I'm wondering if maybe I've used bad syntaxt for my rewards. Here they are, extracted from my current config:

    Code:
    Rewards:
        RewardEveryone: false
        RewardParametersPlace2: :10 264 1-2 :40 265 1-4 :30 266 1-4 :20 354 1
        RewardParametersPlace3: :5 264 1 :50 265 1-3 :20 266 1-3 :25 354 1
        NumberOfWinners: 3
        RewardParametersPlace1: :10 264 2-3 :20 265 1-5 :20 266 1-5 :10 329 1 :10 357 1-5 :10 260 1-2 :20 354 1
        EnableRewardEveryonePermission: false
        RewardParametersEveryone: 264 1-1
        EnableReward: true
    
     
  3. Offline

    matejdro

    You must split multiple rewards by semicolon ( ; ), not space

     
  4. Offline

    Treboran

    D'oh! Slap me with a fish....will fix and test

    Well, that worked MUCH better with a properly formatted rewards section. Thanks!

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

    Ratchet

    hey matejdro

    I've had to disable monster hunt on my 40 player server because it seems that during the hunt, the game will lag out and become unplayable and need a restart. I removed the plugin, and it no longer happens, I re-added it as a test, and after a couple of hunts the server was unplayable. I hope you can fix this because my players love this plugin :(
     
  6. Offline

    RufiS

    Error upon server start.


    Code:
    2011-06-09 15:33:35 [SEVERE] java.sql.SQLException: invalid database address:
    
    2011-06-09 15:33:35 [SEVERE]     at org.sqlite.JDBC.createConnection(JDBC.java:74)
    
    2011-06-09 15:33:35 [SEVERE]     at org.sqlite.JDBC.connect(JDBC.java:64)
    
    2011-06-09 15:33:35 [SEVERE]     at java.sql.DriverManager.getConnection(DriverManager.java:627)
    
    2011-06-09 15:33:35 [SEVERE]     at java.sql.DriverManager.getConnection(DriverManager.java:203)
    
    2011-06-09 15:33:35 [SEVERE]     at com.matejdro.bukkit.monsterhunt.InputOutput.createConnection(InputOutput.java:48)
    
    2011-06-09 15:33:35 [SEVERE]     at com.matejdro.bukkit.monsterhunt.InputOutput.getConnection(InputOutput.java:35)
    
    2011-06-09 15:33:35 [SEVERE]     at com.matejdro.bukkit.monsterhunt.InputOutput.PrepareDB(InputOutput.java:221)
    
    2011-06-09 15:33:35 [SEVERE]     at com.matejdro.bukkit.monsterhunt.MonsterHunt.onEnable(MonsterHunt.java:50)
    
    2011-06-09 15:33:35 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    
    2011-06-09 15:33:35 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:792)
    
    2011-06-09 15:33:35 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    2011-06-09 15:33:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:140)
    
    2011-06-09 15:33:35 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:117)
    
    2011-06-09 15:33:35 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    
    2011-06-09 15:33:35 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    
    2011-06-09 15:33:35 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    
    2011-06-09 15:33:35 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    
    2011-06-09 15:33:35 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    2011-06-09 15:33:35 [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:792)
        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:117)
        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)
    

    MY MySql related global.txt settings

    Database:
    MySQLConn: jdbc:mysql://localhost:3308/minecraft
    UseMySQL: true
    MySQLPassword: MySQLPassword
    MySQLUsername: minecraft


    I've got MySql working with other plugins, BigBrother, iConomy, mcMMO
    database name is minecraft

    I have mysql-connector-java-bin.jar in the minecraft/lib folder and in the minecraft folder.

    Ideas anyone?

    I'm new to MySql as well.
     
  7. Offline

    andrewkm

    @matejdro
    Is it normal for this plugin to super spam the cant keep up message? I guess it uses alot of resources under load.... as soon as hunt finishes the messages go away.
    -
    The plugin is going very well, not noticing too much lag when 30-40 are hunting, but the message spam is insane.
     
  8. Offline

    andrewkm

    Hey guys! :)
    Just stopping by to let you know this is working good (Monster Hunt 1.20) on my CB #860!
    Keep up the great work! Much thanks for this plugin.
    The only problem is still the following errors on wolf kill during a monstser hunt:
    -
    Code:
    2011-06-11 10:05:12 [SEVERE] Could not pass event ENTITY_DEATH to MonsterHunt
    java.lang.NullPointerException
     at com.matejdro.bukkit.monsterhunt.Settings.getMonsterValue(Settings.java:92)
     at com.matejdro.bukkit.monsterhunt.MonsterHuntEntity.kill(MonsterHuntEntity.java:213)
     at com.matejdro.bukkit.monsterhunt.MonsterHuntEntity.onEntityDeath(MonsterHuntEntity.java:135)
     at org.bukkit.plugin.java.JavaPluginLoader$52.execute(JavaPluginLoader.java:605)
     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
     at net.minecraft.server.EntityLiving.r(EntityLiving.java:470)
     at net.minecraft.server.EntityLiving.a(EntityLiving.java:449)
     at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:393)
     at net.minecraft.server.EntityWolf.damageEntity(EntityWolf.java:231)
     at net.minecraft.server.EntityHuman.d(EntityHuman.java:542)
     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:861)
     at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
     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:399)
     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    -
    config:
    -
    Code:
    SkipDays: 0
    Value:
        ZombiePigman:
            General: 0
            Arrow: 0
            Wolf: 0
        Creeper:
            General: 0
            Arrow: 0
            Wolf: 0
        Spider:
            General: 5
            Arrow: 3
            Wolf: 0
        Player:
            General: 0
            Arrow: 0
            Wolf: 0
        Giant:
            General: 0
            Arrow: 0
            Wolf: 0
        ElectrifiedCreeper:
            General: 0
            Arrow: 0
            Wolf: 0
        TamedWolf:
            General: 0
            Arrow: 0
            Wolf: 0
        WildWolf:
            General: 0
            Arrow: 0
            Wolf: 0
        Zombie:
            General: 3
            Arrow: 2
            Wolf: 0
        Skeleton:
            General: 7
            Arrow: 4
            Wolf: 0
        Slime:
            General: 0
            Arrow: 0
            Wolf: 0
        Ghast:
            General: 0
            Arrow: 0
            Wolf: 0       
    MinimumPlayers: 5
    EnableSignup: true
    Database:
        MySQLConn: jdbc:mysql://localhost:3306/monsterhunt
        UseMySQL: false
        MySQLPassword: mka211mysqmicr
        MySQLUsername: minecraft
    SkipToIfFailsToStart: 0
    Debug: false
    Rewards:
        RewardEveryone: false
        RewardParametersPlace2: 264 3
        RewardParametersPlace3: 264 1
        NumberOfWinners: 3
        RewardParametersPlace1: 264 5
        EnableRewardEveryonePermission: false
        RewardParametersEveryone:
        EnableReward: true
    CountBows: true
    DeathPenalty: 10
    EnabledWorlds: worldeco
    SignUpPeriodTime: 2
    Messages:
        MessageHuntStatusNotInvolvedLastHunt: You were not involved in the last hunt
        MessageHuntStatusNotActive: Hunt is currently not active
        StartMessage: '&2Monster Hunt has started! Kill mobs for points!'
        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 did not start tonight because not enough users entered. Switching back to day time for the builders. Enjoy!'
        FinishMessageNotEnoughPoints: Sun is rising, so monster Hunt is finished! Unfortunately nobody killed enough monsters, so there is no winner.
        MessageSignUpPeriod: 'Monster hunt will start in 2 minutes! To kill monsters for rewards type /hunt to sign up! If 5 or more users do not sign up day time will resume!'
        SignupAtHuntMessage: You have signed up for the Monster Hunt. Now hurry and kill some monsters!
        iConomyCurrencyName: iConomy coin
        SignupBeforeHuntMessage: You have signed up for the next Monster Hunt!
        RewardMessage: Congratulations! You have received <Items>
        MessageHuntStatusCurrentScore: Your current score in the 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 10%. 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 the hunt was <Points> points
        MessageHuntStatusTimeReamining: Keep up the killing! You have only <Timeleft>% of the night left in the hunt!
        FinishMessageNotEnoughPlayers: Sun is rising, so monster Hunt is finished! 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: Monster Hunt is active
        FinishMessageWinners: 'Sun is rising, so monster Hunt is finished!
            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 the 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: 1
    EnableHighScores: true
    MinimumPointsPlace3: 1
    StartTime: 13000
    OnlyCountMobsSpawnedOutsideHeightLimit: 10
    MinimumPointsPlace1: 1
    AnnounceLead: true
     
  9. Offline

    Ratchet

    I had to disable it because it laggs out my server during the hunt :(
     
  10. Offline

    matejdro

    I will check out lag issues.
     
  11. Offline

    Ratchet

    great. hope it's not too hard to sort out. players really miss this plugin.
     
  12. Offline

    Fredrikocrafter

    I installed the plug in and it says that monster hunt is about to start but when you type /hunt nothing happens and then later it says that there weren't enough players signed up. Please help
     
  13. Offline

    Treboran

    There's a setting in the global config file for minimum number of players.
     
  14. Offline

    Fredrikocrafter

    But shouldnt it say that I have signed up for hunt? It doesn't say unknown command it just disappears.
     
  15. Offline

    Treboran

    After you sign up for the hunt, try typing /huntstatus and see what it says.
     
  16. Offline

    ToastedJelly

    It should as far as I remember... what does /huntstatus say?
     
  17. Offline

    Fredrikocrafter

    Nothing happens there aswell :(
     
  18. Offline

    Vinsssounet

    Hello hello everyone.

    I just updated our MonsterHunt plugin to the latest version.

    Unfortunately I'm not able to make this version work through the all process.

    If no one signs up, it all goes fine ; Hunt is announced, and we get called cowards for not hunting day after day.

    If we get hunting, the Hunt goes fine ; we have scores, messages, /huntstatus working... and it just never stops. The Hunt continues after dawn, through the day, and for eternity.
    /huntstatus says stuff like "Quick ! You only have 276% of the night left !"

    I got this error in the log :

    Code:
     [WARNING] Task of 'MonsterHunt' generated an exception
    java.lang.NumberFormatException: For input string: ""
        at java.lang.NumberFormatException.forInputString(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at java.lang.Integer.valueOf(Unknown Source)
        at com.matejdro.bukkit.monsterhunt.Rewards.Reward(Rewards.java:146)
        at com.matejdro.bukkit.monsterhunt.Rewards.NormalReward(Rewards.java:71)
        at com.matejdro.bukkit.monsterhunt.Rewards.Reward(Rewards.java:29)
        at com.matejdro.bukkit.monsterhunt.MonsterHunt.stop(MonsterHunt.java:149)
        at com.matejdro.bukkit.monsterhunt.MonsterHunt$1.run(MonsterHunt.java:232)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:138)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:386)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Here's what my global.txt looks like :

    Code:
    SkipDays: 0
    Value:
        ZombiePigman:
            General: 5
            Arrow: 4
            Wolf: 3
            '283': 5
        Creeper:
            General: 7
            Arrow: 5
            Wolf: 4
            '283': 7
        Spider:
            General: 4
            Arrow: 3
            Wolf: 2
            '283': 4
        Player:
            General: 0
            Arrow: 0
            Wolf: 0
            '283': 0
        Giant:
            General: 10
            Arrow: 4
            Wolf: 7
            '283': 20
        ElectrifiedCreeper:
            General: 10
            Arrow: 8
            Wolf: 6
            '283': 10
        TamedWolf:
            General: 0
            Arrow: 0
            Wolf: 0
            '283': 0
        WildWolf:
            General: 10
            Arrow: 8
            Wolf: 6
            '283': 10
        Zombie:
            General: 4
            Arrow: 3
            Wolf: 2
            '283': 4
        Skeleton:
            General: 4
            Arrow: 3
            Wolf: 2
            '283': 4
        Slime:
            General: 3
            Arrow: 2
            Wolf: 1
            '283': 3
        Ghast:
            General: 15
            Arrow: 10
            Wolf: 7
            '283': 15
    MinimumPlayers: 2
    EnableSignup: true
    Database:
        MySQLConn: jdbc:mysql://localhost:3306/minecraft
        UseMySQL: false
        MySQLPassword: password
        MySQLUsername: root
    SkipToIfFailsToStart: -1
    Debug: false
    Rewards:
        RewardEveryone: false
        RewardParametersPlace2: 341 R0.8, 266 2-3, 264 1, 276 1, 262 10-20
        RewardParametersPlace3: 341 R0.5, 266 1-2, 262 5-10
        NumberOfWinners: 3
        RewardParametersPlace1: :50 341 R1, 266 3-6, 262 20-40;:30 341 R1, 266 3-6, 262 20-40, 264 1;:10 341 R1, 266 3-6, 262 20-40,322 1;:10 341 R1, 266 3-6, 262 20-40,276 1
        EnableRewardEveryonePermission: false
        RewardParametersEveryone: 264 1-1
        EnableReward: true
    CountBows: true
    DeathPenalty: 30
    EnabledWorlds: world
    SignUpPeriodTime: 2
    Messages:
        MessageHuntStatusNotInvolvedLastHunt: You were not involved in last hunt in this world
        MessageHuntStatusNotActive: Hunt is currently not active anywhere
        StartMessage: '&2Monster Hunt have started ! Go kill ! Kill !! KILL !!!'
        HighScoreMessage: 'You have reached a new high score: <Points> points ! Not bad.'
        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 Attractive People signed up. '
        FinishMessageNotEnoughPoints: Sun is rising, so monster Hunt is finished ! Unfortunately nobody killed enough monsters, so there is no winner, but many losers.
        MessageSignUpPeriod: Start working your attractiveness and type /hunt, because Monster Hunt will begin in several minutes ! The coolest of all hunters shall win many rewards.
        SignupAtHuntMessage: You have signed up for the hunt. Now hurry and kill some monsters !
        iConomyCurrencyName: iConomy coin
        SignupBeforeHuntMessage: You have signed up for the next hunt !
        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 30%. Be less weak next time !
        NoBowMessage: Your kill is not counted. Stop camping with your bow and get into the fight!
        MessageHuntStatusLastScore: Your last score was <Points> points
        MessageHuntStatusTimeReamining: Keep up the killing spree ! You have only <Timeleft>% of the night left !
        FinishMessageNotEnoughPlayers: Sun is rising, so monster Hunt is finished ! 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 little puppy 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 !
            Winners of the today''s match are: [NEWLINE] 1st Attractive place: <NamesPlace1> (<PointsPlace1>
            points) [NEWLINE] 2nd not bad place: <NamesPlace2> (<PointsPlace2> points) [NEWLINE]
            3rd almost cool place: <NamesPlace3> (<PointsPlace3> points)'
        MessageLead: <Player> has just taken over lead with <Points> points ! So SEXY !
        MessageHuntStatusNoKills: You haven't killed any mob in this 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: 30
    EnableHighScores: true
    MinimumPointsPlace3: 30
    StartTime: 13000
    OnlyCountMobsSpawnedOutsideHeightLimit: 0
    MinimumPointsPlace1: 30
    AnnounceLead: true
    
    The server runs on the latest CraftBukkit recommanded (860). MonsterHunt is v1.2.0

    Thanks for your help !
     
  19. Offline

    Treboran

    Vin, that happened to me when I had a badly formatted reward section. (exact same behavior, a crash message like you posted and the hunt never stopped) In my case, I separated multiple different rewards with a space instead of a semicolon. Looking at your config, nothing jumps out at me...but did you change the reward section at all?
     
  20. Offline

    Vinsssounet

    Yeah, I read your issue that's exactly the same indeed !

    I found I forgot spaces at some place in the reward parameters. Did not solve it. I made it without percentage ; did not work either. Can't find what I did wrong !

    This is how my code look actually :

    Code:
    Rewards:
        RewardEveryone: false
        RewardParametersPlace2: 341 R1, 266 2-3, 264 1, 276 1, 262 10-20
        RewardParametersPlace3: 341 R1, 266 1-2, 262 5-10
        NumberOfWinners: 3
        RewardParametersPlace1: 341 R1, 266 3-6, 262 20-40;341 R1, 266 3-6, 262 20-40, 264 1;341 R1, 266 3-6, 262 20-40, 322 1;341 R1, 266 3-6, 262 20-40, 276 1
        EnableRewardEveryonePermission: false
        RewardParametersEveryone: 264 1-1
        EnableReward: true
     
  21. Offline

    ToastedJelly

    Had never ending hunts even with the default rewards. It seems the first hunt after a restart/reload usually ends, but later hunts may not.
    Also "/huntstop world" throws exceptions.
     
  22. Offline

    Vinsssounet

    That's definitely a reward parameter error, as I tried it with very simple rewards and it works fine. I really can't find my mistake, it seems to fit all I've read about this =(

    Anyone to correct me ? =D
     
  23. Offline

    TheTennessee

    Ok, I have been unable to get this mod to actually trigger a single hunt since I installed it a few weeks ago. I finally set it to minimum 1 players, and tested over a few days... then set it to 100% for the chance to start. I still can't get a hunt to trigger.

    So... I am imploring the rest of you, why can't I get my monster hunt to trigger? I can do it manually, but they never start automatically.

    I am using 1.2.0, no errors in the console at all, and here is my config file:
    Code:
    SkipDays: 0
    Value:
        ZombiePigman:
            General: 5
            Arrow: 5
            Wolf: 5
        Creeper:
            General: 10
            Arrow: 10
            Wolf: 10
        Spider:
            General: 2
            Arrow: 2
            Wolf: 2
        Player:
            General: 0
            Arrow: 0
            Wolf: 0
        Giant:
            General: 20
            Arrow: 20
            Wolf: 20
        ElectrifiedCreeper:
            General: 20
            Arrow: 20
            Wolf: 20
        TamedWolf:
            General: 0
            Arrow: 0
            Wolf: 0
        WildWolf:
            General: 1
            Arrow: 1
            Wolf: 1
        Zombie:
            General: 1
            Arrow: 1
            Wolf: 1
        Skeleton:
            General: 1
            Arrow: 1
            Wolf: 1
        Slime:
            General: 2
            Arrow: 2
            Wolf: 2
        Ghast:
            General: 15
            Arrow: 15
            Wolf: 15
    MinimumPlayers: 1
    EnableSignup: true
    Database:
        MySQLConn: jdbc:mysql://localhost:3306/minecraft
        UseMySQL: false
        MySQLPassword: password
        MySQLUsername: root
    SkipToIfFailsToStart: -1
    Debug: false
    Rewards:
        RewardEveryone: false
        RewardParametersPlace2: 266 5
        RewardParametersPlace3: 265 10
        NumberOfWinners: 3
        RewardParametersPlace1: 264 3
        EnableRewardEveryonePermission: false
        RewardParametersEveryone: 264 1-1
        EnableReward: true
    CountBows: true
    DeathPenalty: 20
    EnabledWorlds: Multiplayer_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 has started! Go kill those damn mobs!'
        HighScoreMessage: 'New high score: <Points> points!'
        MessageTooLateSignUp: Sorry, you are too late to sign up.'
        MessageStartNotEnoughPlayers: 'Not enough players signed up to start.'
        FinishMessageNotEnoughPoints: 'Nobody killed enough monsters, so there is no winner.'
        MessageSignUpPeriod: 'A monster hunt is about to begin, type /hunt to join in.'
        SignupAtHuntMessage: 'You are now signed up for the hunt.'
        iConomyCurrencyName: iConomy coin
        SignupBeforeHuntMessage: 'You have signed up for the next hunt.'
        RewardMessage: 'Congratulations! You have received <Items>'
        MessageHuntStatusCurrentScore: 'Current Score: <Points>'
        KillMessageArrow: '<MobName>:<MobValue> points. Current Score: <Points>'
        DeathMessage: You have died, so your Monster Hunt score is reduced by 30%. 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! 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: '<MobName>:<MobValue> points. Current Score: <Points>'
        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: '<MobName>:<MobValue> points. Current Score: <Points>'
    StartChance: 100%
    OnlyCountMobsSpawnedOutside: true
    TellTime: true
    EndTime: 23600
    MinimumPointsPlace2: 25
    EnableHighScores: true
    MinimumPointsPlace3: 10
    StartTime: 13000
    OnlyCountMobsSpawnedOutsideHeightLimit: 0
    MinimumPointsPlace1: 40
    AnnounceLead: true
    
    P.S. I can start hunts manually, but no one can sign up for them.
     
  24. Offline

    Treboran

    Tenn,

    Don't use the % sign in your config. Just put the number 100
     
  25. Offline

    TheTennessee

    Thank you. I feel like a dope, but at least that's solved. I tested it, and we got a hunt going.
     
  26. Offline

    Treboran

    Please. I completely missed the part in the reward statements where you need to use semi-colons. I'm a Linux guy for a living and should be used to syntax. :'(
     
  27. Offline

    flozza83

    Hi ToastedJelly

    Does the plugin dont work yet for CB860 ?

    I use it and got this error:

    Thanks for your answer
     
  28. Offline

    Vinsssounet

    I can only tell you it works with CB860 ; I use it.

    Can't help you with your error though.
     
  29. Offline

    andune

    MonsterHunt 1.2.0, CB#860, crash report: http://pastebin.com/Lt263HZy

    (seems to be mostly stable, but it did crash on this exception today)
     
  30. Offline

    TheTennessee

    Yep, everything is working fine now, except for one small problem.

    I added giants into the game with the NaturalGiants plugin, but despite that, players are getting no score for killing giants.
     
  31. Offline

    Fredrikocrafter

    Can anyone help me with getting this to work for me? I can see the message that the hunt is about to start but when you type /hunt nothing happens. Does this plug in use permission because I have it installed but I don't know how it works with nodes and everything. You are supposed to write the nodes in the config right? But I don't have a config file, does permission and this plug in work with mac?
     

Share This Page