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

    xxdilbertxx

    anyway fireball kills can count from the spells plugin

    also i get this when in the nether though the NetherGate plugin
     
  3. Offline

    KrisEike

    Back to the old shit, plugin is being retarded again. Just rewarded me for the most kills, when i hadn't killed any.
    And it won't stop either. Keeps going untill i reload the server..

    What the heck is wrong? =/ I need thise plugin!
     
  4. Offline

    jwideman

    Okay, hunt is working at night, but never ending when used with extendday.
     
  5. Offline

    Junubee

    @xxdilbertxx, see my previous post for that, it seems it's related to Ghasts.

    @matejdro - No, my nether isn't included in the hunt, so Ghasts would not count towards her total at all. I'm using iMonster to offer rewards in the Nether, since there's no day/night cycle there. The error has not repeated since that one time, however, and we've killed quite a few Ghasts since then.

    The fact that I haven't seen this error since made me forget about making the post, sorry for the long delay in reply. :) I'm loving the random reward setup I've got going now. I do have a feature request, could you have it use the item.db file and iConomy currency status and state what the person won? One prize is some money, a full set of leather armor, and money based on kill count that everyone gets. "You've won the award!" comes up 6 times, I changed it to "Something fell in your pocket!" so they know they won multiple things, and it's not a glitch.
     
  6. Offline

    matejdro

    @KrisEike what plugin do you use for /time? Any errors in console?

    @jwideman any errors in console?

    @Junubee Sorry i don't get your suggestion. What do you mean with iConomy currency status?

    I will fix multiple message glitch in next release.
     
  7. Offline

    Qtinifier

    Got this error with latest version
    im going to update my to check if it works

    --- merged: Feb 13, 2011 9:43 AM ---
    Error still remains and this one just joined it :( with CB322
     
  8. Offline

    matejdro

    You have signed up and killed mobs in world, where monsterhunt is not enabled.
     
  9. Offline

    ndoto

    Thanks for the quick fix on the debug code, matejdro! My reply is a bit late, but while it seemed like it was printing the lines at intervals of 80 (units of "raw Minecraft time" - not sure what that actually comes out to in realtime, but it seemed like something ~5 seconds?) it only lasted evenly until I logged out and logged back in.

    Anyway, that aside, I am having a few other issues:
    -RewardParametersEveryone was set to the default 264 1:1, but RewardEveryone was set to false. Regardless of this, I was awarded a diamond once the hunt ended even though I was not the winner. Which brings me to the next point:
    -Once again, despite RewardEveryone being set to false, because the RewardEveryone functionality is part of the node monsterhunt.rewardeverytime and I am admin whose permissions are simply marked as '*', I was receiving this reward as part of every hunt.
    -Finally, the "SkipDays" and "StartChance" settings in MonsterHunt.properties appear to not be functioning properly. The hunt is starting every night with a 100% chance and is not skipping any days in between, even though I have StartChance = 25 and SkipDays = 3 set respectively.

    Once again, love the plugin, so please let me know if there's anything I can do to help isolate these issues. Thanks!
     
  10. Offline

    matejdro

    Yes, you get rewarded because of the permissions.

    Damn i thought i have fixed SkipDays and StartChance. i will take a look at it.
     
  11. Offline

    KrisEike

    That would be Essentials. I am testing it now. No errors yet, and i'm halfway trough night.

    Kris
    --- merged: Feb 13, 2011 1:12 PM ---
    at com.nijiko.permissions.Control.has(Control.java:149)
    at com.matejdro.bukkit.monsterhunt.MonsterHunt.permission(MonsterHunt.java:251)
    at com.matejdro.bukkit.monsterhunt.Rewards.NormalReward(Rewards.java:69)
    at com.matejdro.bukkit.monsterhunt.Rewards.Reward(Rewards.java:28)
    at com.matejdro.bukkit.monsterhunt.MonsterHunt.stop(MonsterHunt.java:146)
    at com.matejdro.bukkit.monsterhunt.MonsterHunt$1.actionPerformed(MonsterHunt.java:220)
    at javax.swing.Timer.fireActionPerformed(Timer.java:271)
    at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    I got this at sunrise.
     
  12. Offline

    jwideman

    No errors in console or log, nothing appears to not be working except for it not ending. It's possible it's my config, so here it is. Note that I do intend to let everyone just go out and kill mobs without having to sign up, and everyone gets rewarded per kill, with the winner getting double.
    Also, I'm at CB build 322, but this has been a problem since about 302.
     
  13. Offline

    Junubee

    Oh sorry, I just meant the currency name from iConomy. This way you could say "You receieved %reward!" and it would go "You received 1 Leather Chestplate!", "You received 15 Golden Apple!"
    "You recieved 302 Golds!" where Golds could be Mazumas, Crazy Coins, whatever.

    Also, I haven't tested this, but does the reward system take into consideration a full inventory?

    Actually, I just checked, no go. If your inventory is full, you get no items, but it would be good to have someone know their inventory was full.
     
  14. Offline

    KrisEike

     
  15. Offline

    matejdro

    Nope, full inventory is not checked. Added to my list.

    @KrisEike that appears to be permissions error. Do you have permission set up properly?

    @jwideman there is an error in your reward configuration.

    Proper format is that:

     
  16. Offline

    KrisEike

    Here is the permissions txt..

    # Supports "Default" and "GroupUsers"
    plugin:
    permissions:
    system: default
    ##
    # Groups can contain inheritance.
    # To make a group inherit the permissions from another
    # group simply place the groups name in the "inheritance:"
    # field seperated by commas.
    #
    # Example: inheritance: Default,Admins,
    ##
    # All permissions including the asterisks must be placed in single quotes.
    # like so:
    #
    # - 'general.spawn'
    #
    # Otherwise errors will happen!
    ##
    # Globalized Permission settings:
    #
    # If a permission contains periods (.) you can denote a globalized parameter:
    #
    # - 'general.*'
    #
    # This will allow you to use all general commands.
    #
    ##
    #
    # Single Asterisk denotes all commands:
    #
    # - '*'
    ##
    groups:
    Citizen:
    default: true
    info:
    prefix: 'Citizen&f'
    suffix:
    build: true
    inheritance:
    permissions:
    - 'essentials.spawn'
    - 'SpawnControl.sethome.basic'
    - 'iConomy.payment'
    - 'iConomy.access'
    - 'iConomy.rank'
    - 'iConomy.list'
    - 'general.home'
    - 'general.sethome'
    - 'SpawnControl.home.basic'
    - 'monsterhunt.usercmd.hunt'
    - 'stargate.use'
    - 'essentials.playerlist'
    Donator:
    default: false
    info:
    prefix: '&2Donator'
    suffix: '&2'
    build: true
    inheritance: Citizen
    permissions:
    - 'general.spawn'
    - 'general.teleport'
    Host:
    default: false
    info:
    prefix: '&4Host'
    suffix: '&4'
    build: true
    inheritance: Citizen
    permissions:
    - 'general.spawn'
    - 'general.teleport'
    Moderator:
    default: false
    info:
    prefix: '&3Moderator'
    suffix: '&3'
    build: true
    inheritance:
    - Citizen
    permissions:
    - 'general.teleport'
    - 'general.teleport.here'
    - 'general.player-info'
    Admin:
    default: false
    info:
    prefix: '&4Admin'
    suffix: '&4'
    build: true
    inheritance:
    - Moderator
    permissions:
    - '*'
    Owner:
    default: false
    info:
    prefix: '&4Owner'
    suffix: '&4'
    build: true
    inheritance:
    - Moderator
    permissions:
    - '*'

    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
    KrisEike:
    group: Owner
    permissions: '*'
    cragsandyman:
    group: Moderator
    permissions:
    - 'general.teleport'
    - 'general.teleport.here'
    - 'general.player-info'
    Snoremacs:
    group: Admin
    permissions: '*'
    cragsandyman:
    group: Moderator
    permissions:
    - 'general.teleport'
    - 'general.teleport.here'
    - 'general.player-info'
    elricsfate:
    group: Host
    permissions: '*'
    cragsandyman:
    group: Moderator
    permissions:
    - 'general.teleport'
    - 'general.teleport.here'
    - 'general.player-info'
    Kiao:
    group: Admin
    permissions: '*'
    NAME PLAYER:
    group: Donator
    permissions:
    - 'general.teleport'
    - 'general.spawn'

    So, what could be wrong?

    Kris
     
  17. Offline

    matejdro

    I'm not really sure. Someone else had same error and he found out that he did error in permission file.
     
  18. Offline

    KrisEike

    Hmm, what to do then? =/
    --- merged: Feb 13, 2011 7:03 PM ---
    Could i maybe have a look at your permission file? I could check for differences.

    Kris
     
  19. Offline

    Junubee

    One thing I would check is see if they require huntscore and huntstatus. Wouldn't you like your players to see what their high score is? :p

    I put these into the default permissions, however, people don't have to /hunt to join in the hunt on my server, everyone is automatically included (so if they join late they can still try and get a few kills in before the night is out).

    Code:
    - 'monsterhunt.usercmd.hunt'
    - 'monsterhunt.usercmd.huntscore'
    - 'monsterhunt.usercmd.huntstatus'
    
    And I'll spoil my config file for Monster Hunt, so you can see if there's things different on your end.
    Show Spoiler
    Code:
    SkipDays = 0 #How many days to skip between each round
    MinimumPlayers = 1 #Minimum number of participants needed to announce the winner and give prize.
    EnableSignup = false #that will enable signup. Players have to sign up before they start killing or their kills won't be counted. Players can sign up before the night and their sign ups will be reseted after the night.
    MySQLPassword = password #MySQL Password (only if using MySQL)
    PointsSkeleton = 3 #How many points do you get for killing Skeleton
    PointsSlime = 1 #How many points do you get for killing Slime
    CountBows = true #should plugin also count kills made with bow?
    DeathPenalty = 30 #Percentage of points lost when character dies. Use 0 to disable death penalty. Range is between 0 and 100. Don't forget to also edit DeathMessage.
    EnabledWorlds = world #In which worlds should MonsterHunt be enabled? Use comma(,) to separate them
    PointsCreeper = 5 #How many points do you get for killing Creeper
    MinimumPoints = 20 #Minimum points needed to be a winner and claim the prize.
    RewardEveryone = true #Should we reward everyone instead of just winners?
    PointsGhast = 1 #How many points do you get for killing Ghast
    FinishTime = 23600 #time when plugin stops counting mobs and announce the winners. Finish time must be greater than start time.
    EnableHighScores = true #Enable saving and displaying personal high scores of each player.
    StartTime = 13000 #Time when plugin will start counting mob kills
    MySQLConn = jdbc:mysql://localhost:3306/minecraft #MySQL Connection string (only if using MySQL)
    RewardParameters = 0 75-75,306 1-1;0 75-75,298 1-1,299 1-1,300 1-1,301 1-1;0 75-75,322 1-1;0 75-75,262 64-64;0 75-75,0 R0.5-3;264 1-1
    PointsSpider = 3 #How many points do you get for killing Spider
    MySQLUsername = root #MySQL Username (only if using MySQL)
    RewardParametersEveryone = 0 R1-1
    PointsZombiePigman = 3 #How many points do you get for killing Zombie Pigman
    SignUpPeriodTime = 0 #How many minutes before hunt starts will hunt be announced? In this period players have to sign up. Set to 0 to disable.
    StartChance = 100 #Chance to actually start the fight. Range is between 100 and 0.
    UseMySQL = false #true = use MySQL database / false = use SQLLite
    PointsZombie = 3 #How many points do you get for killing Zombie
    TellTime = true #allow plugin to display remaining time in the /huntstatus command.
    EnableReward = true
    
     
  20. Offline

    Qtinifier

    Any news on a fix for those multiple messages?
     
    Madmusk likes this.
  21. Offline

    KrisEike


    I changed your file a bit, and made it reward money.. It works, but i also get money, and i didn't turn on rewardEveryone ..

    Other than that, it seems to be working.
     
  22. Offline

    matejdro

    You probably have * permissions, which means you also have permission to monsterhunt.rewardeverytime

    @Qtinifier have you tried newest version?
     
  23. Offline

    Dharkk

    I just installed the plugin today (2 hours ago) and I'm getting multiple messages as well
     
  24. Offline

    matejdro

    Do you get multiple messages at the same time or is there delay?
     
  25. Offline

    Dharkk

    Same time, just spams it 6-8 times. Seems to be the night message and the "Not enough has signed up"

    -EDIT-

    Sign-up message is doing it as well, looks like its all of them.
     
  26. Offline

    dragonking

    for some reason the /hunt command does nothing since last update, /huntstatus works so i dont see it being permissions and i also checked if there was any changes that needed to be done. also it was working a min ago but the hunt lasted 300% and when it went around -3% it went back to 200% for some reason
     
  27. Offline

    jwideman

    Okay, I made the change to reward, and the hunt still never ends.
     
  28. Offline

    d3x

    SEVERE: Could not pass event ENTITY_DEATH to MonsterHunt
    java.lang.NullPointerException
    at com.matejdro.bukkit.monsterhunt.MonsterHuntEntity.onEntityDeath(MonsterHuntEntity.java:60)
    at org.bukkit.plugin.java.JavaPluginLoader$42.execute(JavaPluginLoader.java:338)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:60)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:214)
    at net.minecraft.server.EntityPlayer.f(EntityPlayer.java:99)
    at net.minecraft.server.EntityLiving.a(EntityLiving.java:387)
    at net.minecraft.server.EntityHuman.a(EntityHuman.java:307)
    at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:125)
    at net.minecraft.server.EntityMonster.a(EntityMonster.java:92)
    at net.minecraft.server.EntityCreature.d(EntityCreature.java:64)
    at net.minecraft.server.EntityLiving.o(EntityLiving.java:641)
    at net.minecraft.server.EntityMonster.o(EntityMonster.java:30)
    at net.minecraft.server.EntityZombie.o(EntityZombie.java:34)
    at net.minecraft.server.EntityLiving.b_(EntityLiving.java:226)
    at net.minecraft.server.EntityMonster.b_(EntityMonster.java:34)
    at net.minecraft.server.World.a(World.java:1059)
    at net.minecraft.server.WorldServer.a(WorldServer.java:57)
    at net.minecraft.server.World.f(World.java:1041)
    at net.minecraft.server.World.c(World.java:1018)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:313)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:232)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Feb 15, 2011 8:17:32 AM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event ENTITY_DAMAGEDBY_ENTITY to MonsterHunt
    java.lang.NullPointerException
    at com.matejdro.bukkit.monsterhunt.MonsterHuntEntity.onEntityDamageByEntity(MonsterHuntEntity.java:28)
    at org.bukkit.plugin.java.JavaPluginLoader$39.execute(JavaPluginLoader.java:323)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:60)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:214)
    at net.minecraft.server.EntityHuman.h(EntityHuman.java:371)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:711)
    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    at net.minecraft.server.NetworkManager.a(SourceFile:232)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:317)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:232)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
     
  29. Offline

    KrisEike

    Will be using iMonster untill MonsterHunt works properly. I'm tired of trying to make it work.

    Tell me when it's finished. I'll give it a shot. (again)

    Kris
     
  30. Offline

    Qtinifier

    I have the newest version :s
     
  31. Offline

    tremor

    I loved monsterhunt on hMod. Still needs a bit of work on bukkit though. With the multiworld support, possible to alias the worlds? my world name "world" kind of sucks. I suppose I could rename it but would rather just have monsterhunt give it an alias, or allow for even more message customization.. there are a few that seem hard coded.
     

Share This Page