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 Jul 9, 2013Is there still a way to get premium? If there is, what am I missing if I don't get it? I am not sure if this is the cause but when I try to give an npc an item the server gives an error saying "Invalid command usage" Can anybody help me?
-
View User Profile
-
Send Message
Posted Jul 9, 2013@888888Zombies
I am in the process of making a wiki (wiki.npcwarehouse.net). Traders are not completely coded yet, so you can't use the command.
@Drati
Guardians will automatically attack if they are set to agressive (/guardian aggro). Miners mine at their current position by using /miner mine [structure].
@ProDaniel27
It will be when a Beta build comes out (developmental builds come out too often to support them.
-
View User Profile
-
Send Message
Posted Jul 5, 2013Hey will this be updated for 1.6.1????
-
View User Profile
-
Send Message
Posted Jun 30, 2013This may be listed in the 50+ pages of notes but how do you get a miner to mine, a guard to walk his post, etc.
Thank you in advance.
-
View User Profile
-
Send Message
Posted Jun 30, 2013How do you work the spout custom skins? Jeesh we need a wiki for this. PS: /trader help tells you to do /trader help, wtf?
-
View User Profile
-
Send Message
Posted Jun 25, 2013@djtmk
Please send me the output of the console error log.
@TomSparkLabs
That is a bug that will be fixed ASAP
-
View User Profile
-
Send Message
Posted Jun 24, 2013Everytime i reload or restart my server the plugin says "A error has occurred with NPCWarehouse! Did it start up correctly?" Idk how to fix this help
-
View User Profile
-
Send Message
Posted Jun 23, 2013@jeremytrains
My CONSOLE is getting spammed with "[INFO] gravity" Any ideas?
-
View User Profile
-
Send Message
Posted Jun 22, 2013@Blue_Mustache
org.bukkit.entity.Player.setDisplayName(String name) does not change the name above the head, it is just a name that plugins can use for chat/other purposes (it is the only customizable name) - see http://jd.bukkit.org/rb/apidocs/org/bukkit/entity/Player.html#setDisplayName(java.lang.String). I might be able to do this using packets, but that will take some time (basically I will have to do what the Spout plugin is doing myself). I can try, but I can't guarantee that it will be in the next update.
-
View User Profile
-
Send Message
Posted Jun 22, 2013Thank You, and No that wasn't. Here it is: http://dev.bukkit.org/bukkit-plugins/bethemob/
I just want to implement the setDisplayName (String name) feature for org.bukkit.entity.Player into the api.
-
View User Profile
-
Send Message
Posted Jun 21, 2013@Blue_Mustache
Is that the link you meant to paste?
@dmh412
They shouldn't be invincible (if you have PVP set to true in your server.properties file). I realize that the guardians aren't giving correct damage, and am working on a solution.
@robi217
That is a very complicated thing to do, but I can attempt it. I don't think I will be able to get it in the next update because I want to get Traders and bug fixes out.
-
View User Profile
-
Send Message
Posted Jun 21, 2013Hello!
I 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. You can save it in the plugin, then, you can load it, and playback on a selected NPC. You can set them to loop playback, too. So, you can use NPCs for "virtual actors" in machinimas, or simply make the places more alive.
Like in this plugin (But it's now outdated): http://dev.bukkit.org/bukkit-mods/actor/
-
View User Profile
-
Send Message
Posted Jun 19, 2013Would it be possible to make the NPC's not.. Invincible? I see that they can actually be killed but it is very glitchy and can really only be done with explosives as far as I see. Could they take damage like a normal player or mob? And also, they do 1 point of damage no matter what, even if they have a weapon. Could you fix this to where the weapon is actually in use for the NPC?
-
View User Profile
-
Send Message
Posted Jun 17, 2013@jeremytrains Thanks for the input, and help. To my knowledge there is a way to change the name. Ive seen many plugins before change the server side name of a player, I simply want the npc to do that same thing.
http://dev.bukkit.org/bukkit-plugins/npcwarehouse/
Above is an example of a plugin, that sends packets, so change the players appearance to another skin, and change their name. Of course there are many other plugins that will just change your name. Oh well. Thank You Have a great summer!
-
View User Profile
-
Send Message
Posted Jun 16, 2013@dmh412
To give an NPC armor, hold it in your hand and use /npc armor (after selecting the NPC). The change the NPC type use "/[type] toggle", for example, you should use:
/trader toggle /guardian toggle /miner toggle /mailman toggle
-
View User Profile
-
Send Message
Posted Jun 16, 2013@Blue_Mustache
Unfortunately, based on my current knowledge, the way Minecraft works is the clients take the skins from the Minecraft website. Since the NPCWarehouse plugin is on the server side, I cannot edit the client's code. Since the client takes the skins from the Minecraft website, the only way to change the skins but not the name is by modifying the client's code (exactly was SpoutCraft does). SpoutCraft modifies the client code to allow bukkit plugins to do things that they couldn't do before, for example change skins. So, I can set the display name (a name that could be used in chat, or as a placeholder), but not the name above the head. Sorry.
The miners are part of the plugin right now - use /miner
@Blue_Mustache
Yep, that was my accidental debugging statement. Thanks!
-
View User Profile
-
Send Message
Posted Jun 15, 2013I think fixticker.class is your "gravity" spam problem. I think you probably already knew that, but here it is.
System.out.println("gravity"); localNPCData.npc.getEntity().onGround = false;
-
View User Profile
-
Send Message
Posted Jun 15, 2013@jeremytrains I just meant adding a function into the API to be able to change the name header of the NPC, but not NPC's player skin. Like say instead of having a NPC named Notch, with Notch's skin. I want to be able to say, so Notch's skin, but have it say, paulsoarsjr, or whatever. Just rename the NPC, but not change the skin, bottom line. Thank You for listening! And are the miners your talking about on the website, going to be in an update? Or are they part of another optional plugin?
-
View User Profile
-
Send Message
Posted Jun 15, 2013How do I give NPC's armor and make them into certain types of npcs like guardian, traders, etc?
-
View User Profile
-
Send Message
Posted Jun 14, 2013@Blue_Mustache
I'm not quite sure what you mean by a Name String changer. Could you explain? I think I know the problem and will try to figure it out (NPCWarehouse has to manage all packets for the NPCs manually, because the NPC does not have a physical client. It must not be sending a death packet, which I can fix by sending it). In the next version (v0.1), I am actually going to release traders built into NPCWarehouse. So, you might want to wait to see if what I have built into the plugin satisfies your needs, and if not I can create events such as TraderTransaction, TraderStartTrading, TraderEndTrading, etc. that you can work with.