Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buyActions that are used on our plugin
Actions run when a player clicks a hologram or one of its lines. They run in order, top to bottom. Each one is written as the type in brackets, then its arguments separated by ;.
| Action Type | Description |
|---|---|
| [MESSAGE] | Send a message to the player |
| [COMMAND] | Run a command as the player or the console |
| [SERVER] | Send the player to another server on the proxy |
| [PAGE] | Turn the hologram to another page for the player |
| [SOUND] | Play a sound to the player |
| [ACTION_BAR] | Show a message in the action bar |
| [TITLE] | Show a title and subtitle |
| [DELAY] | Wait before running the next actions |
MiniMessage works as well as color codes.
[MESSAGE] <message>
[MESSAGE] &aYou clicked the hologram.
Without console or player in front, the player runs the command.
[COMMAND] <console|player>; <command>
[COMMAND] console; give %player% diamond 1
Uses the BungeeCord plugin channel, so the proxy has to accept it. The server name is the one in the proxy's config.
[SERVER] <server>
[SERVER] survival
next and previous wrap around from the last page to the first and back.
[PAGE] <next|previous|first|last|number>
[PAGE] next
The sound is a Bukkit sound name such as ENTITY_PLAYER_LEVELUP, or a key such as minecraft:block.note_block.pling for resource pack sounds.
[SOUND] <sound>; <volume>; <pitch>
[SOUND] ENTITY_EXPERIENCE_ORB_PICKUP; 1; 1
[ACTION_BAR] <message>
[ACTION_BAR] &ePage turned.
Fade in, stay and fade out are in ticks.
[TITLE] <title>; <subtitle>; <fadein>; <stay>; <fadeout>
[TITLE] &6Welcome; &7to the server; 10; 40; 10
Waits that many seconds before the actions below it run.
[DELAY] <seconds>
[DELAY] 1.5
With PhoenixCurrencies installed, three more types sell, reward or check for any of its currencies. A take or require the player cannot afford stops the actions after it, so put it before the reward.
[CURRENCY_GIVE] <currency> <amount>, [CURRENCY_TAKE] <currency> <amount>, [CURRENCY_REQUIRE] <currency> <amount>
[CURRENCY_TAKE] gems 50
See the PhoenixCurrencies page NPCs & Holograms. Other plugins can add types of their own through the API.
Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buy