CitizensText icon

CitizensText -----

Allows NPCs from Citizens to speak.




Changelog:
  • Each message command can now be configured individually to fire from the console or automatically
  • Fixed a bug with "&x" color codes not being handled by the plugin
----------, Apr 19, 2021

Changelog:
  • Fixed a NullPointerException when using /text sound add for the first time on a message.
----------, Feb 14, 2021

Changelog:
  • Added support for 1.16 hex colors through the format "&#xxxxxx" where x is a hexadecimal character
  • Fixed a bug when migrating commands and sounds from old text datas
----------, Jan 20, 2021

Changelog:
  • Fixed a NPE when clicking on the NPC
----------, Jan 5, 2021

Changelog :
  • Fixed exception when adding a command for the first time on a text
  • Fixed saving issues
  • Fixed weird text in command when editing a message
  • Allowed console to use /text
----------, Jan 4, 2021

Changelog:
  • Added /text delay <id> [delay] to configure the delay between texts per-message ("continueAfter" option in config.yml is used by default).
  • Fixed /text list
  • Fixed loading errors with old datas
  • Included bStats Metrics
----------, Dec 4, 2020

Changelog:
  • Cleaned up code, datas file size will be smaller
  • Added /text edit <id> <new message> to edit the content of a message without deleting sounds and commands
  • Added /text player <id> to make the message sent by the player instead of the NPC
    • New option in config.yml:
      Code (YAML):
      # Format of the text. Placeholders: 0 for player's name ; 1 for message ; 2 for message id ; 3 for messages amount
      playerTexts
      : "§6[{2}/{3}] §e§l{0} :§r§e {1}"
    • This would be used to create dialogs, I. E.: upload_2020-12-3_20-11-9.png
----------, Dec 3, 2020

Changelog :
  • Added an option in config.yml named keepTime which defines how many seconds the NPC will keep memory of the conversation it has had with the player. Past this time, the conversation will come back to its beginning.
  • Fixed a bug with "/text cmd auto" not properly saved.
Check the new GitHub repository!
----------, Mar 9, 2020

Changelog :
  • Fixed another IllegalArgumentException due to the "radius talk" system
  • Auto-dispatch of commands is now enabled by default.
----------, Jan 1, 2020

Changelog :
  • Fixed an IllegalArgumentException due to the "radius talk" system
----------, Nov 9, 2019

Changelog :
  • New config option: leftClick. When enabled, the player will have to left click instead of right click.
  • Fixed a bug with worlds
----------, Aug 26, 2019

Changelog :
  • New command: /text repeat (enabled by default). When disabled, the player will be able to talk only one time to the NPC (well, more accurately, he will not be able to talk to him until the end of the 64bit time unit, so the 4th of december, year 292277026596, at 15:30 and 7 seconds.)
  • Playback time is now saved in the data file
  • Fixed a bug with /citizens reload
----------, Aug 4, 2019

Changelog :
  • Possibility to have 2 identic strings on the same NPC
  • Fixed exception on PlayerMoveEvent when players aren't on the same world
  • Texts from deleted NPCs no longer are removed from data file
  • More tests on plugin loading to preserve datas
----------, Aug 2, 2019

Changelog :
  • New config option: clickMinTime, to define an amount of seconds before the player can click again to see the next message (asked by @Alter-Ego)
  • Fixed an IndexOutOfBoundsException error when loading messages
----------, Jul 4, 2019

Changelog :
  • Fixed a bug with console-mode for commands not saved in config.
----------, Jun 1, 2019

Changelog :
  • NPCs can have a different name that the one's showed above their head. Command: /text name <newName>
  • New placeholder for messages: {nl}. When used, it will skip a line (\n works only in some random cases, so consider using {nl} instead)
  • New command: /text delete to remove completely a text instance from the memory.
  • /text reload now reloads config parameters and data file. New behavior:
  1. Saves current datas in datas.yml
  2. Reload config
  3. Load datas.yml
----------, May 18, 2019

Changelog :
  • Fix when /citizens reload is executed
  • {PLAYER} placeholder in texts
----------, Jan 24, 2019

Changelog :
  • PlaceholderAPI is now supported
  • You can now use the {PLAYER} placeholder in your commands
  • New config option : playbackSeconds. It's the time before you can listen again the same NPC.
  • Fix when a text has multiple lines, now colors are properly showed.
Thank you a lot for reaching the 10k downloads !
----------, Oct 20, 2018

Changelog :
  • The 1.13.1 is now natively supported
  • You can now choose sounds for each message, like for commands. (/text sound add/remove <id> [sound])
  • A new option for messages with commands : console. If enabled, the command will be dispatched by the console.
----------, Sep 12, 2018

Changelog :
  • Fixes on commands and other
  • You can now choose with the command /text cmd auto if the commands will be dispatched automatically or with a clickable message. (proposed by @Guigui5031 and @nefallme)
----------, Apr 8, 2018

Changelog :
  • Fix on the permission citizenstext.random
  • /text save added : allows to save manually the datas file.
  • Bugs fixes when the plugin restarts (datas were not saved)
  • Small messages added here and there.
----------, Feb 28, 2018

Changelog :
  • Three new commands :
    • /text convert : to convert "vanilla" text from the default Citizens text editor (/npc text)
    • /text random : to toggle the new "random mode" (the message sent will be randomly chosen)
    • /text reload : to reload the configuration file (config.yml)
  • NPCs datas are moved to another file (data.yml), if currently the datas are saved into config.yml the plugin will do the change for you.
  • New option in the config : disableClick : to disable the right-clicking on the NPC ; the text will be sent when player will be close to the NPC
  • Minor other ameliorations
----------, Jan 10, 2018

Changelog :
  • The timer to continue conversation (implemented in the last update) is more customizable : you can choose a distance of action. If the player is out of this range, the NPC will stop talking. In the config file : continueDistance (by default on 10)
  • A tab completer is added on the command /text : you just have to press TAB when you are writing any subcommand.
  • You can customize the format of message with the ID and the size of the conversation : [1/3] by example. Image : upload_2017-10-30_11-5-5.png (Can be disabled)
----------, Oct 30, 2017

Changelog :
  • A timer option is added in the config (by default : -1) : when you click on a NPC : (x is the value in the config file)
    • if x on -1 : you will see the text, and nothing will happen after
    • if x on more than 0 : you will see the text normally, and x seconds after the first click the next message will be shown. (if you re-click on the NPC while the timer is running, don't worry, the timer will restart with the next message.
----------, Sep 22, 2017

Changelog :
  • 1.12 is now fully supported
----------, Jul 3, 2017

Changelog :
  • Now you can add a sound which will played at the end of the text. (after the last message)
  • The config file was optimised to be more light.
----------, May 2, 2017

Tiny update !

Changelog :
  • You can add a command for messages ! When you click on this special messages, the command will be executed.
That's all !
----------, May 1, 2017

Changelog :
  • When a NPC will be removed, it will be removed too from the list of texts and in the config.
  • With the command /text remove <id>, if the id is too big, now a text will be sended to the player. (no error in console)
  • And minors ameliorations.
----------, May 1, 2017

Sorry, i've forgotten the dependencies check when the plugin start ;)
----------, Apr 27, 2017

Resource Information
Author:
----------
Total Downloads: 84,643
First Release: Apr 27, 2017
Last Update: Apr 19, 2021
Category: ---------------
All-Time Rating:
39 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings