fullwall / Citizens

An NPC plugin for bukkit.
Other
35 stars 7 forks source link

More NPC Text Editing Features #140

Open Bogden400 opened 13 years ago

Bogden400 commented 13 years ago

Currently, there is only /npc set and /npc add. This is a pain if you make a typo on the 5th line of an NPCs text. Currently, you have to either edit the config, or start all over.

Request for new commands: Replace: Replaces line X with whatever comes after the X. Undo: Undoes the last NPC text command used. Keep a memory of multiple commands issued? Insert: Adds a line of text after (before?) line X. Swap: Swaps lines A and B View: Displays the text of line X

Possible command restructuring for NPC text editing commands? /npc text Replace X ____? /npc text Undo? Or perhaps just /text?

Configurable End Tag: At the moment, I am manually adding "&b..." to the end of any lines of NPC text to indicate that the NPC has more to say. Could you add a configurable tag option for this? Some people might prefer tags like "&a-->". Along with this, a configurable tag to indicate that the NPC is out of text. Like "&2--|" or "&4!" And then also, possibly add an option to remove the tags from certain NPCs, and/or remove the tags from NPCs that use randomized messages.

It would be nice to be able to have per-npc options for whether or not their lines of text are random. Also, when copying NPCs, please have text copy as well.