Creating fakeplayer

Discussion in 'Plugin Development' started by hqSparx, Dec 27, 2011.

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

    hqSparx

    Hello, could u tell me how to create fake player (new instance of Player)?
     
  2. Its not easily accomplished..You can either use the NPCLib (Available in the resources section) by Top_Cat, or talk to @codename_B , as I remember he tried something a while ago
     
  3. Offline

    Razorcane

    You mean like a Player that isn't actually logged in? There's an OfflinePlayer class for that.
     
  4. Offline

    hqSparx

    the problem is I cant pass offlineplayer to for eg. worldguards 'canbuild' function
     
  5. I'd ask @zml2008 if he can maybe change that :)
     
Thread Status:
Not open for further replies.

Share This Page