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 Aug 9, 2013@jeremytrains
Yes it does but i have another question what are the flags for the guardian?
-
View User Profile
-
Send Message
Posted Aug 9, 2013@Nire_Inicana
Ok, so that fixed it?
-
View User Profile
-
Send Message
Posted Aug 9, 2013@jeremytrains
Thanks I didn't realize my server was using java 6x32 instead of java 7x64
-
View User Profile
-
Send Message
Posted Aug 8, 2013@Nire_Inicana
Make sure you are running the latest java version on your server. What version are you using? Also, try re-downloading and see if that fixes it.
-
View User Profile
-
Send Message
Posted Aug 5, 2013@Wolfy262
The correct command usage is:
/trader add sell DIAMOND_SWORD 600
-
View User Profile
-
Send Message
Posted Aug 5, 2013When I do /trader add sell Diamond Sword $600 It comes up with INVALID ITEM NAME, what's wrong?
-
View User Profile
-
Send Message
Posted Aug 5, 2013How do you set prices on items
-
View User Profile
-
Send Message
Posted Aug 4, 2013@jeremytrains
8/4/2013 6:06:54 PM [SEVERE] Could not load 'plugins\NPCWarehouse.jar' in folder 'plugins' 8/4/2013 6:06:54 PM org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: net/npcwarehouse/NPCWarehouse : Unsupported major.minor version 51.0 8/4/2013 6:06:54 PM at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) 8/4/2013 6:06:54 PM at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) 8/4/2013 6:06:54 PM at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) 8/4/2013 6:06:54 PM at org.bukkit.craftbukkit.v1_6_R2.CraftServer.loadPlugins(CraftServer.java:239) 8/4/2013 6:06:54 PM at org.bukkit.craftbukkit.v1_6_R2.CraftServer.<init>(CraftServer.java:217) 8/4/2013 6:06:54 PM at net.minecraft.server.v1_6_R2.PlayerList.<init>(PlayerList.java:56) 8/4/2013 6:06:54 PM at net.minecraft.server.v1_6_R2.DedicatedPlayerList.<init>(SourceFile:11) 8/4/2013 6:06:54 PM at net.minecraft.server.v1_6_R2.DedicatedServer.init(DedicatedServer.java:106) 8/4/2013 6:06:54 PM at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:391) 8/4/2013 6:06:54 PM at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) 8/4/2013 6:06:54 PM Caused by: java.lang.UnsupportedClassVersionError: net/npcwarehouse/NPCWarehouse : Unsupported major.minor version 51.0 8/4/2013 6:06:54 PM at java.lang.ClassLoader.defineClass1(Native Method) 8/4/2013 6:06:54 PM at java.lang.ClassLoader.defineClassCond(Unknown Source) 8/4/2013 6:06:54 PM at java.lang.ClassLoader.defineClass(Unknown Source) 8/4/2013 6:06:54 PM at java.security.SecureClassLoader.defineClass(Unknown Source) 8/4/2013 6:06:54 PM at java.net.URLClassLoader.defineClass(Unknown Source) 8/4/2013 6:06:54 PM at java.net.URLClassLoader.access$000(Unknown Source) 8/4/2013 6:06:54 PM at java.net.URLClassLoader$1.run(Unknown Source) 8/4/2013 6:06:54 PM at java.security.AccessController.doPrivileged(Native Method) 8/4/2013 6:06:54 PM at java.net.URLClassLoader.findClass(Unknown Source) 8/4/2013 6:06:54 PM at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) 8/4/2013 6:06:54 PM at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) 8/4/2013 6:06:54 PM at java.lang.ClassLoader.loadClass(Unknown Source) 8/4/2013 6:06:54 PM at java.lang.ClassLoader.loadClass(Unknown Source) 8/4/2013 6:06:54 PM at java.lang.Class.forName0(Native Method) 8/4/2013 6:06:54 PM at java.lang.Class.forName(Unknown Source) 8/4/2013 6:06:54 PM at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) 8/4/2013 6:06:54 PM ... 9 more
-
View User Profile
-
Send Message
Posted Aug 4, 2013@Peter234
Try re-downloading.
@DaddyBee
Thanks! I am trying to work out the kinks (I am still working on fixing the gravity thing. For some reason I have created a quicksand like thing - the npcs get stuck in the ground)
@DaddyBee
Please post your config.yml
@Linrox
Unfortunately (due to the bukkit SafeGuard - out of my control), the plugin is not backwards compatible.
@ReikoYourBro
Check errors during plugin startup.
@lubin78
Post any errors you get. What versions are you using?
@Finbarbairan
Please post any error logs you have in the console
@Nire_Inicana
The build server was down for a few days due to technical difficulties, but it is back online now.
-
View User Profile
-
Send Message
Posted Aug 3, 2013I am sorry I can not seem to access the jenkins build server
-
View User Profile
-
Send Message
Posted Aug 2, 2013I am using the dev build that the owner posted in the comments on page 2 and it works fine. The only glitch I have is that if I restart the server 1 time, the /npc list command doesnt list the names and if I restart 2 times, it removes them all. Any suggestions?
-
View User Profile
-
Send Message
Posted Jul 30, 2013When i add this .jar to my plugins folder it doesnt expand when i start my server;therefore i cant use this plugin. Help! this seems like the best npc plugin out there
-
View User Profile
-
Send Message
Posted Jul 30, 2013When trying to run the command /npc create to create an NPC, I get this error: http://pastebin.com/tzhkH64q Help?
-
View User Profile
-
Send Message
Posted Jul 27, 2013@jeremytrains
Thanks Jeremy for the update. My server is not yet at 1.6.2, only because i am still waiting for a lot of other mods to release their 1.6.2 version. Thanks again, I will check it out soon and let you know. Is you plugin backwards compatible? 1.5.2. I know there were are lot of stuff in 1.6.2 that broke many parts, so maybe not. Ok, Thanks
-
View User Profile
-
Send Message
Posted Jul 27, 2013Hi jeremytrains, upon further testing, the npc i created works well until i convert it into a guardian. If i add flags now, the npc is referred to as "null" not the name i assigned it to be...and that is the time errors on the server appears...
*************** 15:18:29 [SEVERE] Could not pass event NpcEntityTargetEvent to NPCWarehouse v1.0 -dev org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:462) at com.topcat.npclib.nms.NPCEntity.b_(Unknown Source) at net.minecraft.server.v1_6_R2.EntityHuman.r(EntityHuman.java:416) at net.minecraft.server.v1_6_R2.EntityHuman.c(EntityHuman.java:408) at net.minecraft.server.v1_6_R2.EntityLiving.l_(EntityLiving.java:1254) at net.minecraft.server.v1_6_R2.EntityHuman.l_(EntityHuman.java:157) at net.minecraft.server.v1_6_R2.EntityPlayer.h(EntityPlayer.java:221) at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java :345) at net.minecraft.server.v1_6_R2.Packet10Flying.handle(SourceFile:136) at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296 ) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java :118) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:3 0) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:5 90) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:2 26) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:4 86) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java :419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:5 82) Caused by: java.lang.NullPointerException at java.util.regex.Matcher.appendReplacement(Unknown Source) at java.util.regex.Matcher.replaceAll(Unknown Source) at java.lang.String.replaceAll(Unknown Source) at net.npcwarehouse.NPCData$MessageManager.formatMessage(Unknown Source)
at net.npcwarehouse.NPCData.chat(Unknown Source) at net.npcwarehouse.PlList.NPC_CHAT(Unknown Source) at net.npcwarehouse.PlList.onEntityTarget(Unknown Source) at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:425) ... 20 more 15:18:45 [SEVERE] Could not pass event NpcEntityTargetEvent to NPCWarehouse v1.0 -dev org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:462) at com.topcat.npclib.nms.NPCEntity.b_(Unknown Source) at net.minecraft.server.v1_6_R2.EntityHuman.r(EntityHuman.java:416) at net.minecraft.server.v1_6_R2.EntityHuman.c(EntityHuman.java:408) at net.minecraft.server.v1_6_R2.EntityLiving.l_(EntityLiving.java:1254) at net.minecraft.server.v1_6_R2.EntityHuman.l_(EntityHuman.java:157) at net.minecraft.server.v1_6_R2.EntityPlayer.h(EntityPlayer.java:221) at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java :345) at net.minecraft.server.v1_6_R2.Packet10Flying.handle(SourceFile:136) at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296 ) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java :118) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:3 0) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:5 90) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:2 26) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:4 86) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java :419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:5 82) Caused by: java.lang.NullPointerException at java.util.regex.Matcher.appendReplacement(Unknown Source) at java.util.regex.Matcher.replaceAll(Unknown Source) at java.lang.String.replaceAll(Unknown Source) at net.npcwarehouse.NPCData$MessageManager.formatMessage(Unknown Source)
at net.npcwarehouse.NPCData.chat(Unknown Source) at net.npcwarehouse.PlList.NPC_CHAT(Unknown Source) at net.npcwarehouse.PlList.onEntityTarget(Unknown Source) at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:425) ... 20 more *****************
Hope this could help you update/fix the plugin.
DaddyBee
-
View User Profile
-
Send Message
Posted Jul 27, 2013Hi Peter234, im using bukkit 1.6.2 build 2812 and i tried the latest successful build #33 of this NPCWarehouse plugin. The plugin loaded fine on the server, and i was able to create an NPC, i made it into a guardian and added the zombie and creeper flag. It attacks, and it moves okay. The only error i got was when the NPC got stuck on the ground and can't move. I tried to respawn it but it just stood there, the server had a few errors too. So i just restarted the server and it went back to normal again. A few more fixes would make this a stable plugin. Nice work jeremytrains!
DaddyBee
-
View User Profile
-
Send Message
Posted Jul 26, 2013Hi , I keep getting this error when I start up my server. I have tried using all versions of your plugin and none of them seem to work. I am running CraftBukkit 1.6.2. Here are my errors.
And When I try to create an Npc
-
View User Profile
-
Send Message
Posted Jul 25, 2013@Linrox
Did the fix work?
-
View User Profile
-
Send Message
Posted Jul 25, 2013thank you
-
View User Profile
-
Send Message
Posted Jul 24, 2013@antikx
Create a regular NPC (/npc create [name]), select the NPC, and then toggle it to a guardian (/guardian toggle). Then you can use the guardian help command (/guardian help) to view all of the commands to use to configure the guardian.