August 1, 2020

SignURLs

About the plugin

Have you ever needed to put a long link, or your website URL on a sign and it just won't fit, so you put it across multiple signs or lines? Or you wish that those links where clickable? Well SignURLs provides a viable solution. It allows you to associate a word or phrase to a link that can fit on a line of a sign, than allows your members to click the sign and it will output the link the chat for the user to click. The plugin uses SQLite to store, and load the links.
How to use

You associate links to a phrase/word by using the '/signurls add {lineText} {url}' command. So as an example you could do, '/signurls add google http://www.google.com'. (*note* the plugin does check to see if you remembered the http: infront, if not it will automatically add it for you.) Then you place a sign, and on any line besides the bottom you put [SignURLs] and on the line below it, you put the phrase or word associated with the link. Once you place it, and you have properly set up the sign right click it. It should then put the link associated with the word phrase in the users chat who had clicked on it.

Code (configurationfile (Unknown Language)):
# Prefix - Sets the prefix used when sending the link in the chat to the user.
# Text - Sets the prefix used when sending the link in the chat to the user.
# Color - Set the color of the 'Text' on the sign.
Chat:
Prefix: '&8[&4SignURLs&8]'
Sign:
Text: 'SignURLs'
Color: '&1'