Installation & Setup Guide
Quick Start Guide
- Download the ShyCommandSigns plugin
- Place it in your server's
pluginsfolder - Restart your server
- The plugin will create default configuration files
Creating Interactive Signs
Before placing signs in your world, you'll need to set up a configuration file that defines how your signs will work. Here's how:
- Configure a
sign filethat defines: - The text that appears on the sign
- PlaceholderAPI placeholders (if needed)
-
Commands to execute when clicked
-
Use the command
/shycommandsigns add <yourSignFileName>to start placing a sign - Right-click on any sign block to activate it
- You can link multiple signs to the same configuration file
💡 Tip: You can remove a configured sign at any time by simply breaking it.
Creating a basic sign
Managing files
- Open the
/plugins/ShyCommandSigns/signfolder. - Copy the
sample_sign.ymlto a new file in the same folder and name itmy_sign.yml. - Open
my_sign.ymland set thenametomy_sign - Set the
linesto text, chat colors (including HTML color) or PlaceHolderApi compatible placeholders. - Set the commands, which should get executed on click. If you do not want commands to be executed on a certain type of click just set it to
[]. e.g.leftClickCommands: [] - Define how often this sign is refreshed. It is only refreshed, if the chunk, where the sign is placed, is currently loaded on your server.
- Save the file.
InGame
- Execute the
/shycommandsigns reloadcommand - Execute the
/shycommandsigns add my_signcommand - Place a sign block anywhere
- Right-click on this sign block. The sign will be added to the list of locations in your
sign file. - Repeat step 2-4 until you have placed all signs of the
sign fileon your server. - You can destroy a sign by simply destroying the sign block.
Creating an advanced sign
ShyCommandSigns can be used to create MiniGame signs for all kinds of MiniGame plugins. They only have to provide a join command and optionally PlaceHolderApi placeholders.
Assume the following situation:
- You have got multiple arenas of a MiniGame plugin
- You want to design a join sign for all of those arenas
- You do not want to create a new
sign fileper arena because they should all look the same
Here, the sign tagging feature of ShyCommandSigns can be used.
Managing files
- Open the
/plugins/ShyCommandSigns/signfolder. - Copy the
sample_sign.ymlto a new file in the same folder and name itblockball_join_sign.yml. - Open
blockball_join_sign.ymland set thenametoblockball_join_sign - Set the text of the
linesandclickCommands.
lines:
- 'BlockBall'
- '&aJoin'
- '%blockball_game_players_game1%/%blockball_game_maxPlayers_game1%'
- ''
clickCommands: []
leftClickCommands: []
rightClickCommands:
- type: PER_PLAYER
command: "/blockball join game1"
cooldown: 0
delay: 0
- You can see that those lines and commands directly reference the arena
game1of BlockBall. - However, we can change it that the lines and commands reference a tag
$arena$instead ofgame1. This allows to use the samesign filefor multiple arenas. - A tag always starts with
$and ends with$.
lines:
- 'BlockBall'
- '&aJoin'
- '%blockball_game_players_$arena$%/%blockball_game_maxPlayers_$arena$%'
- ''
clickCommands: []
leftClickCommands: []
rightClickCommands:
- type: PER_PLAYER
command: "/blockball join $arena$"
cooldown: 0
delay: 0
InGame
- Execute the
/shycommandsigns reloadcommand - Execute the
/shycommandsigns add blockball_join arena game1command. This creates a join sign for arena namedgame1. - Place a sign block anywhere and right-click on this sign block. The sign will be added to the list of locations in your
sign file. - Execute the
/shycommandsigns add blockball_join arena coolArenacommand. This creates a join sign for arena namedcoolArena. - Place a sign block anywhere and right-click on this sign block. The sign will be added to the list of locations in your
sign file.