cant spawn custom mobs

Discussion in 'Support' started by ironflame, Mar 12, 2019.

  1. ironflame

    ironflame New Member

    Joined:
    Mar 12, 2019
    Messages:
    4
    Likes Received:
    0
    I've been looking around for 2 days now to figure out how to spawn them since for some reason they wont work. i can only seem to spawn vanilla mobs.

    /mm m spawn EndTheif:1 Server_world,129,70,-374

    error message: no mob type found with the name EndThief.

    this happens with the one that is already in the plugin called skeletal knight.
     
    #1
  2. Nexto

    Nexto Member

    Joined:
    Dec 3, 2017
    Messages:
    74
    Likes Received:
    8
    You dont need the add the : at EndTheif:1, another problem you need to check is if the chunks are loaded or not.
     
    #2
  3. ironflame

    ironflame New Member

    Joined:
    Mar 12, 2019
    Messages:
    4
    Likes Received:
    0
    i made sure to do it in the chunk i was in and i tried it without the ":" but it didn't help but am i supposed to do the type of the enemy in the .yml file for the mob or the name of it.
     
    #3
  4. Nexto

    Nexto Member

    Joined:
    Dec 3, 2017
    Messages:
    74
    Likes Received:
    8
    You should type the internal mob name, maybe the mob config is wrong. If you are trying to spawn the mob at yourself you can use /mm m s EndTheif
     
    #4
  5. ironflame

    ironflame New Member

    Joined:
    Mar 12, 2019
    Messages:
    4
    Likes Received:
    0
    EndThief:
    Type: SKELETON
    Display: &4EndThief
    Health: 350
    Damage: 10
    Armor: 16
    BossBar:
    Enabled: True
    Title: EndThief
    Range: 20
    Color:
    Style:
    CreateFog:
    DarkenSky:
    PlayMusic:
    Faction:
    Mount:
    Options:
    FollowRange: 20
    MovementSpeed: 0.4
    Modules:
    AIGoalSelectors:
    AITargetSelectors:
    Drops:
    DropsPerLevel:
    DamageModifiers:
    Equipment:
    - Chain_helmet:4
    -Chain_chestplate:3
    -Chain_leggings:2
    -Chain_boots:1
    -iron_sword:0
    KillMessages:
    LevelModifiers:
    Disguise:
    Skills:

    thats the mob config i have right now. im trying to get the bare minimum to at least get it to spawn to .later learn over time mythic but i also tried with the skeletalkight and i didn't work with the other command. the same error message comes up.
     
    #5
  6. Nexto

    Nexto Member

    Joined:
    Dec 3, 2017
    Messages:
    74
    Likes Received:
    8
    Okay. That config is just awful and totally wrong.
    This is how it should be

    Code:
    EndThief:
      #Remember to TAB the things!!!
      Type: SKELETON
      #Always write the display inside a ""!
      Display: "&4EndThief"
      Health: 350
      Damage: 10
      Armor: 16
      BossBar:
      # When you specificate about a propertie like Enabled for BossBar, always TAB them once more!
        Enabled: True
        Title: EndThief
        Range: 20
      # You cant leave these fields blank or mythicmobs wont know how to make the bossbar!
        Color: RED
        Style: SOLID
        CreateFog: false
        DarkenSky: false
        PlayMusic: false
      Faction:
      Mount:
      Options:
        FollowRange: 20
        MovementSpeed: 0.4
      Modules:
      AIGoalSelectors:
      AITargetSelectors:
      Drops:
      DropsPerLevel:
      DamageModifiers:
      Equipment:
      # Here you had Chain_helmet, chain_chestplate, ... those items wont work!
      # Chain isnt a name for armor, its chainmail!
      - Chainmail_helmet:4
      - Chainmail_chestplate:3
      - Chainmail_leggings:2
      - Chainmail_boots:1
      - iron_sword:0
      KillMessages:
      LevelModifiers:
      Disguise:
      Skills:
    Also, i suggest to dont add things you are not using yet, they just make the whole code worse, heres a compact example of the mob
    Code:
    EndThief:
      Type: SKELETON
      Display: "&4EndThief"
      Health: 350
      Damage: 10
      Armor: 16
      BossBar:
        Enabled: True
        Title: EndThief
        Range: 20
        Color: RED
        Style: SOLID
        CreateFog: false
        DarkenSky: false
        PlayMusic: false
      Options:
        FollowRange: 20
        MovementSpeed: 0.4
      Equipment:
      - Chainmail_helmet:4
      - Chainmail_chestplate:3
      - Chainmail_leggings:2
      - Chainmail_boots:1
      - iron_sword:0
    Important! If you have ANY errors usually the whole mob file gets fucked up (thats why you couldnt spawn skeletalknight either), so if it isnt working, try moving the mob to his own file.
     
    #6
    ironflame likes this.
  7. ironflame

    ironflame New Member

    Joined:
    Mar 12, 2019
    Messages:
    4
    Likes Received:
    0
    i just tried the code it worked but i have to use the name Angrysludge to spawn it in for some reason. i put it in a new YML file just in case. it seems to have replaced it in some way. is this like a 1 off thing if i make another it will be fine. i also don't need the angrysludge anyway.

    Edit: it seems to be overlapping some how because its doing a attack were it gives you a poison effect which its not supposed to do but the angrysludge does.

    Edit: now the same error message from before is happening when trying to spawn it.
     
    #7
    Last edited: Mar 13, 2019
  8. Nexto

    Nexto Member

    Joined:
    Dec 3, 2017
    Messages:
    74
    Likes Received:
    8
    Do you have the same mob in the new & old file? in that case you would be giving mm 2 internal names and i think it can do what hapened to you when you do that, anyway, talk me on my discord for this, its way easier and faster XD Nexto#3180
     
    #8

Share This Page