HomeJavaModsConversation
Theorily this plugin supports all the version maybe

Example:
Code (Java):
ConversationBuilder builder = Conversation. of ( ) ;
builder. text ( Component. text ( "Hello, traveller!" ) ) ; // Set the words which will be spoken by the npc
builder. name ( Component. text ( "Old Man" ). color (NamedTextColor. GOLD ) ) ; // Set the name of the npc
builder. node (Node. of ( )
                . text ( Component. text ( "Any problem?" ) ) // The text to show
                . sub (
                    Node. of ( )
                        . text ( "Ok, here you are" ) // The text to show after clicked the button
                        . button ( Button. of ( )
                                    . text ( Component. text ( "[I need some apples]" ). color (NamedTextColor. RED ) ) // set text
                                    . hover ( Component. text ( "Click to get apples" ). color (NamedTextColor. YELLOW ) ) // set hover text
                                    . executor (event -> { // set click executor
                                        Player player = event. player ( ) ; // Get the clicker
                                        player. getInventory ( ). addItem ( new ItemStack (Material. APPLE ) ) ;
                                    } ) )
                    Node. of ( )
                        . text ( "Well, good bye" ) // The text to show after clicked the button
                        . button ( Button. of ( )
                                    . text ( Component. text ( "[No, thanks]" ). color (NamedTextColor. GRAY ) ) )
                ) // Append sub nodes
            ) ; // Append nodes
builder. waiting ( 1 ) ; // Set how many seconds to wait for showing next nodes
Conversation conversation = builder. build ( ) ; // build the conversation

Player player = ... ;
conversation. start (player ) ; // Start the conversation for player
Goto Github Wiki for more information
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Conversation is a free Minecraft Java mod. Compatible with Minecraft 1.19. Downloaded 52 times (via Spigot). Download it and open it directly in the game.

Explore more