NPCWarehouse
NPCWarehouse
Add customizable NPCs to Minecraft!
NPCWarehouse Team: jeremytrains and zsscooby
| Latest Recommended Build | Files | |
| Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk. | ||
| Jenkins Server for Dev Builds | Jenkins | |
| NPCWarehouse Wiki | wiki.npcwarehouse.net | |
| Facebook Page | facebook.com/NPCWarehouse |
News
NPCWarehouse now has a Wiki! http://wiki.npcwarehouse.net
Description
NPCWarehouse is an NPC plugin designed for RolePlaying servers (Can be used on Creative and SMP servers as well, but not focused on this). NPCWarehouse will link in with other role playing plugins (ex. Factions, PermissionsEx, mcMMO, Spout/Spoutcraft) for a great npc experience. A list of NPC features is below. Currently this plugin is run and coded by jeremytrains, but if you would like to help or contribute, just post below! Help is always appreciated (If you decide to help, I will send you the source code).
Features for NPCs
- Customize the NPC's name, messages, armor, items, and more!
- Name an npc with a player's name and the npc will get the player's skin
- Only the NPC's owner can edit the NPC
- Have the NPC send messages to other NPCs on other servers or the same server! (Mailmen)
- Have the NPC fight alongside with a faction or against mobs/players (Guardians)
- Have the NPC sell or buy items with players (Traders)
- Have the NPC dig tunnels for players (Miners)
- Permissions support (Must be using Vault)
- Set the npc's skin and cape (Spout + SpoutCraft required)
- Customizable settings in a config.yml file
- Create NPC's without a command (place wool on top of sand)
- More features to come!
NPC Types
- Guardian - fights mobs and players
- Trader - sells and buys items with players
- Mailman - delivers messages to players on the same server or different servers
- Miner - digs tunnels for players
MailMen
Mailmen allow you to connect two NPCs on either the same server or different servers, and send messages between the two of them. Players read their mail by going to the MailMan NPC and reading their inbox, just like a regular mailman. Note: By enabling mailmen, you agree to send information (NPC IDs, NPC names, your IP and Port, and any mail messages sent) to NPCWarehouse.net in order to transfer the messages between servers.
Permission Nodes
Click Here to view a list of commands and permission nodes on our wiki
Author's Channels and Streams
zsscooby's Youtube Channel
jeremytrains' Youtube Channel
zsscooby's Live Stream
Submitting A Bug
All Bugs should be submitted here
New Bukkit SafeGuard
The new Bukkit safeguard is described in detail here. NPCWarehouse does use Minecraft/CraftBukkit code outside of the API. This means that the safeguard does affect NPCWarehouse. You will need to have a new version of NPCWarehouse for every new version of Minecraft. I will do my best to get a compatible version released ASAP after an update, and add new features after a version is compatible.
Version Check
Don't know what version of the plugin your jar file is? You can use the NPCWarehouse version check by going to http://ci.npcwarehouse.net/fingerprintCheck, uploading your file, and it will tell you which build number the jar file is from. The version check will work with all recommended versions of the plugin (downloaded here) after v0.9.3, but it will work with any version downloaded from the Jenkins server.
-
View User Profile
-
Send Message
Posted Feb 14, 201418:53:53 [WARNING] [NPCWarehouse] Task #51 for NPCWarehouse v1.1.2 generated an exception 18:53:53 java.lang.NullPointerException 18:53:53 at net.npcwarehouse.type.guardian.GuardianTicker.run(GuardianTicker.java:25) [?:?] 18:53:53 at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:53) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] 18:53:53 at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] 18:53:53 at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:587) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] 18:53:53 at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] 18:53:53 at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] 18:53:53 at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] 18:53:53 at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
-
View User Profile
-
Send Message
Posted Feb 5, 2014@Dudemister1999
Please try Build #59 on the Jenkins website.
@tata1210
It should not conflict, but if it does please let me know any errors you receive and I will be happy to make my plugin compatible with Heroes.
@Akarshi
What is the output of /npcdebug
-
View User Profile
-
Send Message
Posted Jan 31, 2014is this compatible with heroes pluggin?
i know other NPC pluggins conflict with heroes because heroes tries to give the npcs a class
-
View User Profile
-
Send Message
Posted Jan 29, 2014@jeremytrains
When will come out the next fix of the version? Its currently very annoying when its spamming my console!
-
View User Profile
-
Send Message
Posted Jan 28, 2014Hey... Hey! I just got the 1.6.4 version of this, I only really need them to stand there and look pretty in my town. Though every single time I create an NPC they're not there.. they are somewhere else in the word, ground, sky or wherever but not where I need them to be. When I go to /npc select it doesn't select the NPC I want, No matter which NPC ID I put. "Invalid NPC ID"
-
View User Profile
-
Send Message
Posted Jan 27, 2014Is there right click to run a command? The wiki doesn't show much of the features.
Also can you add a reload command
-
View User Profile
-
Send Message
Posted Jan 27, 2014@Dudemister1999
Indeed! I have the same neverstoping error spaming console bug when I create a npc guardian on flags!
-
View User Profile
-
Send Message
Posted Jan 26, 2014I get a very large and constant error when I have the NPC's follow me:
[19:15:34] [Server thread/WARN]: [NPCWarehouse] Task #54 for NPCWarehouse v1.1.2 generated an exception java.lang.ClassCastException: net.npcwarehouse.entity.MCEntityHumanNPC cannot be cast to net.npcwarehouse.entity.MCEntityHorseNPC at net.npcwarehouse.pathing.pathfinder.PathFinder.pathStep(PathFinder.java:242) [?:?] at net.npcwarehouse.pathing.pathfinder.PathFinder$2.run(PathFinder.java:66) [?:?] at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:53) [bukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [bukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:587) [bukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [bukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [bukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [bukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [bukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks]
-
View User Profile
-
Send Message
Posted Jan 19, 2014@ZenTauren
Zsscooby is in charge of the wiki. Please email him at zsscooby@npcwarehouse.net with any bugs or errors with the wiki.
-
View User Profile
-
Send Message
Posted Jan 18, 2014It just says something in French when you go into permissions on the wiki.
-
View User Profile
-
Send Message
Posted Jan 16, 2014Everybody:
I have confirmed the error and working on a fix. Build number 54 on the Jenkins server currently works on 1.7.2 (the builds after it are broken)
-
View User Profile
-
Send Message
Posted Jan 15, 2014just noticed but the download is for 1.7.2-R0.2 while the version of bukkit I'm using is 1.7.2-R0.3 so that might be the problem. oops!
-
View User Profile
-
Send Message
Posted Jan 15, 2014I might make it clear that the current 1.7.3/4 of this plugin is broken. Players cannot create NPC's. As everyone else did, I also received this in reponse from /npc create <name>: "An internal error occurred while attempting to perform this command."
-
View User Profile
-
Send Message
Posted Jan 14, 2014I too get the An internal error occurred while attempting to perform this command.
In the pastebin that follows is the console error imemdiatelt after typinf the command to create an npc with my name and below that separated by dashes is the result of when I typed /npcdbug:
http://pastebin.com/N0ysra7Z
-
View User Profile
-
Send Message
Posted Jan 14, 2014@jeremytrains
Oh sorry.
[14:24:07 INFO]: Mature94 issued server command: /npc create Bob Hi [14:24:07 ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'npc' in plugin NPCWarehouse v1.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [cra ftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2982jnks] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:19 6) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2982jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServe r.java:542) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2982jnks] at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerCon nection.java:932) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2982jnks] at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java :814) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2982jnks] at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java :28) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2982jnks] at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat .java:47) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2982jnks] at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146 ) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2982jnks] at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craf tbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2982jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:6 55) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2982jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:2 50) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2982jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:5 45) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2982jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java :457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2982jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:6 17) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2982jnks] Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(Unknown Source) [?:1.7.0] at java.util.ArrayList.get(Unknown Source) [?:1.7.0] at net.npcwarehouse.NPCCommandHandler.createNPC(NPCCommandHandler.java:6 08) [?:?] at net.npcwarehouse.NPCCommandHandler.runCommand(NPCCommandHandler.java: 106) [?:?] at net.npcwarehouse.util.CommandHandler.onCommand(CommandHandler.java:19 ) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [cra ftbukkit.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2982jnks] ... 13 more
... 13 more
-
View User Profile
-
Send Message
Posted Jan 14, 2014@Mature94
I can't help you unless you post the error log and the output of /npcdebug
-
View User Profile
-
Send Message
Posted Jan 14, 2014I'm using R: v1.1 for CB 1.7.2-R0.2 Jan 07, 2014 and I'm not sure if it's my fault or the server, but I get "An internal error occurred whilte attempting to perform this command"
-
View User Profile
-
Send Message
Posted Jan 12, 2014I'm using the current dev build but every time I /npc create I get "An internal error occurred whilte attempting to perform this command"
-
View User Profile
-
Send Message
Posted Jan 12, 2014@InsomniaCraft
Citizens and NPCWarehouse do have many similar features, but some differences are that this plugin has different npc types. Npcwarehouse can have guards link with factions, can create stable masters to help players travel by horse, and can create mailmen to allow players to send mail to other players on the same or different srver
-
View User Profile
-
Send Message
Posted Jan 12, 2014What is the difference between this and Citizens 2 /Denizens?