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

    Ratchet

    oh, the OP doesn't say anything about mysql not working :/

    damnit
     
  3. Offline

    matejdro

    @Silarn default value (no day reset) is -1

    @Ratchet MySql is working generally, but have problems with several people. Will try to move mysql lib into lib folder and see if it helps.
     
  4. Offline

    Silarn

    @matejdro Yes, I'm aware. With SkipToIfFailsToStart=-1 in every settings file, my worlds were skipping several nights. It fixed when I changed the default global.txt to SkipDays=0.

    Or it could have just been the server restart, and something had simply gone haywire.
     
  5. Offline

    Ratchet

    other plugins use the lib folder and those work fine so maybe that will do it. is that going to be in 1.2.1? thanks
     
  6. Offline

    clitcomander

    one thing this plug ins is missing is the ability to check what the OVERALL high score achieved was, like sure its great i can see mine, but what if i need to know who has the HIGHEST score of all the players so far....cuz we have a wall of legendary scores and its very hard to check unless im there when it happens
     
  7. Offline

    dougdashwitz

    found that the problem was a know issue with overly massive maps and too many explored tunnels, where monsters have hit the spawn max but are 'trapped' in areas players cant see them causing them to more or less be caught in limbo.

    Loaded up a new world and forced the players to move... got about 6 month out of the main world before being forced to switch to the new one.

    i know its off topic (sorta) but if anyone knows a workaround for the non spawning mobs thing, id be greatful
     
  8. Offline

    ToastedJelly

    /butcher ?
     
  9. Offline

    Phaedrus

    Still getting this error when trying to use MySQL and bukkit 818 and monsterhunt 1.2

    Code:
    20:57:31 [SEVERE] java.sql.SQLException: invalid database address:
    20:57:31 [SEVERE]       at org.sqlite.JDBC.createConnection(JDBC.java:74)
    20:57:31 [SEVERE]       at org.sqlite.JDBC.connect(JDBC.java:64)
    20:57:31 [SEVERE]       at java.sql.DriverManager.getConnection(Unknown Source)
    20:57:31 [SEVERE]       at java.sql.DriverManager.getConnection(Unknown Source)
    20:57:31 [SEVERE]       at com.matejdro.bukkit.monsterhunt.InputOutput.createConnection(InputOutput.java:48)
    20:57:31 [SEVERE]       at com.matejdro.bukkit.monsterhunt.InputOutput.getConnection(InputOutput.java:35)
    20:57:31 [SEVERE]       at com.matejdro.bukkit.monsterhunt.InputOutput.PrepareDB(InputOutput.java:221)
    20:57:31 [SEVERE]       at com.matejdro.bukkit.monsterhunt.MonsterHunt.onEnable(MonsterHunt.java:49)
    20:57:31 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    20:57:31 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    20:57:31 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    20:57:31 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
    20:57:31 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    20:57:31 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    20:57:31 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    20:57:31 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    20:57:31 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    20:57:31 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    20:57:31 [SEVERE] Error occurred while enabling MonsterHunt v1.2.0 (Is it up todate?): 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:134)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
            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:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  10. Offline

    flozza83

    Hi!

    Nice plugin! thanks you

    Im running on CB803 and get this error in console when hunt terminated (by /time day):
    There are lines for rewarding in global.txt:
    Can you tell me where is my error please ?
     
  11. Offline

    djw

    Is it possible to set negative values for kills on say other players?

    As for mysql, monsterhunt didn't work for me, whilst many other plugins mysql just works for me.

    EDIT: it would be good if the calculation for working out if a player is outside would exclude tree leaves.
     
  12. Offline

    matejdro

    @Silarn do you have any other time-manipulating plugins installed?

    @flozza83 sum of all percentages must be 100%

    @djw Not possible, but good idea. Tree calculation is included in v1.2.0.

    For anyone with MYSQL issues, try attached version which searches inside lib folder instead of bukkit folder.

    @clitcommander planned
     

    Attached Files:

  13. Offline

    flozza83

    Oh ok. for 1 line or all percentages in config?
     
  14. Offline

    Xentonic

    hey any idea when this will be updated for cb build 818?

    nvm i tryed this with 818 and it worked :D

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

    Phaedrus

    I tried your attached version. Still getting this error:

    Code:
    2011-06-02 19:24:13 [SEVERE] java.sql.SQLException: No suitable driver found for
    2011-06-02 19:24:13 [SEVERE] 	at java.sql.DriverManager.getConnection(Unknown Source)
    2011-06-02 19:24:13 [SEVERE] 	at java.sql.DriverManager.getConnection(Unknown Source)
    2011-06-02 19:24:13 [SEVERE] 	at com.matejdro.bukkit.monsterhunt.InputOutput.createConnection(InputOutput.java:48)
    2011-06-02 19:24:13 [SEVERE] 	at com.matejdro.bukkit.monsterhunt.InputOutput.getConnection(InputOutput.java:35)
    2011-06-02 19:24:13 [SEVERE] 	at com.matejdro.bukkit.monsterhunt.InputOutput.PrepareDB(InputOutput.java:221)
    2011-06-02 19:24:13 [SEVERE] 	at com.matejdro.bukkit.monsterhunt.MonsterHunt.onEnable(MonsterHunt.java:49)
    2011-06-02 19:24:13 [SEVERE] 	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    2011-06-02 19:24:13 [SEVERE] 	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    2011-06-02 19:24:13 [SEVERE] 	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    2011-06-02 19:24:13 [SEVERE] 	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
    2011-06-02 19:24:13 [SEVERE] 	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    2011-06-02 19:24:13 [SEVERE] 	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    2011-06-02 19:24:13 [SEVERE] 	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    2011-06-02 19:24:13 [SEVERE] 	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    2011-06-02 19:24:13 [SEVERE] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-06-02 19:24:13 [SEVERE] 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-02 19:24:13 [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:134)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    	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:285)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  16. Offline

    Ratchet

    yup mysql not working for me in that either
     
  17. Offline

    matejdro

    Alright, then problem lies somewhere else. Will test that.
     
  18. Offline

    RedValkyrie

    I'm getting this error when the world starts up:

    2011-06-04 06:03:51 [SEVERE] Error occurred while enabling MonsterHunt v1.2.0 (Is it up to date?): while scanning an anchor; expected alphabetic or numeric character, but found '(39)
    while scanning an anchor
    in "<reader>", line 90, column 23:
    HighScoreMessage: &2'You have reached a new high s ...
    ^
    expected alphabetic or numeric character, but found '(39)
    in "<reader>", line 90, column 25:
    HighScoreMessage: &2'You have reached a new high sco ...
    ^

    at org.yaml.snakeyaml.scanner.ScannerImpl.scanAnchor(ScannerImpl.java:1164)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchAnchor(ScannerImpl.java:794)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:317)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:592)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132)
    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:122)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:74)
    at com.matejdro.bukkit.monsterhunt.InputOutput.LoadSettings(InputOutput.java:126)
    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:134)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    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:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  19. Offline

    matejdro

    Post your config please.
     
  20. Offline

    andrewkm

    @matejdro
    818# trying to install monster hunt 1.2.0
    Mysql -
    Code:
    2011-06-04 14:42:52 [SEVERE] java.sql.SQLException: No suitable driver found for
    2011-06-04 14:42:52 [SEVERE]  at java.sql.DriverManager.getConnection(Unknown Source)
    2011-06-04 14:42:52 [SEVERE]  at java.sql.DriverManager.getConnection(Unknown Source)
    2011-06-04 14:42:52 [SEVERE]  at com.matejdro.bukkit.monsterhunt.InputOutput.createConnection(InputOutput.java:48)
    2011-06-04 14:42:52 [SEVERE]  at com.matejdro.bukkit.monsterhunt.InputOutput.getConnection(InputOutput.java:35)
    2011-06-04 14:42:52 [SEVERE]  at com.matejdro.bukkit.monsterhunt.InputOutput.PrepareDB(InputOutput.java:221)
    2011-06-04 14:42:52 [SEVERE]  at com.matejdro.bukkit.monsterhunt.MonsterHunt.onEnable(MonsterHunt.java:49)
    2011-06-04 14:42:52 [SEVERE]  at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    2011-06-04 14:42:52 [SEVERE]  at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    2011-06-04 14:42:52 [SEVERE]  at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    2011-06-04 14:42:52 [SEVERE]  at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
    2011-06-04 14:42:52 [SEVERE]  at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    2011-06-04 14:42:52 [SEVERE]  at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    2011-06-04 14:42:52 [SEVERE]  at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    2011-06-04 14:42:52 [SEVERE]  at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    2011-06-04 14:42:52 [SEVERE]  at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-06-04 14:42:52 [SEVERE]  at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-04 14:42:52 [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:134)
     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
     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:285)
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Yes im sure my settings are correct :) Using mysql for tons of plugins.
    Will use sqlite for now.

    @matejdro
    So i got this working quite well. Getting this error however. (Once again im on 818#, monsterhunt 1.2.0, sqlite)
    Whenever killing wolf i get:
    Code:
    2011-06-04 20:20:08 [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$48.execute(JavaPluginLoader.java:577)
     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(SourceFile:317)
     at net.minecraft.server.EntityHuman.d(EntityHuman.java:537)
     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:867)
     at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
     at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    -
    my config file is as follows:
    -
    Code:
    SkipDays: 0
    Value:
        Zombie:
            General: 3
            Arrow: 2
        Spider:
            General: 5
            Arrow: 3
        WildWolf:
            General: 5
            Arrow: 3
        Skeleton:
            General: 7
            Arrow: 4
    MinimumPlayers: 2
    EnableSignup: false
    Database:
        MySQLConn: jdbc:mysql://localhost:3306/monsterhunt
        UseMySQL: false
        MySQLPassword: mka211mysqmicr
        MySQLUsername: minecraft
    SkipToIfFailsToStart: -1
    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 was about to start, but unfortunately there were not enough players signed up. '
        FinishMessageNotEnoughPoints: Sun is rising, so monster Hunt is finished! Unfortunately nobody killed enough monsters, so there is no winner.
        MessageSignUpPeriod: '&aGet your weapons ready! Monster Hunt will soon begin!'
        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
    -
    And one other problem I am having.
    For some reason with the above configuration, creeper kills STILL give 10 points..... ? How come?
    -
    -
    -
    EDIT: The wolf error happens even when the wolf is totally taken out of config.

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

    Ratchet

  22. Offline

    Treboran

    So we are having a problem on my server, running CB818 and MonsterHunt 1.2. The hunt will start, but it never ends. It works on my Dev server (a different box) with the same config.

    Here is my config:
    Code:
    SkipDays: 4
    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: 12
            Arrow: 6
            Wolf: 7
            '283': 20
        Slime:
            General: 8
            Arrow: 4
            Wolf: 7
            '283': 20
        Ghast:
            General: 15
            Arrow: 4
            Wolf: 7
            '283': 20
    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: :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
    CountBows: true
    DeathPenalty: 30
    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>! Go kill those creepy
            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>! 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 minutes in <World>!
        SignupAtHuntMessage: You have signed up for the hunt in in <World>. Now hurry and kill some monsters!
        iConomyCurrencyName: iConomy coin
        SignupBeforeHuntMessage: You have signed up for the next hunt in <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>!
            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: 100
    EnableHighScores: true
    MinimumPointsPlace3: 50
    StartTime: 13000
    OnlyCountMobsSpawnedOutsideHeightLimit: 0
    MinimumPointsPlace1: 125
    AnnounceLead: true
    
     
  23. Offline

    ToastedJelly

    Checked the code. This looks like it ignores logs that have air in any direction, but this is basically all logs, if you build a darkroom out of logs, as a ceiling out of logs always has air above and below.
     
  24. Offline

    Darkenvy

    A little bit of criticism? PLEASE don't have diamond as the default item! You guys mess a LOT up every time the plugin decides to do with a new configuration. We don't give diamond out. All diamond on my server is found.
     
  25. Offline

    Ratchet

    why when I try to add colour to some messages, why do the <tags> not work?

    Code:
    MessageStartNotEnoughPlayers: '&2The Hunt was about to start in &c[<World>]&2, but &2unfortunately
            &2there were not enough players signed up.'
    ingame, it just shows [<World>] and not the actual world name.

    i've tried without adding the brackets too.
     
  26. Offline

    andrewkm

    @matejdro
    The plugin awards two people the same third place prize if they forexample tie. Is this supposed to be like this? Just wondering, not a problem to be honest.
     
  27. Offline

    neopha

    Hey matejdro,

    When I start an event from the manual command, this will run for the next night an end or is it possible to run it until the next manual command?

    I want to start an event, one which count the kills of players and monsters and monsters with your plugin would be chopped off.
     
  28. Offline

    matejdro

    @andrewkm how did you solve mysql error? For second error, can you try adding missing values to your config file? When mob is not in config file, it will use default value which is 10. Tie is supposed to happen.

    @Treboran try setting Debug to true and post results.

    @Darkenvy critism accepted.

    @Ratchet I will check the tags. Zombie sorting is not very hard to do, but i think it does not belong to MonsterHunt. Search the forum, i think there is already a plugin that allows you to disable specific types of mobs, so you can disable everything but zombies.

    @neopha oops, i have never finished that commands. Thanks for reminder.
     
  29. Offline

    Treboran

    matejdro...thanks, I'll do that. My oldest graduates from high school tonight and we've got some other end of year kid stuff going on, so I'll be a little busy. I'll probably try to set up a test period with the help of some of my users over the next few days.
     
  30. Offline

    andrewkm

    Never did solve the mysql error. This is the only plugin im forced to use sqlite with. :(
    -
    Will try adding missing values to config file.
    Edit: Readded all values with 0 beside them. Works perfect now :) Thank you.
    -
    Tie im okay with, no problem :)
    -
    Any idea on the wolf errors?
     
  31. Offline

    matejdro

    Oops, there is a typo in code. Use "WilfWolf" instead of "WildWolf" in settings for now.
     

Share This Page