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

    Mountaineer

    I have that also:

    Code:
    2011-04-03 17:04:00 [SEVERE] [MonsterHunt] Error while inserting new high score into DB! - database is locked
    2011-04-03 17:04:00 [SEVERE] java.sql.SQLException: database is locked
    2011-04-03 17:04:00 [SEVERE]     at org.sqlite.DB.throwex(DB.java:288)
    2011-04-03 17:04:00 [SEVERE]     at org.sqlite.NestedDB.prepare(NestedDB.java:115)
    2011-04-03 17:04:00 [SEVERE]     at org.sqlite.DB.prepare(DB.java:114)
    2011-04-03 17:04:00 [SEVERE]     at org.sqlite.PrepStmt.<init>(PrepStmt.java:37)
    2011-04-03 17:04:00 [SEVERE]     at org.sqlite.Conn.prepareStatement(Conn.java:231)
    2011-04-03 17:04:00 [SEVERE]     at org.sqlite.Conn.prepareStatement(Conn.java:224)
    2011-04-03 17:04:00 [SEVERE]     at org.sqlite.Conn.prepareStatement(Conn.java:213)
    2011-04-03 17:04:00 [SEVERE]     at com.matejdro.bukkit.monsterhunt.InputOutput.UpdateHighScore(InputOutput.java:91)
    2011-04-03 17:04:00 [SEVERE]     at com.matejdro.bukkit.monsterhunt.MonsterHunt.stop(MonsterHunt.java:165)
    2011-04-03 17:04:00 [SEVERE]     at com.matejdro.bukkit.monsterhunt.MonsterHunt$1.run(MonsterHunt.java:235)
    2011-04-03 17:04:00 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
    2011-04-03 17:04:00 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:356)
    2011-04-03 17:04:00 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    2011-04-03 17:04:00 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-03 17:04:00 [SEVERE] java.lang.NullPointerException
    2011-04-03 17:04:00 [SEVERE]     at com.matejdro.bukkit.monsterhunt.MonsterHunt.stop(MonsterHunt.java:170)
    2011-04-03 17:04:00 [SEVERE]     at com.matejdro.bukkit.monsterhunt.MonsterHunt$1.run(MonsterHunt.java:235)
    2011-04-03 17:04:00 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
    2011-04-03 17:04:00 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:356)
    2011-04-03 17:04:00 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    2011-04-03 17:04:00 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-03 17:04:00 [SEVERE] Unexpected exception
    java.lang.NullPointerException
        at com.matejdro.bukkit.monsterhunt.MonsterHunt.stop(MonsterHunt.java:170)
        at com.matejdro.bukkit.monsterhunt.MonsterHunt$1.run(MonsterHunt.java:235)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:356)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  3. Offline

    escape

    I just started using Netherar and the following exception floods the console whenever someone is in the nether, even though the world is not included in the config.
    Code:
    [SEVERE] Could not pass event CREATURE_SPAWN to MonsterHunt
    java.lang.NullPointerException
        at com.matejdro.bukkit.monsterhunt.MonsterHuntEntity.onCreatureSpawn(MonsterHuntEntity.java:167)
        at org.bukkit.plugin.java.JavaPluginLoader$44.execute(JavaPluginLoader.java:435)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:228)
        at net.minecraft.server.World.a(World.java:724)
        at net.minecraft.server.SpawnerCreature.a(SourceFile:148)
        at net.minecraft.server.World.h(World.java:1384)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:359)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
    Using CB 617, Monsterhunt 0.5.1, and Netherar 1.0.
     
  4. Offline

    Joegabe

    I get this same error and this one when dawn comes


    23:33:08 [SEVERE] java.lang.NullPointerException
    23:33:08 [SEVERE] at com.matejdro.bukkit.monsterhunt.MonsterHunt.stop(MonsterHunt.java:170)
    23:33:08 [SEVERE] at com.matejdro.bukkit.monsterhunt.MonsterHunt$1.run(MonsterHunt.java:235)
    23:33:08 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
    23:33:08 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:356)
    23:33:08 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    23:33:08 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:375)
    23:33:08 [SEVERE] Unexpected exception
    java.lang.NullPointerExceptionat com.matejdro.bukkit.monsterhunt.MonsterHunt.stop(MonsterHunt.java:170)
    at com.matejdro.bukkit.monsterhunt.MonsterHunt$1.run(MonsterHunt.java:235)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:356)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    >

    Running the SQLite with CB 617
     
  5. Offline

    Volander

    Getting these errors...

    http://www.pastie.org/1756135

    Craftbukit version: 617
    Using MySql
    Useing default config file... (only changed signup to false and minimum points to 7)
     
  6. Same error after the end of the hunt :(
     
  7. Offline

    kenjamen

    I get the above error on startup also. Is this a mysql installation thing? i have other plugins using mysql. Are 2 plugins using same database name?

    I'd like to get this working.... seems to be only thing not for me atm.
     
  8. Offline

    MicroDark

    Same at the end of the hunt.
    Craftbukkit b617
     
  9. Offline

    matejdro

    Updated

     
  10. Offline

    zajacmp3

    @matejdro
    There is still DB error :) But I believe that you will fix it ;)
    #617
    Code:
     [INFO] [LogBlock] Stopping consumer
    15:59:38 [INFO] LogBlock disabled.
    15:59:38 [INFO] [HeroicDeath] 1.7.0.145 disabled.
    15:59:38 [INFO] Invalid config file found and converted to proper name/format.
    15:59:38 [INFO] [Permissions] (Phoenix) was Initialized.
    15:59:38 [SEVERE] special characters are not allowed loading MonsterHunt v0.5.2 (Is it up to date?)
    unacceptable character #FFFD special characters are not allowed
    in "<reader>", position 1527
            at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:68)
            at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:159)
            at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:117)
            at org.yaml.snakeyaml.scanner.ScannerImpl.scanPlain(ScannerImpl.java:1569)
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchPlain(ScannerImpl.java:860)
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:348)
            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:73)
            at com.matejdro.bukkit.monsterhunt.InputOutput.LoadSettings(InputOutput.java:119)
            at com.matejdro.bukkit.monsterhunt.MonsterHunt.onEnable(MonsterHunt.java:52)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:514)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:264)
            at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:196)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:225)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:391)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
    My config:
    Code:
    SkipDays: 0
    Value:
        Creeper: 1
        ZombiePigman: 1
        Spider: 2
        Giant: 5
        Zombie: 1
        Slime: 1
        Skeleton: 1
        Ghast: 1
    MinimumPlayers: 20
    EnableSignup: false
    Database:
        MySQLConn: jdbc:mysql://localhost:3306/monsterhunt
        UseMySQL: true
        MySQLPassword: *******[cuted]
        MySQLUsername: root
    Debug: false
    Rewards:
        RewardEveryone: false
        RewardParameters: 0 1-100
        RewardParametersEveryone: 264 1-1
        EnableReward: true
    CountBows: false
    DeathPenalty: 30
    EnabledWorlds: world
    SignUpPeriodTime: 5
    Messages:
        NoBowMessage: Nie zaliczone. Przestan kampic i rusz dupe z mieczem!
        MessageHuntStatusLastScore: Twoj ostatni wynik na tym swiecie to <Points> punktow
        MessageHuntStatusNotInvolvedLastHunt: Nie byles na ostatnich zawodach na tym swiecie.
        MessageHuntStatusTimeReamining: Zabijaj dalej! Pozostalo Ci jedynie <Timeleft>% nocy na tym swiecie!
        MessageHuntStatusNotActive: Polowanie nie jest teraz aktywne
        StartMessage: $2Polowanie na potwory rozpoczete na swiecie <World>! ZABIJCIE JE!
        MessageTooLateSignUp: Sorry, spozniles sie na zapisy. Badz szybszy nastepnym razem!
        HighScoreMessage: 'Osiagnales nowy rekord: <Points> punktow!'
        MessageStartNotEnoughPlayers: 'Polowanie mialo sie rozpoczac lecz niestety zabraklo graczy
            . '
        MessageSignUpPeriod: Naostrzcie miecze, wzmocnijcie pancerz i wpiszcie /hunt, polowanie zaczyna sie niedlugo na <World>!
        FinishMessageNotEnoughPoints: Wschodzi slonce <World>! Niestety nikt nie zabil wystarczajaco potworów by wygrać.
        FinishMessageNotEnoughPlayers: Wschodzi slonce na swiecie <World>! Niestety zabraklo graczy wiec nici z wygranej.
        KillMobSpawnedInsideMessage: Twoj punkt niezaliczony! Wyjdz na powierzchcnie a nie ukrywasz sie po jaskiniach!
        SignupAtHuntMessage: You have signed up for the hunt in in world <World>. Now hurry and kill some monsters!
        KillMessage: Dostajesz <MobValue> punkty za zabicie <MobName>. Masz <Points> punktow lacznie. Do roboty!
        FinishMessageOneWinner: Wschodzi slonce - polowanie zakonczone! Zwyciezca jest <Name> z <Points> punktami!
        FinishMessageMoreWinners: 'Wschodzi slonce - polowanie zakonczone!
            Dzisiejszymi zwyciezcami sa: <Names>. Z suma <Points> punktow'
        MessageHuntStatusHuntActive: Polowanie jest aktywne na swiecie <Worlds>
        SignupBeforeHuntMessage: Zapisales sie na polowanie!
        RewardMessage: GRATULACJE! Otrzymales nagrode!
        MessageHuntStatusCurrentScore: Twoj aktualny wynik punktowy to <Points>! Zasuwaj dalej!
        MessageHuntStatusNoKills: Nie zabiles jeszcze zadnego potwora. Pospiesz sie!
        DeathMessage: Zginales, Twoj ogolny wynik zmniejszony zostal o 30%. Uwazaj na przyszlosc!
    MinimumPoints: 1
    StartChance: 10
    OnlyCountMobsSpawnedOutside: true
    TellTime: true
    EndTime: 23600
    EnableHighScores: true
    StartTime: 13000
    
     
  11. Offline

    Sleepywalker

    Hi Matejdro - I have a question - Great mod btw been part of my server a long time - I suggested rewarding for everyone back on Hmod and thank you for implementing it.
    My question is - Is there a possible way with rewards to give out the alternate ID's for blocks for example I want to give out cloloured cloth as one of my reward types - am I able to add these or is there no possible way?

    Thanks for your continued support and updating of this plugin :)
    Have a nice day

    Sleepywalker
     
  12. Offline

    matejdro

    @zajacmp3 It's not db error, but parsing error. Can you remove all special characters like ó from the configuration and try it again?

    @Sleepywalker good idea. Added to the list.
     
    beatcomet likes this.
  13. Offline

    beatcomet

    works perfectly, thank you (found the configuration file )
    You rocckkkk :D
     
  14. Offline

    Ashrok

    Getting the following error everytime i host the server;

    Code:
    05:27:38 [INFO] Starting minecraft server version Beta 1.4
    05:27:38 [INFO] Loading properties
    05:27:38 [INFO] Starting Minecraft server on *:25565
    05:27:38 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    05:27:38 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    05:27:38 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    05:27:38 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    05:27:38 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-612-
    g4c7a9e7-b617jnks (MC: 1.4)
    05:27:38 [INFO] Preparing level "world2"
    05:27:38 [INFO] Preparing start region
    05:27:39 [INFO] 144 recipes
    05:27:39 [INFO] Invalid config file found and converted to proper name/format.
    05:27:39 [INFO] [Permissions] (Phoenix) was Initialized.
    05:27:39 [INFO] [mcMMO] Permissions enabled.
    05:27:39 [INFO] mcMMO version 0.9.15 is enabled!
    05:27:39 [INFO] Minecart Mania Core version 1.07e is enabled!
    05:27:39 [INFO] Minecart Mania Pressure Plates version 1.06 is enabled!
    05:27:39 [INFO] Minecart Mania Sign Commands version 1.07 is enabled!
    05:27:39 [INFO] Minecart Mania Station version 1.07 is enabled!
    05:27:39 [SEVERE] java.lang.ClassNotFoundException: org.sqlite.JDBC
    05:27:39 [SEVERE]       at java.net.URLClassLoader$1.run(Unknown Source)
    05:27:39 [SEVERE]       at java.security.AccessController.doPrivileged(Native Me
    thod)
    05:27:39 [SEVERE]       at java.net.URLClassLoader.findClass(Unknown Source)
    05:27:39 [SEVERE]       at org.bukkit.plugin.java.PluginClassLoader.findClass(Pl
    uginClassLoader.java:36)
    05:27:39 [SEVERE]       at org.bukkit.plugin.java.PluginClassLoader.findClass(Pl
    uginClassLoader.java:24)
    05:27:39 [SEVERE]       at java.lang.ClassLoader.loadClass(Unknown Source)
    05:27:39 [SEVERE]       at java.lang.ClassLoader.loadClass(Unknown Source)
    05:27:39 [SEVERE]       at java.lang.Class.forName0(Native Method)
    05:27:39 [SEVERE]       at java.lang.Class.forName(Unknown Source)
    05:27:39 [SEVERE]       at com.matejdro.bukkit.monsterhunt.InputOutput.createCon
    nection(InputOutput.java:47)
    05:27:39 [SEVERE]       at com.matejdro.bukkit.monsterhunt.InputOutput.getConnec
    tion(InputOutput.java:34)
    05:27:39 [SEVERE]       at com.matejdro.bukkit.monsterhunt.InputOutput.PrepareDB
    (InputOutput.java:202)
    05:27:39 [SEVERE]       at com.matejdro.bukkit.monsterhunt.MonsterHunt.onEnable(
    MonsterHunt.java:53)
    05:27:39 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:118)
    05:27:39 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:514)
    05:27:39 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:216)
    05:27:39 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:94)
    05:27:39 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:72)
    05:27:39 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:215)
    05:27:39 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:202)
    05:27:39 [SEVERE]       at net.minecraft.server.MinecraftServer.d(MinecraftServe
    r.java:142)
    05:27:39 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:257)
    05:27:39 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:375)
    05:27:39 [SEVERE] null loading MonsterHunt v0.5.2 (Is it up to date?)
    java.lang.NullPointerException
            at com.matejdro.bukkit.monsterhunt.InputOutput.PrepareDB(InputOutput.jav
    a:203)
            at com.matejdro.bukkit.monsterhunt.MonsterHunt.onEnable(MonsterHunt.java
    :53)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:514)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    05:27:39 [INFO] [Permissions] version [2.5.5] (Phoenix)  loaded
    05:27:39 [INFO] Minecart Mania Admin Controls version 1.07 is enabled!
    05:27:39 [INFO] Minecart Mania Autocart version 1.06 is enabled!
    05:27:39 [INFO] Minecart Mania Automations version 1.06 is enabled!
    05:27:39 [INFO] Minecart Mania Chest Control version 1.07b is enabled!
    05:27:39 [INFO] Done (0.108s)! For help, type "help" or "?"
    05:27:45 [INFO] [Minecart Mania] Loading Sensor Data.
    05:27:57 [INFO] playgirl4eva [/192.168.1.4:51161] logged in with entity id 196
    05:27:57 [INFO] Loaded world: world2
    >
    Code:
    SkipDays: 0
    Value:
        Creeper: 1
        ZombiePigman: 1
        Spider: 1
        Giant: 1
        Zombie: 1
        Slime: 1
        Skeleton: 1
        Ghast: 1
    MinimumPlayers: 2
    EnableSignup: true
    Database:
        MySQLConn: jdbc:mysql://localhost:3306/minecraft
        UseMySQL: true
        MySQLPassword: *****<---not actually part of the config file just put there for obvious reasons
        MySQLUsername: root
    Debug: false
    Rewards:
        RewardEveryone: false
        RewardParameters: 264 1-1
        RewardParametersEveryone: 264 1-1
        EnableReward: true
    CountBows: true
    DeathPenalty: 30
    EnabledWorlds: world2
    SignUpPeriodTime: 5
    Messages:
    
    MinimumPoints: 1
    StartChance: 100
    OnlyCountMobsSpawnedOutside: false
    TellTime: true
    EndTime: 23600
    EnableHighScores: true
    StartTime: 13000
    
    My config file is as follows
     
  15. Offline

    matejdro

    Do you have lib folder?
     
  16. Offline

    Sroxah

    Running the following plugins on 617 along with MonsterHunt:

    Plugins: Vampire, Permissions, EssentialsSpawn, Jail, Essentials, DeathTpPlus, RemoteToolkitPlugin, Growbie, CivilizedSpawn, properTime, Factions, NoCheatPlugin, XrayShield, FoundDiamonds, mcMMO, BorderGuard Lite (Square)


    I am getting this error spamming the console:

    Code:
    2011-04-05 14:37:52 [SEVERE] Could not pass event ENTITY_DAMAGE to MonsterHunt
    java.lang.NullPointerException
        at com.matejdro.bukkit.monsterhunt.MonsterHuntEntity.onEntityDamage(MonsterHuntEntity.java:38)
        at org.bukkit.plugin.java.JavaPluginLoader$38.execute(JavaPluginLoader.java:399)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.EntityArrow.f_(EntityArrow.java:169)
        at net.minecraft.server.World.a(World.java:983)
        at net.minecraft.server.WorldServer.a(WorldServer.java:52)
        at net.minecraft.server.World.f(World.java:965)
        at net.minecraft.server.World.e(World.java:942)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:365)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)

    Any help would be greatly appreciated!
     
  17. Offline

    matejdro

    Do you get this error occasionally or all the time?
     
  18. Offline

    Sroxah

    Almost every time I turn on the server. I managed to get it to boot once without throwing the error, then I walked away for a few minutes and when I came back it was scrolling like mad again.
     
  19. Offline

    Ashrok

    i thought i did apparently not, should there be something within this 'lib' folder
     
  20. Offline

    matejdro

    Yes. i recommend you downloading lib folder from first post (look for "sqlite library")

    @Sroxah do you have multiple worlds?
     
  21. Offline

    Sroxah

    No. There is only one world.
     
  22. Offline

    zajacmp3

    @matejdro

    I will check your advice about deleting special polish characters like ó - I probably inserted it by my mistake. You are quite good at searching this tiny little things :p

    Will come with EDIT to this post if the error will disapear.
     
  23. Offline

    Skadar

    Hmmm... still getting "can't create tables - database is locked" error whether or not I try to use MySQL or SQLite.
     
  24. Offline

    Sroxah

    This is what the config looks like in case it helps at all.

    Code:
    SkipDays: 0
    Value:
        Creeper: 4
        ZombiePigman: 2
        Spider: 1
        Giant: 10
        Zombie: 1
        Slime: 1
        Skeleton: 2
        Ghast: 6
    MinimumPlayers: 3
    EnableSignup: false
    Database:
        MySQLConn: jdbc:mysql://localhost:3306/minecraft
        UseMySQL: false
        MySQLPassword: password
        MySQLUsername: root
    Debug: false
    Rewards:
        RewardEveryone: false
        RewardParameters: 264 1-3
        RewardParametersEveryone: 264 1-1
        EnableReward: True
    CountBows: true
    DeathPenalty: 30
    EnabledWorlds: 1_4World
    SignUpPeriodTime: 5
    Messages:
        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
        MessageHuntStatusNotInvolvedLastHunt: You were not involved in last hunt in this world
        MessageHuntStatusTimeReamining: Keep up the killing! You have only <Timeleft>% of the night left in this world!
        MessageHuntStatusNotActive: Hunt is currently not active anywhere
        StartMessage: '&2Monster Hunt has started! Go outside and
            kill some monsters!'
        MessageTooLateSignUp: Sorry, you are too late to sign up. More luck next time!
        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 get ready, because Monster Hunt will begin in a few minutes!
        FinishMessageNotEnoughPoints: Sun is rising, so monster Hunt is finished! Unfortunately nobody killed enough monsters, so there is no winner.
        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!
        SignupAtHuntMessage: You have signed up for the hunt. Now hurry and kill some monsters!
        KillMessage: You have got <MobValue> points from killing that <MobName>. You have <Points> points so far. Keep it up!
        FinishMessageOneWinner: Sun is rising, so monster Hunt is finished in world! Winner of the today's match is <Name> with <Points> points
        FinishMessageMoreWinners: 'Sun is rising, so monster Hunt is finished in world
            <World>! Winners of the today''s match are: <Names>. All with <Points> points'
        MessageHuntStatusHuntActive: Hunt is active
        SignupBeforeHuntMessage: You have signed up for the next hunt!
        RewardMessage: Congratulations! You have received the award!
        MessageHuntStatusCurrentScore: Your current score in this world's hunt is <Points> points! Keep it up!
        MessageHuntStatusNoKills: You haven't killed any mob in this world's hunt yet. Hurry up!
        DeathMessage: You have died, so your Monster Hunt score is reduced by 30%. Be more careful next time!
    MinimumPoints: 10
    StartChance: 100
    OnlyCountMobsSpawnedOutside: true
    TellTime: true
    EndTime: 23600
    EnableHighScores: true
    StartTime: 13000
    
     
  25. Offline

    marshall007

    Can we have a global highscore in addition to the player's having their own highscores? I'd like to reward the user upon beating the entire server's score, not their own.
     
  26. Offline

    Phaedrus

    Getting database locked error when reloading server. Haven't seen it much while server is running though I don't think.

    Code:
    11:23:57 [SEVERE] [MonsterHunt]: Error while creating tables! - database is locked
    11:24:00 [SEVERE] [MonsterHunt] Error while loading High scores! - database is locked
    11:24:00 [SEVERE] java.sql.SQLException: database is locked
    11:24:00 [SEVERE]       at org.sqlite.DB.throwex(DB.java:288)
    11:24:00 [SEVERE]       at org.sqlite.NestedDB.prepare(NestedDB.java:115)
    11:24:00 [SEVERE]       at org.sqlite.DB.prepare(DB.java:114)
    11:24:00 [SEVERE]       at org.sqlite.PrepStmt.<init>(PrepStmt.java:37)
    11:24:00 [SEVERE]       at org.sqlite.Conn.prepareStatement(Conn.java:231)
    11:24:00 [SEVERE]       at org.sqlite.Conn.prepareStatement(Conn.java:224)
    11:24:00 [SEVERE]       at org.sqlite.Conn.prepareStatement(Conn.java:213)
    11:24:00 [SEVERE]       at com.matejdro.bukkit.monsterhunt.InputOutput.LoadHighScores(InputOutput.ja
    va:69)
    11:24:00 [SEVERE]       at com.matejdro.bukkit.monsterhunt.MonsterHunt.onEnable(MonsterHunt.java:54)
    
    11:24:00 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    11:24:00 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.jav
    a:514)
    11:24:00 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.ja
    va:216)
    11:24:00 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
    11:24:00 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
    11:24:00 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:264)
    11:24:00 [SEVERE]       at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMa
    p.java:196)
    11:24:00 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    11:24:00 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:225)
    11:24:00 [SEVERE]       at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:391)
    11:24:00 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    11:24:00 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    11:24:00 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    11:24:00 [INFO] [MonsterHunt] MonsterHunt Loaded!
     
  27. Offline

    lolzrofl

    Please help with this error!
    Code:
    02:07:42 [SEVERE] while parsing a block mapping; expected <block end>, but found
    Scalar loading MonsterHunt v0.5.2 (Is it up to date?)
    while parsing a block mapping
    in "<reader>", line 29, column 5:
    NoBowMessage: 'Your kill is not ...
    ^
    expected <block end>, but found Scalar
    in "<reader>", line 44, column 100:
    ... shed! The winner of the tonight's match is <Name> with <Points> ...
    ^
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:576)
    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.composeMappingNode(Composer.java
    :228)
    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:73)
    at com.matejdro.bukkit.monsterhunt.InputOutput.LoadSettings(InputOutput.
    java:119)
    at com.matejdro.bukkit.monsterhunt.MonsterHunt.onEnable(MonsterHunt.java
    :52)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:514)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:216)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:264)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleComma
    ndMap.java:196)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80
    )
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    33)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:594)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:557)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:551)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Here is my config
    Code:
    SkipDays: 0
    Value:
        Creeper: 50
        ZombiePigman: 100
        Spider: 25
        Giant: 500
        Zombie: 20
        Slime: 75
        Skeleton: 30
        Ghast: 200
    MinimumPlayers: 2
    EnableSignup: true
    Database:
        MySQLConn: jdbc:mysql://localhost:3306/minecraft
        UseMySQL: false
        MySQLPassword: password
        MySQLUsername: root
    Debug: false
    Rewards:
        RewardEveryone: true
        RewardParameters: 265 7-10
        RewardParametersEveryone: 263 5-7
        EnableReward: true
    CountBows: false
    DeathPenalty: 30
    EnabledWorlds: TheAwesomeWorld
    SignUpPeriodTime: 3
    Messages:
        NoBowMessage: 'Your kill is not counted. Stop camping with your bow and get into the fight!'
        MessageHuntStatusLastScore: 'Your last score was <Points> points'
        MessageHuntStatusNotInvolvedLastHunt: 'You were not involved in last hunt'
        MessageHuntStatusTimeReamining: 'Keep up the killing! You have only <Timeleft>% of the night left!'
        MessageHuntStatusNotActive: 'The Hunt is currently not active'
        StartMessage: '&2The Hunt has started! Go kill those mobs!'
        MessageTooLateSignUp: 'Sorry, you are too late to sign up for The Hunt. Better luck next time!'
        HighScoreMessage: 'You have reached a new high score: <Points> points!'
        MessageStartNotEnoughPlayers: 'The Hunt was about to start, but unfortunately not enough players signed up. '
        MessageSignUpPeriod: 'Sharpen your swords, strengthen your armor and type /hunt, because The Hunt will begin in several mintues!'
        FinishMessageNotEnoughPoints: 'Sun is rising, so The Hunt is finished! Unfortunately nobody killed enough monsters, so there is no winner.'
        FinishMessageNotEnoughPlayers: 'Sun is rising, so The 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!'
        SignupAtHuntMessage: 'You have signed up for The Hunt, it will begin shortly. Now go get ready to kill some monsters!'
        KillMessage: 'You got <MobValue> points from killing that <MobName>. You have <Points> points. Keep it up!'
        FinishMessageOneWinner: 'The sun is rising, so The Hunt is finished! The winner of tonight's match is <Name> with <Points> points!'
        FinishMessageMoreWinners: 'The sun is rising, so The Hunt is finished! The winners of tonight's match are: <Names>. All with <Points> points''
        MessageHuntStatusHuntActive: 'The Hunt is active!'
        SignupBeforeHuntMessage: 'You have signed up for the next Hunt!'
        RewardMessage: 'Congratulations! You have won the prize!'
        MessageHuntStatusCurrentScore: 'Your current score in The Hunt is <Points> points! Keep it up!'
        MessageHuntStatusNoKills: 'You haven't killed any mobs in The Hunt yet. Hurry up!'
        DeathMessage: 'You have died, so your Hunt score has been reduced by 30%. Be more careful next time!'
    MinimumPoints: 150
    StartChance: 60
    OnlyCountMobsSpawnedOutside: false
    TellTime: true
    EndTime: 23600
    EnableHighScores: true
    StartTime: 13000
    
    Help would be appreciated!
     
  28. Offline

    Sroxah

    Running 617

    Plugins: xrayDetector, Vampire, Permissions, EssentialsSpawn, Jail, Essentials, OtherBlocks, DeathTpPlus, RemoteToolkitPlugin, Growbie, CivilizedSpawn, MonsterHunt, properTime, Factions, NoCheatPlugin, XrayShield, FoundDiamonds, mcMMO, BorderGuard Lite (Square)


    I managed to get past the original issue I was having before. I'm not sure exactly how, but I think updating one of the other plugins fixed the issue. I'm having a new issue now that only happens occasionally. After a night of Monster Hunt, as the sun is coming up and the winner is about to be announced, this happens (edit: this doesn't happen every night. It seems random. People will play and win normally for a few nights and then this will hit out of nowhere):

    Code:
    2011-04-07 11:29:02 [SEVERE] java.lang.NullPointerException
    2011-04-07 11:29:02 [SEVERE]     at com.nijiko.permissions.Control.permission(Control.java:295)
    2011-04-07 11:29:02 [SEVERE]     at com.nijiko.permissions.Control.has(Control.java:269)
    2011-04-07 11:29:02 [SEVERE]     at com.matejdro.bukkit.monsterhunt.MonsterHunt.permission(MonsterHunt.java:268)
    2011-04-07 11:29:02 [SEVERE]     at com.matejdro.bukkit.monsterhunt.Rewards.NormalReward(Rewards.java:65)
    2011-04-07 11:29:02 [SEVERE]     at com.matejdro.bukkit.monsterhunt.Rewards.Reward(Rewards.java:26)
    2011-04-07 11:29:02 [SEVERE]     at com.matejdro.bukkit.monsterhunt.MonsterHunt.stop(MonsterHunt.java:153)
    2011-04-07 11:29:02 [SEVERE]     at com.matejdro.bukkit.monsterhunt.MonsterHunt$1.run(MonsterHunt.java:235)
    2011-04-07 11:29:02 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
    2011-04-07 11:29:02 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:356)
    2011-04-07 11:29:02 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    2011-04-07 11:29:02 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-07 11:29:02 [SEVERE] Unexpected exception
    java.lang.NullPointerException
        at com.nijiko.permissions.Control.permission(Control.java:295)
        at com.nijiko.permissions.Control.has(Control.java:269)
        at com.matejdro.bukkit.monsterhunt.MonsterHunt.permission(MonsterHunt.java:268)
        at com.matejdro.bukkit.monsterhunt.Rewards.NormalReward(Rewards.java:65)
        at com.matejdro.bukkit.monsterhunt.Rewards.Reward(Rewards.java:26)
        at com.matejdro.bukkit.monsterhunt.MonsterHunt.stop(MonsterHunt.java:153)
        at com.matejdro.bukkit.monsterhunt.MonsterHunt$1.run(MonsterHunt.java:235)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:356)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    This pretty much locks up the console will just occasionally show the following, which I assume is an attempted connection that it doesn't let through.

    Code:
    2011-04-07 11:29:53 [SEVERE] java.net.SocketTimeoutException: Read timed out
    2011-04-07 11:29:53 [SEVERE]     at java.net.SocketInputStream.socketRead0(Native Method)
    2011-04-07 11:29:53 [SEVERE]     at java.net.SocketInputStream.read(SocketInputStream.java:146)
    2011-04-07 11:29:53 [SEVERE]     at java.net.SocketInputStream.read(SocketInputStream.java:199)
    2011-04-07 11:29:53 [SEVERE]     at java.io.FilterInputStream.read(FilterInputStream.java:83)
    2011-04-07 11:29:53 [SEVERE]     at net.minecraft.server.Packet.b(Packet.java:73)
    2011-04-07 11:29:53 [SEVERE]     at net.minecraft.server.NetworkManager.f(NetworkManager.java:130)
    2011-04-07 11:29:53 [SEVERE]     at net.minecraft.server.NetworkManager.c(NetworkManager.java:229)
    2011-04-07 11:29:53 [SEVERE]     at net.minecraft.server.NetworkReaderThread.run(SourceFile:68)
    2011-04-07 11:29:58 [SEVERE] java.net.SocketTimeoutException: Read timed out
    2011-04-07 11:29:58 [SEVERE]     at java.net.SocketInputStream.socketRead0(Native Method)
    2011-04-07 11:29:58 [SEVERE]     at java.net.SocketInputStream.read(SocketInputStream.java:146)
    2011-04-07 11:29:58 [SEVERE]     at java.net.SocketInputStream.read(SocketInputStream.java:199)
    2011-04-07 11:29:58 [SEVERE]     at java.io.FilterInputStream.read(FilterInputStream.java:83)
    2011-04-07 11:29:58 [SEVERE]     at net.minecraft.server.Packet.b(Packet.java:73)
    2011-04-07 11:29:58 [SEVERE]     at net.minecraft.server.NetworkManager.f(NetworkManager.java:130)
    2011-04-07 11:29:58 [SEVERE]     at net.minecraft.server.NetworkManager.c(NetworkManager.java:229)
    2011-04-07 11:29:58 [SEVERE]     at net.minecraft.server.NetworkReaderThread.run(SourceFile:68)
    2011-04-07 11:29:58 [SEVERE] java.net.SocketTimeoutException: Read timed out
    2011-04-07 11:29:58 [SEVERE]     at java.net.SocketInputStream.socketRead0(Native Method)
    2011-04-07 11:29:58 [SEVERE]     at java.net.SocketInputStream.read(SocketInputStream.java:146)
    2011-04-07 11:29:58 [SEVERE]     at java.net.SocketInputStream.read(SocketInputStream.java:199)
    2011-04-07 11:29:58 [SEVERE]     at java.io.FilterInputStream.read(FilterInputStream.java:83)
    2011-04-07 11:29:58 [SEVERE]     at net.minecraft.server.Packet.b(Packet.java:73)
    2011-04-07 11:29:58 [SEVERE]     at net.minecraft.server.NetworkManager.f(NetworkManager.java:130)
    2011-04-07 11:29:58 [SEVERE]     at net.minecraft.server.NetworkManager.c(NetworkManager.java:229)
    2011-04-07 11:29:58 [SEVERE]     at net.minecraft.server.NetworkReaderThread.run(SourceFile:68)
     
  29. Offline

    BetterMan

    CB 617

    Code:
    null loading MonsterHunt v0.5.2 (Is it up to date?)
    java.lang.NullPointerException
        at com.matejdro.bukkit.monsterhunt.InputOutput.PrepareDB(InputOutput.java:203)
        at com.matejdro.bukkit.monsterhunt.MonsterHunt.onEnable(MonsterHunt.java:53)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:514)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:264)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:196)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:225)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:391)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  30. Offline

    TheDarkness73

    What file do we edit? Because my file manger wont let me edit any of the files in the monster hunt folder
     
  31. Offline

    Malix

    with bukkit 633, using config:

    Code:
    SkipDays: 0
    Value:
        Creeper: 2
        ZombiePigman: 1
        Spider: 1
        Giant: 1
        Zombie: 1
        Slime: 1
        Skeleton: 2
        Ghast: 1
    MinimumPlayers: 1
    EnableSignup: false
    Database:
        MySQLConn: jdbc:mysql://localhost:3306/minecraft
        UseMySQL: false
        MySQLPassword: password
        MySQLUsername: root
    Debug: false
    Rewards:
        RewardEveryone: false
        RewardParameters: 265 R0.5-0.5
        RewardParametersEveryone: 265 1-1
        EnableReward: true
    CountBows: false
    DeathPenalty: 30
    EnabledWorlds: world_whee
    SignUpPeriodTime: 1
    Messages:
        NoBowMessage: 'Paa se jouskari pois'
        MessageHuntStatusLastScore: '<Points> pts'
        MessageHuntStatusNotInvolvedLastHunt: 'Et ole tappanut mitään'
        MessageHuntStatusTimeReamining: '<Timeleft>% jäljellä'
        MessageHuntStatusNotActive: 'Ei ole metsästyskausi'
        StartMessage: 'Metsästys alkaa!!'
        MessageTooLateSignUp: 'Sorry, you are too late to sign up. More luck next time!'
        HighScoreMessage: 'Uusi ennätys: <Points> pts!'
        MessageStartNotEnoughPlayers: 'Ei metsästetä :('
        MessageSignUpPeriod: 'Kohta alkaa metsästys!! joten /hunt'
        FinishMessageNotEnoughPoints: 'Et tappanut tarpeeksi'
        FinishMessageNotEnoughPlayers: 'Miksette te metsästä?'
        KillMobSpawnedInsideMessage: 'Ulos metsästämään!!'
        SignupAtHuntMessage: 'Aloit metsästämään!'
        KillMessage: '<MobName> +<MobValue> pts. Yhteensä <Points> pts!'
        FinishMessageOneWinner: 'Päivän paras oli <Name> (<Points> pts)!!'
        FinishMessageMoreWinners: 'Päivän parhaat olivat: <Names> (<Points> pts)!!'
        MessageHuntStatusHuntActive: 'Metsästyskausi!!'
        SignupBeforeHuntMessage: 'Ilmoittauduit metsästämään!!'
        RewardMessage: 'CHA-CHING! Sait palkintoja!!'
        MessageHuntStatusCurrentScore: 'Sinulla on <Points> pts!!'
        MessageHuntStatusNoKills: 'Et ole tappanut vielä mitään'
        DeathMessage: 'Menit ja kuolit sitten... Menetit 30% pisteistäsi'
    MinimumPoints: 1
    StartChance: 100
    OnlyCountMobsSpawnedOutside: false
    TellTime: true
    EndTime: 23000
    EnableHighScores: true
    StartTime: 0
    
    following warnings gets spammed over and over:
    Code:
    16:54:29 [WARNING] [MonterHunt] Wrong SignUpPeriodTime Configuration! Sign Up period will be disabled!
    
    and following error occasionally pops up when using /huntsatus
    Code:
    16:54:39 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'huntstatus' in plugin MonsterHunt v0.5.2
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:254)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:596)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:559)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.NullPointerException
            at com.matejdro.bukkit.monsterhunt.MonsterHunt.onCommand(MonsterHunt.java:404)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    
    edit: also tried to make this use mysql, whatever I do, it always creates the sqlite -file. I am running mysql 5.5 and created the database & connecting to it as root with correct password.
     

Share This Page