Creating 'Dummy' Player?

Discussion in 'Plugin Development' started by belven000, Feb 6, 2014.

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

    belven000

    All I need is a way of spawning an entity of type player with name as default or something, just to test my healer class. It doesn't need to do anything at all.
     
  2. Offline

    DogeDev

    belven000 Trust me, it's a lot more work to spawn a fake player than it is to just get a friend online to test it with you. ;)
     
  3. Offline

    L33m4n123

    or run it in offline-mode true and log in a second time
     
  4. Offline

    belven000

    I'm happy to do offline-mode if it will work.

    But I'd rather make a test player :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 6, 2016
  5. Offline

    hubeb

    belven000 I've got just the thing to help you out.
     
  6. Offline

    xTrollxDudex

    It isn't thy simple. This takes you deep into minecraft internals, which will undoubtedly break your server or your plugin. There are good purposes and bad purposes for making NPCs, this is a bad reason to make one.
     
  7. Offline

    belven000

    Well, I need to test out using abilities on player e.g. my healer healing another player, and as most people on my server work alternate hours I need something that is of type Player to test this on.

    Sorry for the late reply, Thanks a lot :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 6, 2016
  8. Offline

    hubeb

Thread Status:
Not open for further replies.

Share This Page