Disguising Players

Discussion in 'Plugin Development' started by davidclue, Oct 29, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    davidclue

    So is there a way to disguise a player as a mob like connect them as an entity so when the mob takes damage the player does to? I can't find anything that doesn't involve just using an api and I don't want to use an api because then I need multiple dependencies.
     
  2. Offline

    CraftCreeper6

    @davidclue
    Spawn the mob you want to disguise them as, when the player moves, teleport the mob. Hide the player. Animations I believe you can do with packets.

    When the entity takes damage, damage the player.
     
  3. Offline

    Kars

    There are plugins that do this.
    That doesn't seem very inconspicuous to me. You can make the mob move naturally, can't you?

    If you can't hide the player, you can use multiple worlds.
     
  4. Offline

    CraftCreeper6

    @Kars
    Probably, not looked much into it.
     
  5. Offline

    davidclue

    No doing that is not achieving what I'm asking, I want to change the entity id of the player to a mob and that will handle all of the animations and damage.
     
  6. Offline

    CraftCreeper6

    @davidclue
    Good luck then. It's going to take a while and I'm not even sure where you'd start. I'd just use a dependency that does it for you.
     
  7. Offline

    Kars

    If you already know how you are going to do it, why are you asking us for help?
    Also, you are contradicting yourself.
    If you are going to use packets you will need an API.
    So what exactly are you asking? For us to make this happen for you?
    Good luck.
     
  8. Offline

    davidclue

    wdym you don't need a dependency for packets lol thats built in the craftbukkit jar which everyone using the plugin has to even run a server, and I'm asking why changing the ID to a player does absolutely nothing using entity.d(ID).
     
  9. Offline

    Kars

    Good luck doing it without ProtocolLib.
    Because that's not how it works.
     
  10. Offline

    davidclue

    It's fine I got it to work without protocol lib or any other api's just took some time.
     
Thread Status:
Not open for further replies.

Share This Page