Interactions | Create Complex Conversations with NPCs [1.8-1.21.4] icon

Interactions | Create Complex Conversations with NPCs [1.8-1.21.4] -----

Make your players talk with NPCs choosing multiple options. Must have for RPG Servers!




-Added compatibility with 1.21.4.
----------, Dec 10, 2024

-Added can_be_started_on_air option to conversation entities. When enabled, players will be able to start the conversation even if they are not on the ground.
-Added can_be_started_on_air option to the Editing GUI.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Nov 30, 2024

-Fixed important bug with playing sounds on 1.21.1- versions.
----------, Nov 25, 2024

-Added %interactions_current_conversation_text_<line>% PlaceholderAPI variable to display the current dialogue text.
-Added %interactions_current_conversation_name% PlaceholderAPI variable to display the current conversation name.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Nov 19, 2024

-Added compatibility with 1.21.3.
----------, Nov 9, 2024

-Fixed important bug with the previous version, throwing console errors when trying to add new conversations on the GUI.
----------, Oct 25, 2024

-Added "options in dialogue" feature on the editing GUI.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Oct 15, 2024

-Fixed bug with last_actions and random dialogue being enabled in the conversation.
-Fixed console error that was appearing sometimes when detecting for nearby NPCs/entities.
----------, Oct 5, 2024

-Fixed issue with Options in Dialogue when Write System is set to CHARACTER.
----------, Sep 26, 2024

-Fixed issue with Options in Dialogue when Write System is enabled.
----------, Sep 22, 2024

-Added: You can now insert OPTIONS directly into dialogue messages, using the %option_<x>% variable, making them more customizables. This also requires to enable the new options_in_dialogue option in the conversation. More info on the wiki!
[​IMG]

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Sep 17, 2024

-Added send_to_server action type.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Aug 27, 2024

-Added compatibility with 1.21.1.
----------, Aug 11, 2024

-Fixed compatibility with 1.20-.
----------, Jun 20, 2024

-Added compatibility with 1.21.
----------, Jun 19, 2024

-Added compatibility with Paper 1.20.5/1.20.6.
----------, May 17, 2024

-Added compatibility with 1.20.5/1.20.6 (Tested with latest version of Citizens and works correctly. ProtocolLib is not yet released for 1.20.6 so be aware of that!!)
----------, May 1, 2024

-Added default values configuration for conversation entities, conversation, dialogues and options.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Mar 10, 2024

-Fixed important issues loading player data (including influence).
----------, Feb 9, 2024

-Fixed issue with the volume property in the playsound/ playsound_resource_pack actions.
----------, Feb 5, 2024

-Fixed issue that was allowing players to execute the same dialogue twice (at the same time).
-Fixed issue with selectable_options feature, when writing a wrong option in the chat.
-Fixed issue with command whitelist in default config.
----------, Jan 25, 2024

-Added Interrupt Actions feature to the edit inventory.
----------, Jan 20, 2024

-Fixed important console error with send_back_hidden_chat option on latest versions of ProtocolLib/Paper.
-Fixed issue with interrupt_actions option when player leaves the server.
----------, Jan 1, 2024

-Added compatibility with 1.20.4.
----------, Dec 10, 2023

-Added WORD mode to the Write Dialogues option. With this mode, the dialogues will be sent word by word instead of character by character.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Dec 2, 2023

-Fixed issue that was causing the written dialogues to continuously be sent after the conversation has finished.
----------, Nov 25, 2023

-Fixed console error issue with the verify system.
----------, Nov 19, 2023

The plugin was fully recoded. I made this decision mainly to make the code more maintainable so I can update the plugin in an easier way. Everything should be working as before. If you find bugs please tell me asap so I can fix them!

-Added WRITE DIALOGUES option. This option allows dialogues to be written instead of showing instantly, which make the conversation more realistic.
[​IMG]

-Modified the API. You can check the changes on the wiki.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Nov 18, 2023

-Fixed issue reseting influence on /int resetplayer command.

20% OFF until Thursday!
----------, Oct 9, 2023

-Fixed particular issue when finding player data sometimes.
----------, Aug 4, 2023

-Added: Completely modified the requirements/conditions system for player options and conditional dialogues. Now you can compare 2 variables and use more conditional types.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Jul 12, 2023

-Added compatibility with 1.20.
----------, Jun 9, 2023

-Fixed ProtocolLib Chat issues on 1.19.4.
----------, Jun 3, 2023

-Fixed important bug on remove_item action when using the PlaceholderAPI CheckItem expansion.
----------, May 12, 2023

-Added support for PlaceholderAPI variables on all actions.
----------, May 6, 2023

-Added the possibility to use JSON format messages in conversation dialogues. Example:
Code (Text):
text:
- 'json: ["",{"text":"Remember to check the ","color":"#AFD6E9"},{"text":"SPAWN","bold":true,"color":"#FF80C0","hoverEvent":{"action":"show_text","contents":[{"text":"Use /spawn to teleport","bold":true,"underlined":true}]}}]'
Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Mar 24, 2023

-Added interrupt_actions option to conversations. Here you can set actions to be executed if the player interrupts the conversation in any of the dialogues of the current conversation tree. Ways of interrupting a conversation: Leaving the server, using /int stop command, stopping the server, leaving the conversation radius.
-Fixed console error when teleporting to another world while in a conversation.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Mar 21, 2023

-Added player auto data save feature with the following option in the config: data_auto_save_time

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Jan 21, 2023

-Added wait_ticks action type.
-Fixed wrong warning on /int verify command regarding wait action.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Nov 2, 2022

IMPORTANT UPDATE!

-Added: Dialogue time property was modified. Now, when you set the time to 0, it means the next dialogue will be sent instantly along this dialogue. This is useful for showing a dialogue and options at the same time. If you want to make the player continue with the dialogue manually using a NEXT button, set the time to -1.
-Added actionbar action type.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Oct 8, 2022

-Fixed inconsistency when starting a conversation from a greater distance that the end radius of the conversation.
-Fixed issues when starting conversations in mid air (some blocks were not being verified like grass or torches).
----------, Sep 5, 2022

-Added skip_dialogue_on_npc_click option. When enabled, players will be able to skip dialogues clicking again on the NPC.
-Fixed chat related bug when using /int edit command.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Aug 4, 2022

-Fixed hide_chat_while_in_conversation_type option in 1.19 servers and latest ProtocolLib version.
----------, Jul 29, 2022

-Fixed: Players are not allowed anymore to start conversations while in the air (like jumping).
----------, Jul 14, 2022

-Added: Now, the /interactions resetplayer command also resets the cooldown for the conversation.
-Fixed tab complete for /interactions resetplayer command.
----------, Jul 1, 2022

-Added INFLUENCE POINTS system. Players can now have a certain amount of influence points with conversation entities. You can use influence as condition for certain dialogues or options to appear in each conversation.
-Added influence command: /interactions influence set/add/remove <player> <conversation_entity> <value>.
-Added influence action type.
-Added %interactions_influence_<conversation_entity>% PlaceholderAPI variable.
[​IMG]

-Fixed a permission for commands tab complete.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Jun 22, 2022

-Modified: %interactions_has_dialogue_<file>.<conversation>.<dialogue>% variable can be used now as a PlaceholderAPI variable.
----------, Jun 13, 2022

-Added compatibility with 1.19.
----------, Jun 8, 2022

-Added "particles" option to the give_potion_effect action.

Remember to check the WIKI!

https://ajneb97.gitbook.io/interactions/
----------, May 31, 2022

-Added wait action which allows to wait certain amount of seconds before executing next actions.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, May 25, 2022

-Fixed important issue on 1.8-1.15 versions regarding chat messages.
----------, May 5, 2022

-Added SWAP_HAND_CLICK to conversation_start_click_type option in the config. This will allow players to start conversations pressing the swap hand key (F) by looking at the NPC. This option only works on 1.9+.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, May 4, 2022

-Added offset_horizontal option to hologram dialogues. Here you can specify a modification in the hologram horizontal position.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Apr 25, 2022

-Fixed error with holograms when starting conversation with no location using /int start command.
----------, Apr 16, 2022

-Added compatibility with CMI ( https://www.spigotmc.org/resources/3742/) for the hologram dialogue option for conversations.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Apr 9, 2022

-Added compatibility with Decent Holograms ( https://www.spigotmc.org/resources/decent-holograms-1-8-1-18-2-papi-support-no-dependencies.96927/) for the hologram dialogue option for conversations.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Apr 4, 2022

-Added hologram dialogues. You can enable this option in each conversation entity. This will display a hologram above the NPC on each conversation dialogue. HolographicDisplays needed: https://dev.bukkit.org/projects/holographic-displays
Code (Text):
name: '#fffa9c&lHegror'
starts_with:
- NPC with id 0
hologram_dialogues:
  enabled: true
  offset_y: 2.7
Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Apr 1, 2022

-Fixed issues with the send_back_hidden_chat option.

30% OFF UNTIL FRIDAY!
----------, Mar 22, 2022

-Fixed important bug when use_protocollib option is enabled and block_movement disabled.
----------, Mar 5, 2022

-Added interactions.bypasscooldown.<conversation> permission to allow players bypass the cooldown of a conversation.
-Modified: Op players will now bypass conversations with cooldown.
-Fixed issue when use_protocollib is enabled and the player is teleported on a conversation.
----------, Feb 28, 2022

-Modified: actions_after_dialogue option was removed and instead now you can add actions (actions executed when the dialogue starts) and last_actions (actions executed when the dialogue ends) for each dialogue.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Feb 6, 2022

-Added: Now you can use the PlaceholderAPI CheckItem expansion in the remove_item action, meaning you can remove more specific items from the player inventory using this format:
remove_item: %checkitem_remove_<modifier1>,<modifier2>,<...>%. Information about CheckItem expansion: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#checkitem

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Jan 26, 2022

-Added firework action.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Jan 24, 2022

-Fixed possible chat bug when editing conversations.
-Fixed bug in /interactions verify command regarding player_command_as_op action.
----------, Dec 22, 2021

-Fixed NullPointerException error when leaving the server and save conversation progress is enabled.
----------, Dec 14, 2021

-Fixed HEX colored messages in 1.18.
-Fixed other small bugs in 1.16+ versions.
----------, Dec 4, 2021

-Added support for 1.18.
----------, Dec 3, 2021

-Added Command tab completion for all commands.
----------, Nov 20, 2021

-Fixed bug that was allowing players to skip dialogues without a skip button.
----------, Nov 11, 2021

-Fixed some issues with the /interactions resetplayer command.
----------, Nov 4, 2021

-Fixed inconsistency between use_protocollib and block_movement options.
-Fixed: Selectable options will be only enabled if block_movement option for the conversation is enabled as well.
-Fixed issued with use_protocollib is disabled and selectable_options is enabled. When the player moves, a lot of empty messages were being generated and sent back.
----------, Oct 13, 2021

-Added /interactions stop <player> command to end the current conversation of a player.
----------, Oct 7, 2021

-Added playsound_resource_pack action that allows to send a resource pack sound.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Oct 3, 2021

-Fixed important issue with Action Bar messages when send_back_hidden_chat option is enabled.
-Fixed issue in 1.8-1.12 versions when allow_mob_damage option is set to false.
----------, Sep 23, 2021

-Added send_back_hidden_chat option. When this option is enabled and hide_chat_while_in_conversation_type is set to ALL, all blocked/hidden messages will be sent again to the player when the conversation ends.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Sep 11, 2021

-Fixed issue with remove_item action type in 1.8-1.12 versions.
----------, Sep 2, 2021

-Added allow_mob_damage option. If you disable this option, mobs will not target and attack players inside a conversation.
-Fixed important console error when selecting an option.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Aug 19, 2021

-Added more item attributes to the remove_item action (datavalue, name, lore).

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Aug 8, 2021

-Added optionsMainFormat message in messages.yml file. Here you can define a format for the player options message, adding text lines before and after the options.
----------, Aug 2, 2021

-Added conversation_start_click_type option that defines how players need to click on a Citizens NPC to start a conversation.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Jul 23, 2021

-Fixed important error when writing an option on chat.
----------, Jul 18, 2021

-Added OptionSelectEvent event to the API.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Jul 12, 2021

-Added %player% variable in player_command_as_op action.
-Modified /interactions resetplayer command. Now you can reset a dialogue for a specific conversation using: /interactions resetplayer <player> <conversation entity> (optional)<dialogue> (The dialogue must be written like this: <conversation>.<dialogue>)
-Modified: /interactions resetplayer command now can be executed from the console.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Jul 7, 2021

-Added PlaceholderAPI support on conversation options.
-Added verification of actions for conversation options.
----------, Jun 29, 2021

-Fixed bug in the boss bar when skiping dialogues and change_progress_with_time option is enabled.
----------, Jun 19, 2021

-Added compatibility for 1.17.
----------, Jun 15, 2021

-Fixed console error message sometimes when boss bar change_progress_with_time option is enabled.
-Fixed bug when starting a conversation while already editing one.
----------, Jun 11, 2021

-Added hide_chat_while_in_conversation_type option in the config. 3 possible options: "NONE", "CHAT", "ALL".
This will allow hidding some messages in the chat while a player is in a conversation.
-Removed hide_chat_while_in_conversation option from the config.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Jun 6, 2021

-Added Cooldown for conversations. You can now define the amount of seconds the player must wait before talking to the NPC again.
-Added alias for command: /int

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, May 31, 2021

-Added custom_permission_message option for conversation entities. With this option you can specify a unique permission error message for each NPC conversation.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, May 28, 2021

-Fixed console error message when joining the game in some cases.
----------, May 18, 2021

-Added protocollib_selectable_options_action option in the config. It could be set to "SNEAK" or "JUMP" depending on which action do you want players to use when selecting an option, while
selectable_options and use_protocollib options are enabled.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, May 14, 2021

-Fixed issue with allow_inventory_interact_while_in_conversation option, when disabled, multiple repeated messages were being sent when dropping items.
----------, May 9, 2021

-Fixed issue that was removing the whole conversation config when you made a mistake on it.

*30% OFF until Friday!*
----------, May 5, 2021

-Added use_protocollib option. This will allow the plugin to use ProtocolLib to cancel movement, so the player movement will be prevented completely while in a conversation. I suggest you that you enable this option if you also have the selectable_options option enabled.

*30% OFF until Friday!*

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, May 5, 2021

-Fixed and removed error in console when player walks into a pressure plate.
----------, May 3, 2021

-Added selectable_options option in the config. This will allow players to use W and S keys to choose an option and SNEAK to use it.
[​IMG]
-Fixed {centered} tag not working on NPC names in dialogues.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, May 1, 2021

-Added update_notification option in the config.
-Added: Blocked other interactions on allow_inventory_interact_while_in_conversation when is set to false.
----------, Apr 29, 2021

-Added: You can now add actions for conversation options.
-Fixed issue when trying to edit a dialogue's action from the inventory.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Apr 28, 2021

-Added use_empty_spaces option in the config if you want to disable them in conversations.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Apr 26, 2021

-Added HEX color codes in click and hover messages in chat.
-Fixed bug when comparing incorrect variables in numerical conditions.
----------, Apr 24, 2021

-Fixed bug that was keeping the slow effect if the player leaves the server while in a conversation.
----------, Apr 24, 2021

-Fixed "{centered}" variable appearing on bossbar and actionbar messages.
-Fixed API Wrong argument in class InteractionsConversation.
----------, Apr 22, 2021

-Added allow_inventory_interact_while_in_conversation option in the config.
----------, Apr 20, 2021

-Added player_command_as_op action for dialogues.
----------, Apr 17, 2021

-Added 1.16 HEX color support for actionbar and title messages.
----------, Apr 10, 2021

-Fixed issue starting conversations with Citizens NPCs with 1.16 HEX color codes in their names.
----------, Apr 6, 2021

-Added an "Advanced Configuration" GUI Inventory for editing conversation entity properties.
-Fixed error when player with no data leaves the server while in a conversation.
----------, Apr 3, 2021

-Added verification for starting points on /interactions verify command.
----------, Mar 29, 2021

-Added /interactions start <conversation> <player> <x> <y> <z> <world> command. With this command you can start a conversation for a player. The location is optional and it works for using the leave radius option.
----------, Mar 26, 2021

-Added requires_permission option for conversation entities. When is set to 'true', players will need the "interactions.start.<conversation>" permission to speak with the NPC.
-Fixed console error when joining the server and player has no data.
----------, Mar 21, 2021

-Added save_conversation_progress option for conversation entities. When enabled, if the player leaves the server or the server is closed while talking to an NPC, the progress of the conversation will be saved for the next time they join.
-Modified API. InteractionsConversation class now has a Location object instead of an Entity one.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Mar 19, 2021

-Added NEXT/SKIP button to allow players to skip a dialogue by pressing a button on chat.
[​IMG]
This button is defined by the %next% variable. You can use this variable at the end of any dialogue. The variable will be replaced with a new message added to the messages.yml file.
Code (Text):
nextDialogueText: "&8[&aNext➜&8]"
You can now set the time for a dialogue to 0, if you want the player to continue with the dialogue only by clicking on the button on chat.

-Fixed: Removed spam in the console when players use conversation options.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Mar 15, 2021

-Added slow_effect option to the edit GUI.
-Fixed issue with /interactions verify command.
----------, Mar 11, 2021

-Fixed bug when leave radius is enabled and the player is teleported from a conversation.
-Fixed issues with /interactions verify command when checking for requirements.
----------, Mar 8, 2021

-Added invalid action check for /interactions verify command.
-Added invalid requirement check for /interactions verify command.
----------, Mar 5, 2021

-Added {centered} variable to center a dialogue text. Needs to be added at the beginning of the text.
-Added 2 API events: ConversationStartEvent and ConversationEndEvent.
-Fixed issue with slow effect when leaving conversation.

Remember to check the WIKI!

https://ajneb97.gitbook.io/interactions/
----------, Mar 3, 2021

-Added slow_effect option for conversation entities. When enabled, this will create a "zoom effect" when talking to the NPC.
-Fixed issue with actionbar in conversations using the API.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Feb 27, 2021

-Added hide_chat_while_in_conversation option in the config.
-Added new messages for bossbars and actionbars when players need to select an option.
----------, Feb 17, 2021

-Fixed important bug regarding permissions on clicking conversation options.
----------, Feb 15, 2021

-Added random dialogue option for conversations.

Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
----------, Feb 14, 2021

-Added Action Bar feature while in conversation.
----------, Feb 12, 2021

-Added commands_whitelist option to the config.
----------, Feb 9, 2021

-Added PlaceholderAPI variables support for dialogue messages.
-Added small API which consist (for now) of three methods: getPlayerConversation, startConversation and endConversation.
----------, Feb 8, 2021

-Added /interactions list command.
----------, Feb 5, 2021

-Added clickable options support.
-Fixed empty line on JSON message hovers.
----------, Feb 2, 2021

-Fixed perfomance issues regarding verifying conversations.
----------, Jan 31, 2021

-Fixed important bug when executing some actions in 1.13-1.16 versions.
----------, Jan 30, 2021

-Added remove_item action type. Remember to check the WIKI!
https://ajneb97.gitbook.io/interactions/
-Fixed: Error message when NPC conversation is not valid was sending multiple times.
----------, Jan 29, 2021

-Added Boss Bar feature while in conversation. (Only works on 1.9+)
-Fixed bug with End Radius item disappearing.
----------, Jan 28, 2021

-Added Update Checker
-Added allow_commands_while_in_conversation option to the Config.
-Added messages for options of the config.
----------, Jan 27, 2021

Resource Information
Author:
----------
Total Downloads: 1,329
First Release: Jan 26, 2021
Last Update: Dec 10, 2024
Category: ---------------
All-Time Rating:
61 ratings
Find more info at ajneb97.gitbook.io...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings