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 Jun 14, 2013@jeremytrains: Thank You for responding, I hate to be a bother. If you could add a Name String changer to the API, that would be very much appreciated. And also, the NPC did not dissappear, and he was still following me, with his pathfinding (good code). Thank You for responding, and your hard work. Keep up the good work! Hope to see the newest version! - BlueMustache
P.S. Would it be possible, since im making a MineColony recreation, could I add a player Interact Event on the NPC, to make a kind of villager trading interface to the npcs? Could I do this with the API. Ive seen this done with NPCs before. Like on the shotbow newtworks Wasted game, PauseUpause has a shop interface.
-
View User Profile
-
Send Message
Posted Jun 13, 2013@Blue_Mustache
You will have to use Spout and SpoutCraft to change the skin but not the name (if the method is not in NPCData, I can add it to the API). For some reason, my debugging statement was accidentally left in the plugin (I was trying to create gravity for NPCs). When you can still see the NPC after it is blown up, try logging out and back into the server, if that doesn't work, I may know how to fix it. The NPCs are automatically in the SURVIVAL gamemode, so it should be gone. Thanks for pointing out some important bugs - I will get to work ASAP. Thanks!
-
View User Profile
-
Send Message
Posted Jun 12, 2013@jeremytrains Thank You very much! I will be sure to try that! I had been trying before to take apart the HerobrineAI plugin, and use that to make a MineColony plugin. That was a little much for my brain! However, using this plugin will make recreating the long unupdated MineColony mod, easier. And one more thing, within the API. I know you can create an NPC, with a players skin. But, for putting the MineColony skins into real people, Ill have to make fake players, such as "VillagerMaleNpc1" on the minecraft website. But if I import the NPC with the regular createncommand, he will have that name. I however would like to change the name of the NPC after It is created. So he has the cool skin, but something more like John Doe than "VillagerMaleNpc1. Is changing the name of the NPC, but not the player skin, possible? Thank You!
P.S. I made a button, so when my friends are offline, I can spawn NPCs of them. :) However, I found an annoying bug, when an NPC is alive, and flying to follow a player, it spams the console with the word "gravity", and laggs my server out. And do the NPCs not die if your in Creative? Mine said they gor blown up, but I could still see him, but monsters ignored him.
-
View User Profile
-
Send Message
Posted Jun 12, 2013@Blue_Mustache
There actually is an API, it just isn't documented yet (I am still working with Javadocs and soon there will be a javadoc on the website). All you have to do is create an NPCWarehouseAPI object. The API will then find the NPCWarehouse plugin and link into it:
Then, you can check if it found NPCWarehouse and the API was setup by calling:
That method will return a boolean of whether or not the API is usable.
By the way: I just remembered: in all version out right now, it is net.npcwarehouse.api.API, and you need to create an object of the type API. In version 1.0 (coming soon), it is renamed to NPCWarehouseAPI to avoid confusion.
Like I said, I will have a JavaDoc out soon.
EDIT: The javadoc is now available at npcwarehouse.net/javadoc - Just keep in mind that the JavaDoc is updated to the upcoming version 1.0, so method names may be different and some may not exist yet.
-
View User Profile
-
Send Message
Posted Jun 12, 2013I love this plugin! Although, could you add an API? No specifically a source, but a way that I could make a plugin, that could create and control my npcs. I want to recreate MineColony for Bukkit. But I cant figure it out on my own. If you could a add an api, something like "Java Plugin Extends NpcWarehouse" that would be awsome. If you could release the source, that would be even better. If not, I completely understand, and good luck on the Project! P.S. A good example of an api can be found at: http://dev.bukkit.org/bukkit-mods/bethemob/pages/be-the-mob-api/ Thank You for your time!
- BlueMustache
Keep calm and continue Programming.
-
View User Profile
-
Send Message
Posted Jun 12, 2013I have an idea. For example, instead of paths, you can record gestures (like moving, opening a chest, fight with another NPC, pushing a lever, etc.), and when you start recording, you only have to do what you want from the NPC to do. Then, you can playback it on the selected NPC. You can set them to loop playback, too. So, you can use NPCs for "virtual actors" in machinimas.
Like in this plugin (But it's now outdated): http://dev.bukkit.org/bukkit-mods/actor/
-
View User Profile
-
Send Message
Posted Jun 10, 2013@Speedysnail6
Restart the server or use the bukkit reload command (/reload)
-
View User Profile
-
Send Message
Posted Jun 9, 2013How do you reload the config?
-
View User Profile
-
Send Message
Posted Jun 4, 2013@aidkeithproff
I'm going to need access to all NPCWarehouse commands to help debug and for you to be online.
@SammyT291
I have planned it and can try to put it in the next update.
@rich_crafter
Please send me the output of /npcdebug
@theohelland
I can't help without the log.
@iggabuga
You will be able to once traders are released
@EclipseGaming
I will reply ASAP
-
View User Profile
-
Send Message
Posted Jun 4, 2013@jeremytrains
I'm sorry, but I use a hosted server, and its very hard to see the server log, since very little actually shows up on the "Console" window. And I cannot see what it says from the server.log, since there's just too much text :l
-
View User Profile
-
Send Message
Posted Jun 2, 2013Can you customise what the NPC's trade?
-
View User Profile
-
Send Message
Posted May 31, 2013Hey um the guardian thing still doesnt work
-
View User Profile
-
Send Message
Posted May 29, 2013Hello, So I installed this on my server and after twelve hours, it bugged out... Npcs Teleported everywhere, I was no longer owner of them and I couldn't select them with my hand, Intsead I had to use the command. Does anyone know why this is happening? Please help.
-
View User Profile
-
Send Message
Posted May 28, 2013Hey,
I like the plugin, is there any plans to add a Cost feature so that creating an NPC costs money, i think this feature would make the plugin more friendly towards survival servers.
as i don't want just anyone creating NPCs straight away :-)
Thanks, Sam.
-
View User Profile
-
Send Message
Posted May 27, 2013@jeremytrains hi i tried to apply this plugin to my server a while back but it wasn't updated i just got it again and its not creating a folder in my plugins folder it just shows the NPCWarehouse.jar file i would really appreciate it if i could get this plugin it looks awesome! If you would like to join my server its OmegaCraft 99.25.182.7:25565 Thanks Again, aidkeithproff
-
View User Profile
-
Send Message
Posted May 26, 2013@jeremytrains
Ok, I'll wait for next update. :) And if you want to translate this plugin in Czech or Slovakia, I can do that for ya. :)
-
View User Profile
-
Send Message
Posted May 26, 2013@Thedragonmaster90
Can you please post the error in the console during startup?
-
View User Profile
-
Send Message
Posted May 26, 2013@jeremytrains
i did...
-
View User Profile
-
Send Message
Posted May 25, 2013@DaleTherson
I am not finished coding the traders yet, so they are not currently functional. I hope to complete them soon.
@theohelland
There should be an error in the console during startup. Can you post that?
-
View User Profile
-
Send Message
Posted May 25, 2013@jeremytrains
Thx, but what I have to write to make NPC trader (I tried '/trader toggle' but it doesn't seems to do something :D) What should I do?