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.
My issue still exists. Any ideas?
@jeremytrains
Never-mind, it fixed its self... lol.
@MinecraftRiftwalker
Can you please tell me the output of "/npcdebug" and any errors that show in your console.
Please help!
I have tried to get the plugin to work on my server, with the rest of them, and when I try to create an Npc with this command, /npc create Test It shows this warning, An internal error occurred while attempting to preform this command
Please help... I really want these NPCs.
Im using MCPC+ 109
NPCwarehouse v1.0.1-dev. I believe I grabbed build 43
@selfservice0
What build # are you using?
@selfservice0
What is the output of your /npcdebug command?
We are currently working on a new commands page because the previous one was hosted by our premium services site which no longer exists.
How can I stop my npc's from dying? They die every restart by suffocation.
Also your commands page is 404'd
@zForce00
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.
Try using the latest dev version of the plugin (found at http://ci.npcwarehouse.net/job/NPCWarehouse/lastSuccessfulBuild) and see if that fixes your problem. It could also be that you use Spigot, and I will look into that to see if that may pose any problems. If it does, I will make NPCWarehouse compatible with Spigot (if it is not already).
@jeremytrains
[INFO] WillerF issued server command: /npcdebug
[INFO] ==== NPCWarehouse Debug Report ====
[INFO] Plugin Version: 1.0
[INFO] Bukkit Version: git-Spigot-1134 (MC: 1.6.4)
[INFO] Stats: 0 regular, 0 guardians, 0 miners, and 0 mailmen (0 total)
[INFO] Spout Enabled: false
[INFO] Vault Enabled: false
[INFO] Right Click Selecting: true
[INFO] Crafting: true
[INFO] Spout Version: none
[INFO] Factions Version: none
[INFO] Vault Version: none
[INFO] ======= End of Error Report =======
@zForce00
What is the output of your /npcdebug command?
when I try to create an npc gives the following error: An internal error occured while attemping to perform this command
In console I get: >00:33:39 [INFO] WillerF issued server command: /npc create Notch
00:33:39 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'npc' in plugin NPCWarehouse v1.0 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:527) at net.minecraft.server.v1_6_R3.PlayerConnection.handleCommand(PlayerConnection.java:977) at net.minecraft.server.v1_6_R3.PlayerConnection.chat(PlayerConnection.java:888) at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:835) at net.minecraft.server.v1_6_R3.Packet3Chat.handle(SourceFile:49) at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:230) at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:117) at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37) at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:132) at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:594) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:240) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:483) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:415) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) Caused by: java.lang.NullPointerException at net.npcwarehouse.CommandHandler.createNPC(Unknown Source) at net.npcwarehouse.CommandHandler.runCommand(Unknown Source) at net.npcwarehouse.CommandHandler.onCommand(Unknown Source) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)//
@beefzilla
Great! Let me know if it stays online for you. Bug #1 and #3 that you reported I am working on a fix for and for #2 I am trying to identify the problem.
@glodore
Can you please explain more? I am not familiar with FTb Unleashed. I do not see an error report in your paste either. Can you paste specifically the error report? Is that paste from the client or server? As of what you posted, I don't see any problems.
@geode19
Thanks! I am not as familiar with MCPC, but I gave it a shot. I am compiling a new dev build right now (#43), see if that works for the error report at the end. As of the bugs: 1) Not quite sure, but may have fixed the problem 2) Any error reports? This could have been caused by the error report you identified at the bottom 3) That should be fixed, let me know if it is. I think the problem is that when an NPC moved, it's "base location" that the radius calculates from was not moved 4) Any error reports? 5) I added "/npc toggle" to go back to regular NPCs. Thanks! 6) Yes, that is expected due to the Bukkit SafeGuard 7) Should be fixed now, may have been the cause of the other bugs you listed
Hi! Just testing out this plugin and it looks great. (Works with MCPC+!) I was wondering if you would consider adding mob heads (item 397) to the list of acceptable armor items?
Thanks for all your work on this!
EDIT:
After a bit more testing of the stable 1.0 version on an MCPC 1.6.2-B97 server and the newest dev build on an MCPC 1.6.4-B107 server, I'm seeing the following issues:
- When I first create an NPC... it isn't there. I have to select the NPC and do /npc move to have it appear. I don't know if that's normal.
- When I set an NPC to follow me, I get a message that it's following me... except it doesn't. The NPC just stands in the same spot.
- I set an NPC to be a guardian and set its flags to ZOMBIE. It immediately started attacking a baby zombie that was hitting me... but as I moved around, the guardian just stood in spot, turning to face the zombie. Yet, he kept attacking the mob with his diamond sword even though the mob and I were about 10-15 blocks away... and he was still able to hit it!
- I added some other flags to the guardian and couldn't get it to hit anything else: I put it near a skeleton, then a pig. So I spawned a new guardian and set its flags to pig, moved it right next to a pig... and the guardian stood there looking at me. I tried toggling the aggro on/off, but no joy. (Just thinking, I don't think I gave this second guardian a weapon. Will guardians attack without a weapon?)
- A minor clarity issue: the command to make an NPC is "/guardian toggle"... but really it isn't really a "toggle" because if you run "/guardian toggle" again, it doesn't turn guardian mode off. Is there a way to set an NPC to remove a role without toggling it to another role? i.e. Just set it back to a dummy NPC?
- The 1.0.1 dev build doesn't work on 1.6.2... but I assume that's expected. It does work (with the above problems) with the 1.6.4 build. (Again, I'm running MCPC+, it may be different with other servers.)
- Finally, with both versions I found the error below repeatedly spamming my logs. I thought this might have had something to do with the "follow" command not working, but the errors appeared as soon as the NPCs were spawned, long before I tried to turn on follow:
error when creating an npc villager on FTb Unleashed
see http://pastebin.com/vct36A8c
HELP!
@jeremytrains
been using last build for about 2 and a half hours and it hasn't crashed yet :)
but for me that's not a big deal I just installed this as a alternative to the statues plugin
@beefzilla
Also, try the latest dev build.
@beefzilla
Thanks! I'm glad most bugs are fixed. I am working on the guardian bug right now.
Could you see if disabling guardians and/or the NPC's gravity fixes the crash? Thanks!
@jeremytrains
lots are fixed, the guardians attack and kill mobs now, couldn't get them to attack a player i used /guardian addflag p:playername and /guardian aggro and it wasnt attacking the player
it does work with vault installed now
unfortunately it still is crashing my server - same issue as previously, if i make a npc it works good but a few hours later the server crashes
Server crash report from today - http://pastebin.com/pWGMcJTN if you need a npcdebug report i can reinstall it and wait for it to crash again, i deleted the plugin and the folder since it was crashing (i did this before i saw your comment)