From 0f7ad57b64dae1919a6aae3c6b6d384292db2697 Mon Sep 17 00:00:00 2001 From: Pyrbu Date: Wed, 14 Aug 2024 14:14:58 +0200 Subject: [PATCH] add action hovers --- .../main/resources/messages/action-hover/add.txt | 13 +++++++++++++ .../main/resources/messages/action-hover/clear.txt | 3 +++ .../main/resources/messages/action-hover/delete.txt | 3 +++ .../main/resources/messages/action-hover/edit.txt | 3 +++ .../main/resources/messages/action-hover/list.txt | 3 +++ 5 files changed, 25 insertions(+) diff --git a/plugin/src/main/resources/messages/action-hover/add.txt b/plugin/src/main/resources/messages/action-hover/add.txt index e69de29..23b0083 100644 --- a/plugin/src/main/resources/messages/action-hover/add.txt +++ b/plugin/src/main/resources/messages/action-hover/add.txt @@ -0,0 +1,13 @@ +Examples: + * /npc action add consolecommand cool_npc1 ANY_CLICK 0 0 say {player} just clicked a cool npc! + * /npc action add playerchat dog LEFT_CLICK 0 100 It has been 5 seconds since i clicked the npc + * /npc action add message npc123 RIGHT_CLICK 1 0 You can only click this npc once per second + +Action Types: + * Console Command - Send a console command when a player interacts with the npc + * Message - Send a message to any player that interacts with the npc + * Player Chat - Make any player that interacts send something in the chat + * Player Command - Make any player that interacts send a command + * Switch Server - Send the player to a different server on the proxy using bungee messaging channel + +Command used to add actions to an npc \ No newline at end of file diff --git a/plugin/src/main/resources/messages/action-hover/clear.txt b/plugin/src/main/resources/messages/action-hover/clear.txt index e69de29..ef981f7 100644 --- a/plugin/src/main/resources/messages/action-hover/clear.txt +++ b/plugin/src/main/resources/messages/action-hover/clear.txt @@ -0,0 +1,3 @@ +Usage » /npc action clear + +Command used to clear all npc actions \ No newline at end of file diff --git a/plugin/src/main/resources/messages/action-hover/delete.txt b/plugin/src/main/resources/messages/action-hover/delete.txt index e69de29..5a6507e 100644 --- a/plugin/src/main/resources/messages/action-hover/delete.txt +++ b/plugin/src/main/resources/messages/action-hover/delete.txt @@ -0,0 +1,3 @@ +Usage » /npc action delete + +Command used to delete a specific action from an npc \ No newline at end of file diff --git a/plugin/src/main/resources/messages/action-hover/edit.txt b/plugin/src/main/resources/messages/action-hover/edit.txt index e69de29..1827560 100644 --- a/plugin/src/main/resources/messages/action-hover/edit.txt +++ b/plugin/src/main/resources/messages/action-hover/edit.txt @@ -0,0 +1,3 @@ +Usage » /npc action edit + +Command used to change a specific action on an npc \ No newline at end of file diff --git a/plugin/src/main/resources/messages/action-hover/list.txt b/plugin/src/main/resources/messages/action-hover/list.txt index e69de29..7397e5f 100644 --- a/plugin/src/main/resources/messages/action-hover/list.txt +++ b/plugin/src/main/resources/messages/action-hover/list.txt @@ -0,0 +1,3 @@ +Usage » /npc action list + +Command used to list all actions of an npc \ No newline at end of file