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

    Cronus3166

    So I really like this mod and I've been enjoying it since I installed it on our sever. The only issue I have is we only have about 4-5 players (Just some friends)

    So I was curious if in the future there might be an option to give prizes out if only one player did the hunt and then have a different set if more than one player went hunting.

    This way if just one person is on and they feel like going out and killing mobs, they can see if they can beat their high score. Then later when the group of us comes on, the prizes could be better!
     
  3. Offline

    Ratchet

    any luck figuring out the lag issue when the hunt is running?
     
  4. Offline

    matejdro

    Is anybody still using ExtendDay? This plugin have been inactive for a long time, so I'm planning to remove support for it.

    I'm planning on quite big update (reorganizing everything like i did with Jail) and i want to get rid of as much stuff as possible to make code clean.

    And based on the notch new post, i will also have to make big update when 1.8 comes out :p
     
  5. Offline

    OutLawGam3r

    does it work for 935?
     
  6. Offline

    matejdro

    It should
     
  7. Offline

    Treboran

    Monsterhunt on my 935 server works perfectly.
     
  8. Offline

    andrewkm

    @matejdro
    I have minimum hunt participants set to 5. However no one rly wants to hunt and when it DOES start here is the problem. People suddenly want to participate... because.... well what else is there to do at night.
    -
    Wondering if its possible to let people sign up for /hunt AFTER it starts, because honestly thats the only time interest in it really starts, and then everyone is extremely confused why they arent awarded.
    -
    I have about 30-50 average online, and this is just how things work on the server. No one wants to hunt, people dont like it, *But some do* thus the reason its on the server. When the 5 required actually do signup however, suddenly everyone wants to participate lol, any ideas how to do this.
    -
    maybe a config option, enable-signup-after-start,
    And maybe
    message-after-start: Monster hunt has started! If youd like to participate and havent yet signed up you MUST type /hunt to recieve points!
    -
    Please think this through if its a request, if not let me know how to do it, i must be blind if its in there somewhere lol, sry.
    -
    ps: i know this is possible with no signup enabled, thus everyone participates, but we require the signup, as many times the server just skips night for like 10-12 times, and then when the time comes everyone wants to hunt, its an option and they reach the 5 users that are needed. What im saying is, i dont want to disable signup, but also want everyone to have a chance if it actually does start.
     
  9. Offline

    Ratchet

    bump ;-;
     
  10. Offline

    matejdro

    @andrewkm alright, will be added.

    @Ratchet new version will use different system for killer detection and hopefully reduce the lag.
     
    andrewkm likes this.
  11. Offline

    Ratchet

    ok cool! looking forward to it :)
     
  12. Offline

    andrewkm

    :D
     
  13. Offline

    matejdro

    Good to hear that. thanks for the report.
     
  14. Offline

    Volander

  15. Offline

    ray0911

    Plugin does not give rewards anymore when someone wins in 953
     
  16. Offline

    Squirrelboy1225

    How do I disable the sign-up? (Sorry if this has already been asked!)
     
  17. Offline

    matejdro

    @Volander MySQL has been broken for a long time. I'm surprised it worked until now.

    @ray0911 do you have rewards enabled in config? Any errors?

    @Squirrelboy1225 in config?
     
  18. Offline

    Squirrelboy1225

    Yes, but where in config??

    nvm!

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

    ray0911

    bukkit 935

    Players in the multi-verus world called "monsterhunt" is only getting iron ingots. Even the 1st place winner.

    BattleWorld.txt
    Code:
    SkipDays: 0
    Value:
    ZombiePigman:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    Creeper:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    Spider:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    Player:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 30
    Giant:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    ElectrifiedCreeper:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    TamedWolf:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    WildWolf:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    Zombie:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    Skeleton:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    Slime:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    Ghast:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    MinimumPlayers: 2
    EnableSignup: true
    Database:
    MySQLConn: jdbc:mysql://localhost:3306/minecraft
    UseMySQL: false
    MySQLPassword: password
    MySQLUsername: root
    SkipToIfFailsToStart: -1
    Debug: false
    Rewards:
    RewardEveryone: true
    RewardParametersPlace2: 265 2-3
    RewardParametersPlace3: 265 1-1
    NumberOfWinners: 3
    RewardParametersPlace1: 2256 1-1,2257 1-1,347 1-1,322 1-10,320 5-20,276 1-2,264 10-20,52 1-1,18 10-64
    EnableRewardEveryonePermission: false
    RewardParametersEveryone: 265 1-1
    EnableReward: true
    CountBows: true
    DeathPenalty: 30
    EnabledWorlds: BattleWorld
    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 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 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: true
    TellTime: true
    EndTime: 23600
    MinimumPointsPlace2: 10
    EnableHighScores: true
    MinimumPointsPlace3: 10
    StartTime: 13000
    OnlyCountMobsSpawnedOutsideHeightLimit: 0
    MinimumPointsPlace1: 10
    AnnounceLead: true
    
    global.txt
    Code:
    SkipDays: 0
    Value:
    ZombiePigman:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    Creeper:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    Spider:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    Player:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    Giant:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    ElectrifiedCreeper:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    TamedWolf:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    WildWolf:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    Zombie:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    Skeleton:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    Slime:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    Ghast:
    General: 10
    Arrow: 4
    Wolf: 7
    '283': 20
    MinimumPlayers: 2
    EnableSignup: true
    Database:
    MySQLConn: jdbc:mysql://localhost:3306/minecraft
    UseMySQL: false
    MySQLPassword: password
    MySQLUsername: root
    SkipToIfFailsToStart: -1
    Debug: false
    Rewards:
    RewardEveryone: true
    RewardParametersPlace2: 265 10-15
    RewardParametersPlace3: 265 5-10
    NumberOfWinners: 3
    RewardParametersPlace1: 347 1-1,322 1-20,320 5-20,276 1-2,264 1-10,18 10-20
    EnableRewardEveryonePermission: false
    RewardParametersEveryone: 265 1-5
    CountBows: true
    DeathPenalty: 30
    EnabledWorlds: monsterhunt,BattleWorld
    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 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 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: 1
    EnableHighScores: true
    MinimumPointsPlace3: 1
    StartTime: 13000
    OnlyCountMobsSpawnedOutsideHeightLimit: 0
    MinimumPointsPlace1: 1
    AnnounceLead: true
    
    monsterhunt.txt
    Code:
    SkipDays: 0
    Value:
        ZombiePigman:
            General: 10
            Arrow: 4
            Wolf: 7
            '283': 20
        Creeper:
            General: 10
            Arrow: 4
            Wolf: 7
            '283': 20
        Spider:
            General: 10
            Arrow: 4
            Wolf: 7
            '283': 20
        Player:
            General: 10
            Arrow: 4
            Wolf: 7
            '283': 30
        Giant:
            General: 10
            Arrow: 4
            Wolf: 7
            '283': 20
        ElectrifiedCreeper:
            General: 10
            Arrow: 4
            Wolf: 7
            '283': 20
        TamedWolf:
            General: 10
            Arrow: 4
            Wolf: 7
            '283': 20
        WildWolf:
            General: 10
            Arrow: 4
            Wolf: 7
            '283': 20
        Zombie:
            General: 10
            Arrow: 4
            Wolf: 7
            '283': 20
        Skeleton:
            General: 10
            Arrow: 4
            Wolf: 7
            '283': 20
        Slime:
            General: 10
            Arrow: 4
            Wolf: 7
            '283': 20
        Ghast:
            General: 10
            Arrow: 4
            Wolf: 7
            '283': 20
    MinimumPlayers: 2
    EnableSignup: true
    Database:
        MySQLConn: jdbc:mysql://localhost:3306/minecraft
        UseMySQL: false
        MySQLPassword: password
        MySQLUsername: root
    SkipToIfFailsToStart: -1
    Debug: false
    Rewards:
        RewardEveryone: true
        RewardParametersPlace2: 265 10-15
        RewardParametersPlace3: 265 5-10
        NumberOfWinners: 3
        RewardParametersPlace1: 347 1-1,322 1-20,320 5-20,276 1-2,264 1-10,18 10-20
        EnableRewardEveryonePermission: false
        RewardParametersEveryone: 265 1-5
        EnableReward: true
    CountBows: true
    DeathPenalty: 30
    EnabledWorlds: monsterhunt
    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 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 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: 10
    EnableHighScores: true
    MinimumPointsPlace3: 10
    StartTime: 13000
    OnlyCountMobsSpawnedOutsideHeightLimit: 0
    MinimumPointsPlace1: 10
    AnnounceLead: true
    
     
  20. Offline

    emcitement

    this looks great. server events are a big part of my server.
    this should make a nice one.
    i'll try it out.
     
  21. Offline

    matejdro

    @ray0911 per-world config must have yml extension, not txt (BattleWorld.yml instead of BattleWorld.txt, same for monsterhunt).
     
  22. Offline

    ray0911

    ty.. what a fail on my part.
     
  23. Offline

    matejdro

    Updated

     
  24. Offline

    Swippen

    This plugin sounds really great!
    But I tried installing it today and set using MySQL and got the following message:
    Code:
    2011-07-07 09:56:46 [SEVERE] [MonsterHunt]: Error while creating tables! - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"monsterhunt_highscores" ("name" VARCHAR PRIMARY KEY  NOT NULL , "highscore" INT' at line 1
    Do you have a sql script for manual creation?

    I found the string in the java file and created the table manually but still get the same error , guess it runs that create string every time it starts up.
    I also later after init get this error:
    Code:
    10:34:50 [WARNING] Task of 'MonsterHunt' generated an exception
    java.lang.ClassCastException: java.util.HashMap$Values cannot be cast to java.ut
    il.List
            at com.matejdro.bukkit.monsterhunt.HuntWorldManager.getWorlds(HuntWorldM
    anager.java:29)
            at com.matejdro.bukkit.monsterhunt.HuntWorldManager$1.run(HuntWorldManag
    er.java:37)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C
    raftScheduler.java:137)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            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 7, 2016
  25. Offline

    Ratchet

    Code:
    2011-07-07 04:35:55 [WARNING] Task of 'MonsterHunt' generated an exception
    java.lang.ClassCastException: java.util.HashMap$Values cannot be cast to java.util.List
        at com.matejdro.bukkit.monsterhunt.HuntWorldManager.getWorlds(HuntWorldManager.java:29)
        at com.matejdro.bukkit.monsterhunt.HuntWorldManager$1.run(HuntWorldManager.java:37)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-07 04:35:55 [INFO] <*Console*>: Server is restarting. World is being saved.
    Code:
    2011-07-07 04:35:59 [SEVERE] Error occurred while disabling MonsterHunt v1.3.0 (Is it up to date?): java.util.HashMap$Values cannot be cast to java.util.List
    java.lang.ClassCastException: java.util.HashMap$Values cannot be cast to java.util.List
        at com.matejdro.bukkit.monsterhunt.HuntWorldManager.getWorlds(HuntWorldManager.java:29)
        at com.matejdro.bukkit.monsterhunt.MonsterHunt.onDisable(MonsterHunt.java:43)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:128)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:885)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:280)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:273)
        at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:146)
        at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:312)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:391)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  26. Offline

    matejdro

    Can you try redownloading? I have uploaded fixed version.
     
  27. Offline

    Yudaz

    Is it possible to give out money as price instead of diamonds??????????
     
  28. Offline

    matejdro

  29. Offline

    Yudaz

    @matejdro : How?
     
  30. Offline

    matejdro

    check rewards parameters wiki page.
     
  31. Offline

    Yudaz

    @matejdro : And where is this page??? Cant find it in here....
     

Share This Page