Ability to customise mobs which naturally spawn?

Discussion in 'Archived: Plugin Requests' started by mmulqueen10, Nov 11, 2013.

  1. Offline

    mmulqueen10

    Not so much a request as it is an idea really. :p

    I run a classic survival style server and thought it would be quite cool if I could modify the mobs that spawn naturally during the night to make the game more interesting. Here's an example of what I was thinking:

    In a regular Overworld you have zombies that spawn during the night. This plugin would allow you to define "different classes" of existing mobs. So say we have Zombie 1, Zombie 2 and Zombie 3 all defined in a config file. Zombie 1 is just your bog standard vanilla zombie. Zombie 2 is geared up in diamond armour and Zombie 3 is riding a zombie horse. The plugin would then make these custom classes of zombie spawn naturally during the night.

    This is what I picture the config file looking like:
    ----------
    Mobs:
    Zombie1:
    Mob_Type: Zombie
    Spawn_Chance: 70
    Health: 20
    Weapon: null
    Armour: Helm: null Chest: null Legs: null Boots: null
    Mount: null

    Zombie2:
    Mob_Type: Zombie
    Spawn_Chance: 20
    Health: 30
    Weapon: diamond_sword
    Armour: Helm: diamond_helmet Chest: diamond_chestplate Legs: diamond_leggings Boots: diamond_boots
    Mount: null

    Zombie3:
    Mob_Type: Zombie
    Spawn_Chance: 10
    Health: 30
    Weapon: iron_sword
    Armour: Helm: null Chest: null Legs: null Boots: null
    Mount: zombie_horse
    ----------

    The only commands I can think that this plugin really needs is a debug command to test that the mobs defined in the config spawn correctly along with a version command, both restricted under a "pluginname.admin" permission. I picture the mob spawning where the player is looking ad the command looking like this:

    /spawntest [name from config]

    Just an idea. :) I don't know a lot about Java so please let me know if what I'm proposing isn't possible. :p
     
  2. Offline

    Xacero

    mmulqueen10
    It's certainly possible, I was thinking of doing something like this in the near future :)
    See my MoreCreepers plugin as an example (it's even possible to change the entities behaviour)

    If I do decide to release something like this I'll be happy to message you. :)
    It's not something I'd like to work on at the moment though, preoccupied with other projects and I did something too similar to this just recently for me to be interested .

    I wish you the best! :)
     
    mmulqueen10 likes this.
  3. Offline

    DS1995

    mmulqueen10 likes this.
  4. Offline

    mmulqueen10

    Thanks for the replies guys. :) if you could get it to work DS1995 that would be perfect! If not though then no worriers. :) I think getting mobs to ride horses and attack the player will be the complicated bit, because the horses AI is passive they won't charge at the player. They'll just wait for you to get close. :/

    There's no rush so take your time with it, and if it's not possible then don't worry. :)
     
  5. Offline

    DS1995

    You are right with the horse part. That is compicated. I tried to do it, but it couldn't do it. Sorry, but you have to look to another developer.
     
  6. Offline

    mmulqueen10

    No worries dude, thanks for giving it a try though! :)

    Xacero, if you do decide to work on a plugin like this please do message me. If not then no worries, :) Might have a play around with your MoreCreepers plugin in the time being, it looks quite entertaining. :p
     
  7. Offline

    Xacero

    mmulqueen10

    I'm glad you like it! Thank you for the feedback, I'll be sure to message you when/if I get around it it :) Have a nice day!
     
    mmulqueen10 likes this.
  8. Offline

    Evildude221

  9. Offline

    mmulqueen10

    Evildude221

    That's pretty much what I was hoping for. I can swear I had a thorough look before I posted this ha haa. :p thanks dude!
     
  10. Offline

    Evildude221

    mmulqueen10
    No worries, it took me weeks of digging through plugins before i saw someone mention that on a very old thread.
     

Share This Page