[FUN] DwDNPC - Add NPC Statues to your Server [1.4.7-R1.0]

Discussion in 'Archived: Plugin Releases' started by BillyGalbreath, Nov 28, 2012.

  1. Offline




    Quote from DwDMindCrack:
    DwDNPC is easy to install. All you need to do is drop it into your plugins folder with no configuration needed! DwDNPC is highly Lightweight using barely any resources! How can it get any easier, wait we will tell you, just a couple of commands for adding, removing, reloading & setting aware radius for your NPC statue! More advanced tweaking can be done for mob types and messages to make your NPC talk!

    Now Supports Mob Type NPCs!

    Updated to 1.4.7!
    Please be sure you do not mix CB versions. This plugin is highly dependable on the CB version. Mixing WILL cause errors!

    These are just a few of the many things DwDNPC has to offer, more coming soon!
    • Creation of any Player username!
      • Does in fact show that users skin, if Premium
      • Multiple NPC's with same name (v2.0.0+)
        • Each NPC is identify by a unique ID
          • Right-Click (with nothing in hand) to determine NPC ID
    • Added ability to create Mob type NPCs (v2.3.0+)
      • Creepers
      • Zombies
      • Skeletons
      • Sheep
      • Cows
      • etc...
    • Set Armor to an NPC (v1.2.0+)
      • You can place armor on any PLAYER NPC (not a mob-type) by right clicking with the armor in hand
      • Right click with AIR (nothing in hand) to remove all armor AND the item in hand (v2.5.0+)
    • Set the item in hand (v2.5.0+)
      • NPCs can hold anything you can hold. Just right click them while holding an item and the NPC will hold it too.
      • Right click with AIR (nothing in hand) to remove all armor AND the item in hand
    • Add 1-liner chat messages to make your NPCs talk! (v2.2.0+)
      • Customizable radius per NPC for triggering message
      • Includes variables like {world}, {npc}, {name}
    • Very low resource demand!
    • Easy setup
    • Metrics Support
    Downloads & More Information
    Bukkit Dev Page: http://dev.bukkit.org/server-mods/dwdnpc/
    Commands/Permissions: http://dev.bukkit.org/server-mods/dwdnpc/pages/permissions-configuration/
    Configuration: http://dev.bukkit.org/server-mods/dwdnpc/pages/configuration/
    madmac likes this.
  2. Offline


    Having issues with this plugin. It seems to work very well at first, spawns NPC "statues" just fine, including skins, etcetera. They even look around. But after a while, if you leave their vicinity and then try to go to where another one is, or return to it, they won't look at you anymore, they appear to be frozen in place. The server is giving me this error:

    2012-11-30 16:42:13 [WARNING] [DwDNPC] Task #5 for DwDNPC v2.1.0 generated an exception
    java.lang.NoClassDefFoundError: org/kitteh/vanish/VanishPlugin
        at net.downwithdestruction.dwdnpc.DwDNPC.isVanished(DwDNPC.java:96)
        at net.downwithdestruction.dwdnpc.runnables.LookAtPlayer.run(LookAtPlayer.java:32)
        at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:53)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
        at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:529)
        at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222)
        at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
    Any ideas what's causing this?


    Fixed it actually. I'm running Essentials 2.9.5, I believe, and even though I had /vanish off at the time, it still seemed to register a glitch with it. I simply installed the VanishNoPacket plugin in addition and typed /vanish, which apparently made me visible again, and it's working. So just a suggestion for those running Essentials, go ahead and add VNP as well.
  3. Offline


    I look into this as its a serious issue. VNP is not intended to be a required dependency, but an optional one. I'll have this fixed asap.

    Note, that no other /vanish support is added so if you use /vanish from something other than VNP then the NPCs will still look at you when you are invisible (I personally do not support Essentials, and never will).


    I am unable to replicate this issue on my test server using DwDNPC v2.1.0 and Essentials v2.9.5 on Bukkit 1.4.5-R0.2

    Which version of my plugin and which version of Bukkit are you running on?
  4. Offline


    Updated to v2.2.0

    Added the ability to add 1-liner messages to the NPCs to be displayed to users that come within the triggering radius.
    madmac likes this.
  5. Offline


    Is there going to be a option to disable that they will look at players? So when you create them they stare that way.
  6. Offline


    Updated to v2.3.0
    • Updated NPCLib
    • Added missing (previously removed) methods for future use
    • Added ability to create Mob type NPCs (villagers, creepers, cows, sheep, spiders, etc)
    • Added new fields to the config.yml
      • skin-mobs-range (double)
      • skin-mobs-delay (integer)
      • npcs.id.mobtype (string)

    I was originally going to do just that, and not have them look at you, but the way Mojong made living entities work is weird. I can set the direction they look at just fine, but if you go too far away and come back to them they are always facing south.

    I had to put in a delayed repeating task to keep them looking where I wanted, and ended up just making them look at players instead of wasting an entire thread like that.

    However, I will add it in to make them look in a certain direction only since its now been officially requested. Expect to see it in one of my upcoming updates. ^_^

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 30, 2016
  7. Offline


    Why not use Citizens?
  8. Offline


    Citizens haves to much features for me that I don't use. This is less resource intensive.
    madmac likes this.
  9. Offline


    As Wesleydeman stated, Citizens has way too many features to it, which make it bloated and very resource hungry. On my server (DwD) we use to use Citizens for our statues. We didnt use the questing system, or much of anything else. However, for each NPC we added to our server we dropped 2 TPS of performance.

    DwDNPC is what I've built to replace Citizens for our own needs to keep things running smooth and clean. We now have about 50 NPCs on our server with zero TPS loss. I'm not saying my plugin is better, I'm just saying it runs smoother without all the extra bells and whistles most people didnt use anyways.

    For some people, Citizens is still a better choice. But for most, like me, this just runs smoother and does exactly what we need.
    MikeA and madmac like this.
  10. Offline


    This rocks, and noticible performance increases occur when using this plugin, too. Thanks a ton!
    madmac likes this.
  11. Offline


    Just wanted to make this aware and open. Bukkit has commited a code change that will break this plugin, and 689+ other plugins starting with CB 1.4.5-R0.3

    We are stressing our points to them to revert this change, but so far our requests have fallen on deaf ears.

    If you would like to learn more, and possibly speak your mind about the issue, please have a read through the lengthy comments section of the commit itself over at github:



    And no worries, I'll still be updating this plugin regularly for you guys. The biggest downside is those updates will now take longer to build, and it will take much much much longer for bukkit to approve my updates (and everyone else's).

    Sorry for any inconvenience this has caused to any of you.
    dylanisawesome1 and joshwenke like this.
  12. Offline


    Last edited by a moderator: May 30, 2016
  13. Offline


    Last edited by a moderator: May 30, 2016
  14. Offline


    How is it that we make it so our NPC's can talk... I put it into the config file as it was on the example you show but it just broke the whole plugin...
  15. Offline


    Explain the difference from this and Citizens.
  16. Offline


    Be sure you aren't using tabs in the config.yml - Tabs will break it.

    Here is a sniplet of a simple NPC that will talk when you come within 5 blocks of it:

        name: BillyGalbreath
        world: Survival
        x: -158.0
        y: 63.0
        z: 314.0
          radius: 5.0
          say: <{npc}> Hi there!
    Also, be sure you are using DOUBLES instead of INTEGERS. HEre is the difference between the two types:

    Integer: 10
    Double: 10.0

    Pretty simple.

    The difference is Citizens is a full blown NPC plugin with questing and special NPC types that all interact differently with the users (like NPC characters in an RPG game). Its very advanced and way bloated for my own needs.

    DwDNPC is a very lightweight NPC plugin that doesnt have questing abilities and all the fancy bells and whistles that comes packed with Citizens. As a result, DwDNPC runs smoother and faster, with _way_ less resources being used on the server.

    My NPCs simply stand there like statues, and they will talk to users that come within range if the server admin has setup messaging on that NPC.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 30, 2016
  17. Offline


    I will try it out some time.
  18. как скачать )
  19. Offline


  20. Offline


    Bug: When you have a npc of a person and that persons tames a wolf the wolf will go to the npc instead of the real player.
  21. Offline


  22. Offline


    I'll try it out because Citizens is screwed up.
  23. Offline


    Hey BillyGalbreath, I have a question: Let's say I don't like the skin a npc has currently, how can you change it?

    - ScreamingDragon
  24. Offline


    Use a different name. The skin is tied to the Minecraft account username. This cannot be changed without a client mod, which I do not support with this plugin.

    DwDNPC v2.7.2 is out!
    • Updated to CB 1.4.7-R1.0 (Recommended Build)
    Quick Download Link:

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 30, 2016
  25. Offline


    So how do you do the mob npcs?.. cuz I'm making player npc's fine but cant for the life of me get the mob ones to work
  26. Offline


    I'm no longer developing DwDNPC. I've remade the plugin from the ground up under a different name, though. Check it out: dev.bukkit.org/server-mods/pl3xnpc/
    Feindbild likes this.
  27. Offline


    I love the plugin dwdnpc, I will make sure to check out your new plugin!
  28. Offline


    hey BillyGalbreath I was wondering whenever I do:
    /dwdnpc create [name]
    it comes up with;
    /dwdnpc [function] (arguments)
    Please can you help

Share This Page