Towncandy

From Lord of the Craft
Jump to: navigation, search

Towncandy is a plugin which allows the creation of NPCs, these NPCs are capable of speaking lines or handing out items to players who right-click them. They also can be given player models if their name is that of a player skin. NPCs are only available to VIPs who donate $50 or more (Gold VIP or higher,) with more NPCs granted the higher the VIP level you are; you will receive one extra NPC when donating from Gold VIP to Diamond VIP, and two extra per rank from then on.

Commands

To get to the command list for the plugin, simply type /tc, /npc or /towncandy. You should then be presented with a list of commands with small descriptions. These commands are as following:

/Npc create [name] Creates a new NPC, any variables that take the place of [name] or come after it will become the NPC's name. Once it is created, it should also display its ID number in the chat too.

/npc list This will list all of your NPCs, along with their IDs. It is handy to use when you need to find the ID of one of your NPCs.

/npc tp [id] This will teleport the NPC with the ID specified to you. It may also face the position in which you are currently standing while it is teleported.

/npc remove [id] Removes the NPC with the specified ID.

/npc chat [id] Lists all the chat messages that the NPC with the specified ID can say to players when right-clicked, along with all the message IDs to help with other commands.

/npc chatadd [id] [message] Adds a new chat line to the NPC with the ID specified. /npc chatrem [id] [index] Removes the specified message in