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.
Thanks for understanding Preston104. I am currently not offering support for MC 1.0.0 until bukkit has come out with a stable, recommended build for MC 1.0.0. Things could change in that RB that will fix bugs that we have now. Currently, I am working on fixing the item system. I don't know what is wrong, but I am investigating.
@Holty96 Could you please post the error message that you get and tell me what build you are using?
Deleting them isnt a problem for me, just the items. But give him some time guys, the plugin was only just released. therres gonna be some bugs
I get internal server error message when I try and delete NPC's! Could you fix this please
@jeremytrains Cool. Looking foward to it, cause curently i just disable the plugin when im ofline so it doesnt have potential to crash us from the spam
ERRORS AND BUGS UPDATE:
I think I just fixed this, wait for v0.1.2 coming out soon. On startup, just look at what the plugin says and the plugin will tell you if you have the most up-to-date version
@AStevensTaylor GREAT! WONDERFUL IDEA! I LOVE IT! I will put that on my to-do list! Thanks!
@Lextao Awsome! I will try!
Thanks for the great ideas, once I fix the item-giving error, I will add these in too!
An alternative version of outdated citizens plugin?? Great!!
Maybe you could add CitizensSpout features which is dead too :P
Feature Suggestion
Ability to craft NPC's, similar to snow golems, just with 3 pieces of wool and a sign that has their name and a [NPC] tag :)
I'm not sure why they both had the id 11, in the code that is impossible. After you delete the first one, select npc #11 again and try deleting it again. Still working on the item bug
Okay. But i made two and they both had the id 11 and when i deleted one, the other didnt go so it is just kinda.... chilln XD
I'm working on the item error now, I think I might have found the problem.
The message will not work, I just said you can set the message, but the message wont do anything at all. Dont worry about the message until later.
I think there is a bug in the item system, I will try to fix it.
You should be able to make a maximum of 1000 npcs. (After that the entire system will glitch and screw up - will put a fix to this in later versions). If you cant delete an npc with a command, you can do a hard reset of that npc. Instructions are below:
Hard Reseting an NPC
1) Stop your server
2) Make a backup of your NpcData.txt file
3) Open up the plugins/NPCWarehouse/NpcData.txt in any text editor
4) In side there is going to be a lot of data - each line is an npc
5) Find a line that starts with [npc's id]:... where the "npc's id" is the id of the npc that you want to reset
6) erase that line in the npc data (get rid of the blank line you just created too)
7) restart your server
That should completely delete the npc.
15:36:49 [SEVERE] at java.lang.Thread.run(Thread.java:722) 15:36:49 [SEVERE] java.lang.NoSuchMethodError: net.minecraft.server.Entity.aa()V 15:36:49 [SEVERE] at org.martin.bukkit.npclib.NPCManager$1.run(NPCManager.java:45) 15:36:49 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
that is what it says. Over and over and over and over
And I cant figur out how to make the message XD Would you type the comand you would use for the name..... Bill and he is gonna say Welcome!
Okay Im just gonna keep posting minor bugs on this. If i Make two people called Archer. And i select one. And give him an item, when i select the other, it wont give him a item
And im not sure, but i dont think you can make more than 11 NPC cause i cant delete one of mine XD
@Preston104:
1) Could you put the server log on pastie or post it in a comment please? I can't fix the error without the error message
2) The walking around and saying a short message was actually my next feature to make! I have already given the npcs a message to say and set the command up (/npc create [name] [opt. message - Default: "Hello!"]) You actually can set the npc's message right now with the command above, it just wont do anything (in the NpcData.txt it says [id]:[message]:[world]...). Those features will come out in v0.2 (probably within the next few weeks)!
Never mind. I figured out how to do everything, But when i go to give a NPC an item it kicks me with an internal server error. But it Does spam the shit out of my councle. Wich is kinda anoying. And the only thing els i recomend. is making them be able to walk around in a selected path, and to give like a short message like "Hello!"
Okay, theres a bug or something, When i add it, it spams the shit out of my councle then eventually crashes it with a internal server eror
^_^ I been looking for a nice clean simple NPC plugiin (without MySGl) now I found one!
Use "/npc help" in-game for a list of commands. This is a list off of the top of my head:
/npc create [name] - Create an npc
/npc remove - Remove the npc
/npc select [id #] - Select an npc
/npc rename [new-name] - Rename an npc
/npc move - Move an npc
/npc item [item-name] - Give an npc an item
command list?
@Preston104 Its the time that you have been waiting for....
NPCWAREHOUSE VERSION 0.1 IS NOW RELEASED AND READY FOR DOWNLOAD IN THE FILES SECTION! BEFORE DOWNLOADING/USING - Please read the note in the thread about version 0.1 Thank you!
Currently this only has the capabilities of any other npc plugin (though it is the only one for 1.8.1). The factions/spout hooks will come in later versions
I hope so XD