⚙️ Sign coding
A detailed explanation of the codes you have to provide to create a sign
General informations
If you use the command /gs create to create a new sign, you have to tell the plugin what you want this sign to contain. This is where the codes come into play. With these short texts you essentially describe your sign aspect by aspect. Each code is structured as follows:
It is important, that there is no space between two arguments. If you want to use spaces or the character ,
inside values put the value in quotes like this: txt:"Text"
. If you want to use a "
inside the quote use: \"
. For the character \
use: \\
.
Arguments
A list of the argument prefixes provided by this plugin is shown below.
Prefix | Description | Type | Default value |
txt | The text that is rendered. | String | / |
txt-col | The text color in hexadecimal. | Color | RGB(255,255,255) (White) |
bg-col | The color of the background in hexadecimal. | Color | / |
bg-url | The URL to the background. If gifs don't work copy the gif into /images/ inside the plugin folder and use bg-img. | String | / |
bg-img | The image inside /images/ for the background. | String | / |
bg-blur | The radius of the blur that is applied onto the background. | Integer | 0 |
bg-bright | Allows you to control the brightness of the background. | Float | 1 |
dith | Should the whole sign be dithered (True/False). | Boolean | True |
fnt | The font family and style [NAME-STYLE]. It is important that the name and the style have no spaces in it. Examples: Roboto-Regular; Roboto-Black (https://fonts.google.com/specimen/Roboto), UbuntuMono-BoldItalic (https://fonts.google.com/specimen/Ubuntu+Mono), Pacifico-Regular (https://fonts.google.com/specimen/Pacifico). More fonts can be found here: https://fonts.google.com/. | String | Raleway-Bold |
fnt-siz | The font size that is used for text rendering. | Integer | 72 |
fnt-sty | The font style that is used for text rendering (from 0 to 2: Plain, Bold, Italic). | Integer | 0 |
sim-hue | The hue of the color of the simplex noise from 0 to 1. "sim-hue:rdm" results in a random hue. | Float | / |
sim-seed | The seed used for the simplex noise texture. | Integer | Random number from 1 to 1000 |
sim-siz | The size of the noise intervals. | Double | 150 |
outl-col | The outline color in hexadecimal. | Color | / |
outl-siz | The size of the outline. | Float | 12 |
outl-sty | The style of the outline (from 0 to 2: Solid, Dashed, Dotted). | Integer | 0 |
Examples
Below is a list of sample codes. Try some of them out to get a feeling for how they work.
Last updated