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

    ytcreepersden

    How can I fix a problem with the plugin without installing permissions? The /hunt command defaults to Op only and I'd like my players to enter the hunts ><
     
  3. Offline

    topcrime`

    i already install this plugin but for some reason after i sign up for the hunt i get no points? Why?

    Code:
    SkipDays: 0
    EnableSignup: true
    MinimumPlayers: 1
    Database:
        MySQLConn: jdbc:mysql://localhost:3306/minecraft
        UseMySQL: false
        MySQLPassword: password
        MySQLUsername: root
    AllowSignUpAfterHuntStart: false
    CountBows: true
    EnabledWorlds: Flat map
    DeathPenalty: 10
    OnlyCountMobsSpawnedOutside: true
    EnableHighScores: true
    StartTime: 13000
    OnlyCountMobsSpawnedOutsideHeightLimit: 0
    AnnounceLead: true
    SelectionTool: 268
    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: 0
            Arrow: 0
            Wolf: 0
            '283': 0
        WildWolf:
            General: 0
            Arrow: 0
            Wolf: 0
            '283': 0
        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
    SkipToIfFailsToStart: -1
    Debug: false
    Rewards:
        RewardEveryone: true
        RewardParametersPlace2: 264 3
        RewardParametersPlace3: 264 2
        NumberOfWinners: 3
        RewardParametersPlace1: 264 5
        EnableRewardEveryonePermission: false
        RewardParametersEveryone: 3 1-1
        EnableReward: true
    HuntZoneMode: true
    HuntZone:
        SecondCorner: 0,0,0
        FirstCorner: 0,0,0
        World: Flat map
        TeleportLocation: 0,0,0
    Messages:
        MessageAlreadySignedUp: You are already signed up!
        MessageHuntStatusNotInvolvedLastHunt: You were not involved in last hunt in this world
        MessageHuntTeleNoHunt: You cannot teleport to hunt zone when there is no hunt!
        MessageHuntStatusNotActive: Hunt is currently not active anywhere
        MessageTooLateSignUp: Sorry, you are too late to sign up. More luck next time!
        StartMessage: '&2Monster Hunt have started in world <World>! Go kill those damn
            mobs!'
        HighScoreMessage: 'You have reached a new high score: <Points> points!'
        MessageStartNotEnoughPlayers: 'Monster Hunt was about to start, but unfortunately
            there were not enough players signed up. '
        MessageSignUpPeriod: Sharpen your swords, strengthen your armor and type /hunt, because Monster Hunt will begin in several mintues in world <World>!
        FinishMessageNotEnoughPoints: Sun is rising, so monster Hunt is finished in world <World>! Unfortunately nobody killed enough monsters, so there is no winner.
        SignupAtHuntMessage: You have signed up for the hunt in in world <World>. Now hurry and kill some monsters!
        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!
        MessageHuntTeleNotSignedUp: You cannot teleport to hunt zone if you are not signed up to the hunt!
        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!
    SignUpPeriodTime: 5
    StartChance: 100
    TellTime: true
    EndTime: 23600
    MinimumPointsPlace2: 1
    MinimumPointsPlace3: 1
    MinimumPointsPlace1: 1
     
  4. Offline

    matejdro

  5. Offline

    topcrime`

    @matejdro it does start but for some reason when i kill a monster i don't get points? Any solution?
     
  6. Offline

    matejdro

    is hunt started in same world than you are in?
     
  7. Offline

    Imm0rt41

    youve probably already been told this, but you should add iconomy support for this
     
  8. Offline

    matejdro

    there is iConomy support.
     
  9. Offline

    Malific

    when a hunt ends I'm getting the invalid rewards configuration, sum of all percentages should be 100... but that area, by my math anyway, can some one look at this and tell me if I coded it wrong?
    Code:
        RewardEveryone: true
        RewardParametersPlace1: 256 R0.01,0 R3,:50 265 10;:50 86 1,:10 30 10;:5 84 1,2256 1;:5 84 1,2257 1;:1 52 1;:1 302 1,303 1,304 1,305 1;:5 57 1;:10 79 10;:3 310 1,311 1,312 1,313 1;:10 276 1,277 1,278 1,279 1,293 1;:50 341 5
        RewardParametersPlace2: 256 R0.007,0 R2,:50 265 10;:50 86 2
        RewardParametersPlace3: 256 R0.005,0 R1
        NumberOfWinners: 3
        RewardParametersEveryone: 0 R0.5,:10 264 R0.01;:90 0 R0.5
    Code:
    2011-08-25 22:07:56 [WARNING] [MonsterHunt]Invalid Rewards configuration! Sum of all percentages should be exactly 100! MonsterHunt will now throw error and disable itself.
    2011-08-25 22:07:56 [WARNING] [MonsterHunt]Invalid Rewards configuration! Sum of all percentages should be exactly 100! MonsterHunt will now throw error and disable itself.
    2011-08-25 22:07:56 [SEVERE] Error occurred while disabling MonsterHunt v1.3.1 (Is it up to date?): null
    java.lang.NullPointerException
        at com.matejdro.bukkit.monsterhunt.RewardManager.Reward(RewardManager.java:118)
        at com.matejdro.bukkit.monsterhunt.RewardManager.RewardWinners(RewardManager.java:61)
        at com.matejdro.bukkit.monsterhunt.MonsterHuntWorld.stop(MonsterHuntWorld.java:79)
        at com.matejdro.bukkit.monsterhunt.MonsterHunt.onDisable(MonsterHunt.java:44)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:128)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:906)
        at com.matejdro.bukkit.monsterhunt.RewardManager.PickRandom(RewardManager.java:234)
        at com.matejdro.bukkit.monsterhunt.RewardManager.RewardWinners(RewardManager.java:60)
        at com.matejdro.bukkit.monsterhunt.MonsterHuntWorld.stop(MonsterHuntWorld.java:79)
        at com.matejdro.bukkit.monsterhunt.HuntWorldManager$1.run(HuntWorldManager.java:86)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:428)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-25 22:07:56 [WARNING] Task of 'MonsterHunt' generated an exception
    java.lang.NullPointerException
        at com.matejdro.bukkit.monsterhunt.RewardManager.Reward(RewardManager.java:118)
        at com.matejdro.bukkit.monsterhunt.RewardManager.RewardWinners(RewardManager.java:61)
        at com.matejdro.bukkit.monsterhunt.MonsterHuntWorld.stop(MonsterHuntWorld.java:79)
        at com.matejdro.bukkit.monsterhunt.HuntWorldManager$1.run(HuntWorldManager.java:86)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:428)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  10. Offline

    matejdro

    Sum of percentages (that is this :50 at the start) in one RewardParameters must be 100%.
     
  11. Offline

    Malific

    So I can't use ,: to designate a second set of %'s in a singe parameter? Both sides of it are 100%

    I was going for 2 separate prizes, each picked from a different set of 100%s.

    A simplified example:
    Code:
    :50 265 5;:50 0 R1,:10 264 1;:90 0 R1
    So by winning the person could come out with money x2, or iron x5 and money, or a diamond and money, or iron x5 and a diamond.

    Is that possible or would it be read as 200% and error out?
    If it's not possible can I request it be added in?
     
  12. Offline

    matejdro

    Ah, i see what you mean. Interesting, but it would mean big changes to current system. Anyway, add that to issue tracker :)
     
  13. Offline

    Malific

    Done.
     
  14. Offline

    TTlabambaTT

    Hi, i know this has probably been asked alot of times, i know there is iconomy support but im using BOSEconomy untill the iconomy plugin devs fix it. Is there BOSEconomy support and is so how can i activate this i can only see the items reward option, im guessing its a different type of config i need?
     
  15. Offline

    Technotic

    Is there a way for me to add a message? Like when someone kills someone with a gold sword it'll say like, "Good job killing them with golden weapons!" or something.
     
  16. Offline

    andrewkm

    @matejdro
    Im looking to switch to bpermissions/PEX - bukkit permissions, very soon as opposed to permissions 3.1.6
    Wondering if this plugin works with it? Sorry If I missed it on the first page.
     
  17. Offline

    matejdro

  18. Offline

    Technotic

    @matejdro Ohh!!! Gotcha! I typed in KillMessage but then the name of the item. I'll try putting in the data value and see how that works.
     
  19. Anyy chance of posting a default config setup? I believe mine is a bit off, as monsterhunt is never starting. Its also hard to edit, as everything is in one extremely long line :-(
     
  20. Offline

    Raycrash

    Use notpad ++


    oh and I got a problem I want to edit the textmessage to be all one color and I get this

    Code:
    15:40:31 [SEVERE] Error occurred while enabling MonsterHunt v1.3.1 (Is it up to
    date?): found duplicate anchor 6You; first occurence; second occurence
    found duplicate anchor 6You; first occurence
     in "<reader>", line 98, column 29:
            MessageAlreadySignedUp: &6You are already signed up!
                                    ^
    second occurence
     in "<reader>", line 99, column 43:
         ... eHuntStatusNotInvolvedLastHunt: &6You were not involved in last  ...
                                             ^
    
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:149)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:82)
            at com.matejdro.bukkit.monsterhunt.InputOutput.LoadSettings(InputOutput.
    java:200)
            at com.matejdro.bukkit.monsterhunt.MonsterHunt.onEnable(MonsterHunt.java
    :51)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:885)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:278)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161
    )
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:452)
            at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleComma
    ndMap.java:281)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    9)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    44)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:489)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:468)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    15:40:31 [INFO] [MusicCraft] Enabling! Version: 1.4.3 by bekvon
    15:40:31 [INFO] [MusicCraft] Found Permissions Plugin!
    15:40:31 [INFO] [Poll] v0.1 initializing...
    15:40:31 [INFO] Found and will use plugin Permissions v3.1.6
    15:40:31 [INFO] [Poll] v0.1 initialized!
    15:40:31 [INFO] Spout 1.0.5.227 has been initialized
    15:40:31 [INFO] [SpoutTracker] SpoutTracker enabled!
    15:40:31 [INFO] Server permissions file permissions.yml is empty, ignoring it
    15:40:31 [INFO] Reload complete.
    >reload
    15:41:29 [INFO] [Giant Trees] version 0.3.3 is disabled
    15:41:29 [INFO] [iConomy] Plugin disabled.
    15:41:29 [INFO] [MusicCraft] Disabling!
    15:41:29 [INFO] [Permissions] (Yeti) saving data...
    15:41:29 [INFO] [Permissions] (Yeti) saved all data.
    15:41:29 [INFO] [Permissions] (Yeti) disabled successfully.
    15:41:29 [INFO] CommandBook: Permissions plugin detected! Using Permissions plug
    in for permissions.
    15:41:29 [INFO] [Poll] Poll disabled!
    15:41:29 [INFO] [SpoutTracker] SpoutTracker disabled!
    15:41:29 [INFO] MusicCraft Loading...
    15:41:29 [INFO] [Permissions] (Yeti) was initialized.
    15:41:29 [INFO] [Permissions] version [3.1.6] (Yeti)  loaded
    15:41:29 [INFO] CommandBook 1.5.2 enabled.
    15:41:29 [INFO] CommandBook: Maximum wrapper compatibility is enabled. Some feat
    ures have been disabled to be compatible with poorly written server wrappers.
    15:41:29 [INFO] CommandBook: 0 banned name(s) loaded.
    15:41:29 [INFO] CommandBook: 1 kit(s) loaded.
    15:41:29 [INFO] CommandBook: Permissions plugin detected! Using Permissions plug
    in for permissions.
    15:41:29 [INFO] [Giant Trees] version 0.3.3 is enabled
    15:41:29 [INFO] [iConomy] Logging is currently disabled.
    15:41:29 [INFO] [iConomy] v5.01 (Eruanna) loaded.
    15:41:29 [INFO] [iConomy] Developed by: [Nijikokun]
    15:41:29 [INFO] [iConomy] hooked into Permissions.
    15:41:29 [SEVERE] Error occurred while enabling MonsterHunt v1.3.1 (Is it up to
    date?): found duplicate anchor 2You; first occurence; second occurence
    found duplicate anchor 2You; first occurence
     in "<reader>", line 98, column 29:
            MessageAlreadySignedUp: &2You are already signed up!
                                    ^
    second occurence
     in "<reader>", line 99, column 43:
         ... eHuntStatusNotInvolvedLastHunt: &2You were not involved in last  ...
                                             ^
    
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:149)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:82)
            at com.matejdro.bukkit.monsterhunt.InputOutput.LoadSettings(InputOutput.
    java:200)
            at com.matejdro.bukkit.monsterhunt.MonsterHunt.onEnable(MonsterHunt.java
    :51)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:885)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:278)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161
    )
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:452)
            at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleComma
    ndMap.java:281)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    9)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    44)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:489)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:468)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    This is my config right now
    Code:
    SkipDays: 0
    EnableSignup: true
    MinimumPlayers: 2
    Database:
        MySQLConn: jdbc:mysql://localhost:3306/minecraft
        UseMySQL: false
        MySQLPassword: password
        MySQLUsername: root
    AllowSignUpAfterHuntStart: false
    CountBows: true
    EnabledWorlds: world
    DeathPenalty: 30
    OnlyCountMobsSpawnedOutside: false
    EnableHighScores: true
    StartTime: 13000
    OnlyCountMobsSpawnedOutsideHeightLimit: 0
    AnnounceLead: true
    SelectionTool: 268
    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
    SkipToIfFailsToStart: -1
    Debug: false
    Rewards:
        RewardEveryone: false
        RewardParametersPlace2: 3 2
        RewardParametersPlace3: 3 1
        NumberOfWinners: 3
        RewardParametersPlace1: 3 3
        EnableRewardEveryonePermission: false
        RewardParametersEveryone: 3 1-1
        EnableReward: false
    HuntZoneMode: false
    HuntZone:
        SecondCorner: 0,0,0
        FirstCorner: 0,0,0
        World: world
        TeleportLocation: 0,0,0
    Messages:
        MessageAlreadySignedUp: &2 You are already signed up!
        MessageHuntStatusNotInvolvedLastHunt: &2You were not involved in last hunt in this world
        MessageHuntTeleNoHunt: &2You cannot teleport to hunt zone when there is no hunt!
        MessageHuntStatusNotActive: &2Hunt is currently not active anywhere
        MessageTooLateSignUp: &2Sorry, you are too late to sign up. More luck next time!
        StartMessage: '&2Monster Hunt have started in world <World>! Go kill those damn
            mobs!'
        HighScoreMessage: 'You have reached a new high score: <Points> points!'
        MessageStartNotEnoughPlayers: 'Monster Hunt was about to start, but unfortunately
            there were not enough players signed up. '
        MessageSignUpPeriod: Sharpen your swords, strengthen your armor and type /hunt, because Monster Hunt will begin in several mintues in world <World>!
        FinishMessageNotEnoughPoints: Sun is rising, so monster Hunt is finished in world <World>! Unfortunately nobody killed enough monsters, so there is no winner.
        SignupAtHuntMessage: You have signed up for the hunt in in world <World>. Now hurry and kill some monsters!
        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!
        MessageHuntTeleNotSignedUp: You cannot teleport to hunt zone if you are not signed up to the hunt!
        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!
    SignUpPeriodTime: 5
    StartChance: 100
    TellTime: true
    EndTime: 23600
    MinimumPointsPlace2: 1
    MinimumPointsPlace3: 1
    MinimumPointsPlace1: 1
    
     
  21. Offline

    Cronus3166

    Hi. I really liked the idea of the HuntZone and I created a Colosseum just for the monster hunt. After building it, I used the wooded sword to establish the "perimeters" for the zone, but when a monster hunt begins, no one is getting points after killing a mob within the Colosseum.

    HuntZone:
    SecondCorner: -38,70,46
    FirstCorner: 51,70,46
    World: Murder_Bots
    TeleportLocation: 6.244554854848273,71.0,46.20556984911215
     
  22. Offline

    matejdro

    @Raycrash Try adding quotes.

    @Cronus3166 one corner needs to be on lowest height (usually the floor) and second corner needs to be on highest height (if you have flat area, you can create it around 3 blocks above "battlefield").
     
  23. Offline

    Crackripper

    i nstalled everything and selected the zone but no mobs are spawning also if i turn mobs gernal on what shall i do?

    HuntZone:
    SecondCorner: 111,73,-461
    FirstCorner: 105,68,-471
    World: World2
    TeleportLocation: 108.78306266096034,69.0,-464.98392812598297

    teleport is a block at the ground at the midddle
     
  24. Offline

    Cognito guy

    Absolutely EPIC plugin!

    but currently (to my knowledge) it isn't able to count a "steve" (the human NPC) kill, can you add this?

    If this is already possible can someone explain me how?
     
  25. Offline

    matejdro

    @Crackripper MonsterHunt is not handling mob spawning. Probably another plugin blocks it.

    @Cognito guy i thought notch removed those. Add this to issue tracker.
     
  26. Offline

    Sejsel

    @matejdro
    The surface-only counting does not work - it gets false positives.. Actually almost everywhere, even at top of mountain...
     
  27. Offline

    Cognito guy

    sorry but I don't have a github account. But you can spawn steve, you can even make mob spawners for him (he goes by the name of "monster") with the plugin: Mob spawner changer
     
  28. Offline

    Malific

    Okay new issue for me. When the hunt ends. 1st place is supposed to receive 3 prizes. Diamond equal to R0.01 their score, money equal to R3, and a random prize based on percentage uses.

    They receive their percentage prize, but nothing else. No end game stats are shown, the hunt doesn't actually end, And trying to end it manually afterwards simply awards 1st place another percentage pool prize and repeats the errors.

    A default global.txt runs fine.

    Based on this I'm 99% sure my prize set-up is wrong but I can't see where. Any help would be great.


    Code:
    Show Spoiler

    Error:
    Code:
    2011-09-11 00:37:50 [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.RewardManager.Reward(RewardManager.java:131)
    	at com.matejdro.bukkit.monsterhunt.RewardManager.RewardWinners(RewardManager.java:61)
    	at com.matejdro.bukkit.monsterhunt.MonsterHuntWorld.stop(MonsterHuntWorld.java:79)
    	at com.matejdro.bukkit.monsterhunt.HuntWorldManager$1.run(HuntWorldManager.java:86)
    	at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:428)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Rewards:
    Code:
        RewardParametersPlace2: 256 R0.007,0 R2,:50 265 10;:50 86 2
        RewardParametersPlace3: 256 R0.005,0 R1
        NumberOfWinners: 3
        RewardParametersPlace1: 256 R0.01,0 R3,:10 30 10;:5 84 1,2256 1;:5 84 1,2257 1;:1 52 1;:1 302 1,303 1,304 1,305 1;:5 57 1;:10 79 10;:3 310 1,311 1,312 1,313 1;:10 276 1,277 1,278 1,279 1,293 1;:50 341 5
        EnableRewardEveryonePermission: false
        RewardParametersEveryone: 0 R0.5,:10 264 R0.01;:90 0 R0.5
     
  29. Offline

    Crackripper

    ok i will try this Mob spawn changer mh but i didnt get points when i killed them in the desert or somewhere else (i turned this option for unting outside on)

    i dunno what should block the mobspawning i got these plugins:
    Backup,Ichat,iConomy,npcx,Permission,PermissionPlus,PlayerStatusSign,Timesgin,Waypoint,
    Worldguard,Worldedit

    EDIT: ha i got i working thanks guys!
     
  30. Running this on bukkit #1157 and iConomy6
    plugin works perfekt untill its time to give out rewards:

    Code:
    2011-09-20 20:23:28 [WARNING] Task of 'MonsterHunt' generated an exception
    java.lang.NoClassDefFoundError: com/iConomy/iConomy
        at com.matejdro.bukkit.monsterhunt.RewardManager.iConomyReward(RewardManager.java:199)
        at com.matejdro.bukkit.monsterhunt.RewardManager.Reward(RewardManager.java:176)
        at com.matejdro.bukkit.monsterhunt.RewardManager.RewardWinners(RewardManager.java:61)
        at com.matejdro.bukkit.monsterhunt.MonsterHuntWorld.stop(MonsterHuntWorld.java:79)
        at com.matejdro.bukkit.monsterhunt.HuntWorldManager$1.run(HuntWorldManager.java:86)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:439)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.ClassNotFoundException: com.iConomy.iConomy
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        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(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 9 more
    have this as my reward settings

    Code:
    Rewards:
        RewardEveryone: true
        RewardParametersPlace2: 265 1-6,266 1-3,0 30
        RewardParametersPlace3: 266 1-6,0 20
        NumberOfWinners: 3
        RewardParametersPlace1: 264 1,266 1-3,0 40
        EnableRewardEveryonePermission: false
        RewardParametersEveryone: 50 5-10,0 1-10
        EnableReward: true
     
  31. Offline

    matejdro

    @Sejsel I will reverse it in next release. Should return less false positives.

    @Malific you cannot use percentages in one reward line (yet)

    @hedich iConomy 6 is not (yet) supported.
     

Share This Page