Difference between revisions of "SignLink"
Line 26: | Line 26: | ||
==Permissions and commands== | ==Permissions and commands== | ||
+ | Use /togglesignupdate to turn sign updating on or off, just in case someone made a huge amount of updating signs that causes lag. Permission nodes (Bukkit permissions): | ||
+ | |||
+ | <pre>signlink.addsign: | ||
+ | description: Allows you to build signs containing variables | ||
+ | default: op | ||
+ | signlink.toggleupdate: | ||
+ | description: Allows you to set if signs are being updated or not | ||
+ | default: op | ||
+ | signlink.reload: | ||
+ | description: Allows you to reload the values.yml | ||
+ | default: op</pre> |
Revision as of 14:35, 1 October 2023
This page is Work in Progress!
RyanDo is currently working on this page. We recommend you to Create an account or Login if you already have an account. |
Command blocks
To change variables using command blocks, you can chain the edit and set commands.
/variable edit varname set newvalue
Variabels in variables
As of version 1.16.5-v1, it is possible to declare variable names inside the value for a variable. For example, you can do:
/variable edit message set Hello, %playername%! It is %time%
And now putting %message% on signs (or in other variables!) will display the values of playername and time in-place. This can also be used to alias long variable names, so they can fit on signs.
Commands
Configuration
Placeholders
Signlink supports the PlaceholderAPI plugin in both directions. This means that you can use Signlink to display placeholders on signs, or use signlink variables in other plugins that support placeholders.
- You can use signlink variables in other plugins by prefixing it with sl_. For example, %sl_time% will display the time variable.
- Adding placeholder names to the 'autoUpdateVariables' list in SignLink's config.yml will make them work on signs, with the same name.
- To display long placeholder names on signs, you can use a shorter variable name and set its value to %placeholder_name%
Permissions and commands
Use /togglesignupdate to turn sign updating on or off, just in case someone made a huge amount of updating signs that causes lag. Permission nodes (Bukkit permissions):
signlink.addsign: description: Allows you to build signs containing variables default: op signlink.toggleupdate: description: Allows you to set if signs are being updated or not default: op signlink.reload: description: Allows you to reload the values.yml default: op