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

    Stephen92

    please please please update this, seems as if this has or is getting abandoned.
     
  3. Offline

    JDD

    #1 Learn some patience.
    #2 If you looked back 1 page you would have seen updates from the mod author this very week.
     
  4. Offline

    matejdro

    Updated

    Version 1.0.0 (8.4.2011)
    • Added "multiple places" support (first place, second place, third place etc.)
    • You may now disable RewardEveryone permission
    • You may now define item data for reward such as wool color
    • Added wolves support (Warning: both tamed and wild wolf will count as a kill)
    • Setting mob value to 0 will stop counting that mob
    • You may now define percentages for the random reward
    • When someone is rewarded, plugin will tell him, what item exactly he got
    • Added option to skip night when not enough players
    • Fixed several errors
    • possible fix for DB locked error..

    I think this covers most of your suggestions, with exception of highscore stuff, which i want to wait for persistance. If i forgot suggestion from anyone, please remind me.

    Now i will switch to new version naming system - first number means major release, second number means minor release and last number means just small patch. That's why i have changed it to 1.0.0 :)

    Now i just have to update documentation for the new stuff...

    Since there are a lot of new and changed config options, i recommend everyone deleting their config to get new default one to see changes.

    @lolzrofl i recommend you delete config and let MonsterHunt generate new one. Then configure your changes again.

    @marshall sounds nice. But i would rather wait on Bukkit's persistence. I want to mess with mysql as little as possible, since current configuration seems to work somewhat.

    @TheDarkness73 you can edit global.config and add specific world configuration if needed. You may have to change your file manager or edit when server is turned off.

    @BetterMan MySQL or SQLite? Do you have db file in MonsterHuntDirectory
     
  5. Offline

    Stephen92

    ok
    #1 it was a question no need for someone of your stature to reply if your gonna be a ass. And I am being patient i was simply wanting to know the status of the update.
    #2 if you would of been patient maybe the author who replied above was the answer I was looking for.
    #3 if your replying to me other than matejdro and actual nice people which most of this forums is based of keep your mouth shut and let someone with intelligence that actually develops this wonderful plugin reply thanks.
     
  6. Offline

    matejdro

    Documentation updated for v1.0.0. Enjoy.
     
  7. Offline

    Stephen92

    im using 670 and it works but after the hunt has started people who type /hunt get an internal error and for some reason halfway through the night it resets and asks to sharpen ur swords and w/e else it says so it basically restarts midway through.
     
  8. Offline

    JDD

    @matejdro 1 feature request atm, is it possible to get this to include npc's via npcx?

    http://forums.bukkit.org/threads/fu...ggro-loot-guard-shops-quest-chat.9186/page-32

    CraftBukkit version: 670
    Monster Hunt version: 1.0.0.0
    Attempt at using command: /hunt [Middle of the night during hunt]

    Code:
    03:16:29 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'hunt
    ' in plugin MonsterHunt v1.0.0
            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:2
    54)
            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.Message(MonsterHunt.java:
    89)
            at com.matejdro.bukkit.monsterhunt.MonsterHunt.Message(MonsterHunt.java:
    78)
            at com.matejdro.bukkit.monsterhunt.MonsterHunt.onCommand(MonsterHunt.jav
    a:370)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more


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

    matejdro

    @Stephen92 have you changed any time values in settings?

    @JDD you mean that you can fight npcs from this plugin?
     
  10. Offline

    Stephen92

    no sir didnt touch anything except the rewards.
     
  11. Offline

    JDD

    Yes you can set enemy factions via npcx where the npc's will attack players. I wanted to know if it's possible via MonsterHunt to assign a point value to these npc's so that they will be included in the nightly hunt.
     
  12. Offline

    matejdro

    If author of NPC plugin can provide proper APIs, then i can do this :)

    @Stephen92 so your hunt will suddenly stop in middle of the night? Are you using any time-changing plugins like extend day?
     
  13. Offline

    JDD

    What stephen is saying is that if a player logs in once night is underway and types /hunt it throws the error i pasted above.
     
  14. Offline

    matejdro

    I'm talking about second part of his message.

     
  15. Offline

    Stephen92

    no sir nothing alters the time at all.
     
  16. Offline

    matejdro

    Does this happens every time? What plugins do you have installed?
     
  17. Offline

    nmacholl

    Some auto-formatting on the config file would be swell. It's a pain to read/edit how it's generated.
     
  18. Offline

    Sleepywalker

    if you download notepad++ it auto formats it for you brother :) i had the same issue and i kept formatting it myself - then i remembered notepad++ was actually a good tool to have :p so yeah use notepad++ and you'll be fine and it will auto format for you

    Sleepywalker
     
  19. Offline

    matejdro

    There is some formatting with latest release (rewards, values and database are separated). But yes, it's kinda painful to read. I will be looking for a way to improve this.
     
  20. Offline

    TE5LA

    CB 612

    I had the idea that the hunt would start automatically, but it doesn't for me. I have to issue /huntstart to make it start and /huntstop to end it.

    Shouldn't it be automatic?
     
  21. Offline

    JDD

    @matejdro would you mind looking at the plugins current memory usage? Yesterday while running this the ram usage on our server began to sky rocket to over 5gigs usage with 4-5 players on. I watched manually restarting the server every hour or 2. As soon as I removed MonsterHunt the spike stopped. I don't think it it's monsterhunt alone I think it's a combination of mods possibly. If you have time though please check what type of memory this is using and let me know. Thanks.

    7:23 Server Start up - 350,000k Memory Usage
    7:48 Server check 1 - 1,090,464k Memory Usage
    8:58 Server check 2 - 3,618,700k Memory Usage and rising....10 people online peak.

    Decided to test one more time with this plugin enabled.

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

    TheDarkness73

    Could you change the config file, becuz my control panel doesn't allow me to edit it
     
  23. Offline

    JDD

  24. Offline

    matejdro

    Wait, so is there memory leak or not?

    @TheDarkness73 what do you mean?

    @TE5LA what is your StartChance, SkipDays, starttime, endtime?
     
  25. Offline

    JDD

    Currently as a player moves across the map chunks are being loaded into memory and not being released from said memory causing memory to usage to increase until the server crashes. Something in your plugin is suffering this same effect for some of us, although I don't believe it to be global. If I turn your plugin on with 5 or more players online and they are moving around from chunk to chunk they will max out ram usage in an hour-2 hours versus 4 -6 hours without it. I do not think it is an error on your part however it's just something I wanted you to be aware of. I am submitting a bug report to the bukkit team later today about the chunk issue.
     
  26. Offline

    Kevin Forte

    Every time I attempt to update the messages in the config file, the plugin ceases to function. Any idea what's going on there? (I'll post a cmd prompt description later)
     
  27. Offline

    marshall007

    I want to switch over to MySQL from SQLite, but I can't seem to get it to work. Here's what that portion of my config file looks like:
    The password is an empty string because that user can only access the database over the localhost anyway. I think that empty string might be what's causing me problems. I've tried having double quotes, single quotes, blank space, and deleting the password parameter entirely, but nothing works. I've also tried moving the MySQL library to ~/server_path ~/server_path/lib and ~/server_path/plugins/MonsterHunt but none of that worked either. Any help would be greatly appreciated.
     
  28. Offline

    matejdro

    Weird. All that i can think of eating ram is list of all spawned mobs which is used for spawn inside protection and bukkit workaround to prevent double mobs. But this is just storing some numbers, i doubt that it can fill more than couple of MB.

    @Kevin Forte any errors?
     
  29. Offline

    frog

    I'm experiencing a similar issue to marshall007 where the plugin seems to ignore the mysql settings. The difference being is that I have a password set on the account. I have other plugins running that use mysql and make using the of mysql library with the same account details.

    UseMySQL is set to true, and I've doubled checked the account details.
     
  30. Offline

    moopcow

    Hey, my error is that when I type /huntstart world 1 (which is the name of the world) it says "there is no such world!" can somebody help me out with this? :(
     
  31. Offline

    matejdro

    @moopcow are you sure that you have space in world name?

    I will check mysql.
     

Share This Page