add action hovers

This commit is contained in:
Pyrbu 2024-08-14 14:14:58 +02:00
parent aeeba809be
commit 0f7ad57b64
5 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,13 @@
<gray>Examples:
<gold>* <yellow>/npc action add <gold>consolecommand cool_npc1 ANY_CLICK 0 0 say {player} just clicked a cool npc!
<gold>* <yellow>/npc action add <gold>playerchat dog LEFT_CLICK 0 100 It has been 5 seconds since i clicked the npc
<gold>* <yellow>/npc action add <gold>message npc123 RIGHT_CLICK 1 0 You can only click this npc once per second
<gray>Action Types:
<gold>* <yellow>Console Command <gray>- Send a console command when a player interacts with the npc
<gold>* <yellow>Message <gray>- Send a message to any player that interacts with the npc
<gold>* <yellow>Player Chat <gray>- Make any player that interacts send something in the chat
<gold>* <yellow>Player Command <gray>- Make any player that interacts send a command
<gold>* <yellow>Switch Server <gray>- Send the player to a different server on the proxy using bungee messaging channel
<gray>Command used to add actions to an npc

View file

@ -0,0 +1,3 @@
<gray>Usage <gold>» <yellow>/npc action clear <gold><id>
<gray>Command used to clear all npc actions

View file

@ -0,0 +1,3 @@
<gray>Usage <gold>» <yellow>/npc action delete <gold><id> <action id>
<gray>Command used to delete a specific action from an npc

View file

@ -0,0 +1,3 @@
<gray>Usage <gold>» <yellow>/npc action edit <gold><id> <action id> <type> <args>
<gray>Command used to change a specific action on an npc

View file

@ -0,0 +1,3 @@
<gray>Usage <gold>» <yellow>/npc action list <gold><id>
<gray>Command used to list all actions of an npc