create virual players

Discussion in 'Plugin Development' started by dralletje, Sep 27, 2011.

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

    dralletje

    hello,

    I want my plugin to create virual players, is this possible?
    What I mean with virual player is not a npc, I mean something that acts for other plugins as a player. For example the virtual plaer could have a own iconomy balance, his own permission group and can be the owner of a worldguard region.

    How can I do that?
     
  2. Offline

    oxguy3

    Maybe you could create a Player object, or at least an OfflinePlayer. I'm not sure; play around with it.
     
  3. Create your own player object, Or, Actually, a NPC Would work fine (disable the whole viewpoint and such)
    I think you can ask @codename_B , I remember him working on something like it
     
  4. Offline

    codename_B

    Yeah - virtual CraftPlayers are all well and good - its the methods that are the kicker.
     
  5. See how I tagged you there? :p
    (The methods aren't that hard, I don't think)
    EDIT:
    You need your own NetServerHandler though I bet
     
  6. Offline

    thedog

    Can i help anyones plugins i am a noob at coding but i am willing to help
     
  7. Offline

    Evangon

    @thedog
    Please don't spam here.
    Asking for help won't get you anywhere...
     
  8. Offline

    sochio

    He asked that on my project too
     
  9. Offline

    dralletje

    So I have to create a Craftplayer object or a offlineplayer object?
    then I'll experiment a bit with those two, thanks :)
     
Thread Status:
Not open for further replies.

Share This Page