Inactive [MECH]Horde v1.02 - Spawns monsters on a user set timer [740 - 766]

Discussion in 'Inactive/Unsupported Plugins' started by Sam_Lex, Apr 27, 2011.

  1. Offline

    Sam_Lex

    Horde - The Havok Creating Plugin
    Version: v 1.02

    CREEPERS EVERYWHERE!! Well not quite... This plugin spawns a random or users set number of monsters, each random, on a user set timer, within a user set distance of a randomly selected player. This plugin also lets you disable monsters burning in sunlight.

    Features:
    • Spawns random monsters
    • A user set or random amount
    • On a user set timer
    • Within a user set distance
    • Of a randomly selected player
    Download Horde(DropBox)
    Source(Github)

    How to use:
    When the plugin is first loaded, a new properties file(called HordeProperties) is created. By default, the timer is at 30 seconds (the first line), the number of monsters is set at 0 (the second line) (when set to 0, the plugin randomly chooses a number between 1 and 10), the distance is set to 50 blocks (the third line) and the last line sets whether monsters burn in sunlight (true for they don't, false for they do). Just change the values as you see fit (just a warning, don't use notepad, use another text editor and keep the format the same)


    Change Log:

    Version 1.02 (Version 1.03 on git(Typo))
    • Mobs now spawn reliably
    • The spawning is run through Bukkit's scheduler making it thread safe
    • The spawning location checks are now more extensive (is the mob going to spawn in mid-area with these coordinates kind of checks)(so extensive in fact I had to add a time out to stop the server freezing as it tried to find a suitable location). Even with theses editions, I still get a few mobs spawning under ground and in walls but the frequency is less, can't work out why though :S
    • You can now choose the amount of mobs you want to spawn, none of this spawning about a million at once and crashing the server when you just wanted 1.
    • Removed player listener as it is no longer used
    Version 1.01
    • Fixed NullPointerException reported by MineralMC
    Version 1
    • Released Horde
    ToDo:
    • Add in spawns for the other monsters (at the moment, only creepers, zombies, spiders and skeletons are spawned)
    • Rework the properties file
    • Multiworld support (different timers, different worlds) (suggested first by Asymetrikon)
    • Choose which mobs are to spawn (suggested first by haita)
    • Settable likely-hoods of each mob spawning (idea first suggested by Adam Bilbaeno)-
    • Time limitations (only at night, only during day, all the time)(suggested first by xlilcasper)
    • Message to alert the server who has been targeted (first suggested by RomaClanServer)
    • Ability to set area's where Horde is to operate only-
    • Configurable messages on Horde spawns
    • Horde events can be set by time of day (real time) not by timer, or time of day to start timer (this and two above first suggested by H4Mmr3)-
    I would like to thank omnirusted for the idea
     
  2. Offline

    Sam_Lex

    Really sorry guys. I go on holiday tomorrow. I'm going to try and get this finished when I'm away but don't think I'm going to have internet access while I'm away so if I finish it when I'm away, I'll need to wait till I get back. Sorry again, I know this plugin hasn't been working for ages
     
  3. Offline

    Jazy Lopez

    kk Thanks, At least it will be updated :D
     
  4. Offline

    sfxworks

    Update for build 1k?
     
  5. Offline

    Greylocke

    I'd like to setup farm or zoo kind of areas where there is always a certain population of a specific mob. If these items from the ToDo list were implemented:
    • Add in spawns for the other monsters (at the moment, only creepers, zombies, spiders and skeletons are spawned)
    • Choose which mobs are to spawn (suggested first by haita)
    • Ability to set area's where Horde is to operate only
    ...and add something to maintain a target population, then I think that this plugin would solve my problem!
     
  6. Offline

    Sam_Lex

    Ok guys, I'm going to come clean and be honest. I haven't been working on this for the last few weeks and need to get back into doing it. I'm going back to school soon so that should get me used to working again and the next update of this will be out soon. Sorry about this, I know some people want to use this plugin...
     
  7. Offline

    Sam_Lex

    Right, it is obvious that I have not got much of Horde done recently. This is mainly because I have had so much school work to do. As such I have decided that for the moment I am only going to be updating this plugin to keep it working with the current Bukkit/Minecraft version. The next update to bring it up to v1185 will also include a few new features. I will not forget about the suggested improvements and these may be added at a later date, once my school work load has decreased. The next version should be out within the next two weeks.
     
  8. Offline

    Mrono

    soooo....
     
  9. Offline

    Sam_Lex

    Finally getting a chance to work on the long-over due update. As soon as a recommended version of Bukkit comes out for Minecraft 1.0, Horde will be good to go ^_^
     
  10. Offline

    GarretSidzaka

    use the dev build ci.bukkit.org

    oh yeah and message me when this is done plz OMG

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

    Sam_Lex

    That's version 2.0 for Minecraft 1.0 released (finally!). I have put everything on BukkitDev, waiting for approval. I can't really be bothered updating this page to reflect the new version but the download and source links have been updated. Head over to BukkitDev (link at top) to see all the new joys :)
     
  12. Offline

    DefiasDerNekro

    Just after starting it
    java.lang.IllegalArgumentException: Cannot spawn an entity for org.bukkit.entity.Monster
    at org.bukkit.craftbukkit.CraftWorld.spawn(CraftWorld.java:824)
    at org.bukkit.craftbukkit.CraftWorld.spawn(CraftWorld.java:655)
    at org.bukkit.craftbukkit.CraftWorld.spawnCreature(CraftWorld.java:323)
    at uk.samlex.horde.HordeSpawner.run(HordeSpawner.java:145)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:493)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Config:
    async: false
    multi: true
    checks: high
    Default:
    timer: 30
    number of monsters: 0
    random cap: 10
    min distance: 20
    max distance: 50
    sunburn: false
    time start: 0
    time stop: 24000
    server message: $Player $p_was/were targeted by $Creature on $World
    player message: You have been targeted by a $Creature
    creature:
    blaze: false
    cave spider: false
    chicken: false
    cow: false
    creeper: false
    ender dragon: false
    enderman: false
    ghast: false
    giant: false
    monster: true
    mushroom cow: false
    pig: false
    pig zombie: false
    sheep: false
    silverfish: false
    skeleton: false
    slime: false
    spider: false
    squid: false
    villager: false
    wolf: false
    zombie: false
    world:
    timer: 30
    number of monsters: 0
    random cap: 10
    min distance: 20
    max distance: 50
    sunburn: false
    time start: 0
    time stop: 24000
    creature:
    blaze: false
    cave spider: false
    chicken: false
    cow: false
    creeper: false
    ender dragon: false
    enderman: false
    ghast: false
    giant: false
    monster: true
    mushroom cow: false
    pig: false
    pig zombie: false
    sheep: false
    silverfish: false
    skeleton: false
    slime: false
    spider: false
    squid: false
    villager: false
    wolf: false
    zombie: false
    muchroom cow: false
    server message: $Player $p_was/were targeted by $Creature on $World
    player message: You have been targeted by a $Creature
    world_nether:
    timer: 30
    number of monsters: 0
    random cap: 10
    min distance: 20
    max distance: 50
    sunburn: false
    time start: 0
    time stop: 24000
    creature:
    blaze: false
    cave spider: false
    chicken: false
    cow: false
    creeper: false
    ender dragon: false
    enderman: false
    ghast: false
    giant: false
    monster: true
    mushroom cow: false
    pig: false
    pig zombie: false
    sheep: false
    silverfish: false
    skeleton: false
    slime: false
    spider: false
    squid: false
    villager: false
    wolf: false
    zombie: false
    muchroom cow: false
    server message: $Player $p_was/were targeted by $Creature on $World
    player message: You have been targeted by a $Creature
    world_the_end:
    timer: 30
    number of monsters: 0
    random cap: 10
    min distance: 20
    max distance: 50
    sunburn: false
    time start: 0
    time stop: 24000
    creature:
    blaze: false
    cave spider: false
    chicken: false
    cow: false
    creeper: false
    ender dragon: false
    enderman: false
    ghast: false
    giant: false
    monster: true
    mushroom cow: false
    pig: false
    pig zombie: false
    sheep: false
    silverfish: false
    skeleton: false
    slime: false
    spider: false
    squid: false
    villager: false
    wolf: false
    zombie: false
    muchroom cow: false
    server message: $Player $p_was/were targeted by $Creature on $World
    player message: You have been targeted by a $Creature
    PS: I'd love the plugin to not say anything if it spawns stuff ,but if i delete the server and player message, its always regenerated.
     
  13. Offline

    Sam_Lex

    OK, try putting false for all the options that say "monster: true". Don't know if I should have it trying to spawn monsters directly - think I'll remove. I'll have a look it to the server and player message regenerating. Btw when you say you delete them do you remove them completely from the config? I maybe need to reword the config explanation cause to stop the message you need to have "server message: " and "player message: " and not remove them from the list. Hope this helps :)
     
  14. Offline

    DefiasDerNekro

    1. Thanks for helping, the problem is that i only installed the plugin to bring a player-like looking mob-invasion to the server, so it would sock if you removed monsters =(
    2. Yea, i removed everything but the server message: and the other one. Still regenerates...
    Gotta love those monsters =P

    EDIT: Monsters are those aggressive mobs with steve skins, arent they? If they are, i meant them ; )
     
  15. Offline

    Sam_Lex

    Yeah I think so. I'll look into both issues and see if I can get them sorted. PLanning on doing an update this weekend anyway :)
     
  16. Offline

    Sam_Lex

    For the second issue try putting '' for the messages and see if that works
     
  17. Offline

    blainicus

    I highly suggest people interested in this plugin check out Monster Apocalypse.
     

Share This Page