LinksOnSigns

Demo

With this plugin you can create Signs with links.

The links will be saved as enums. If you use the Sign, the link will be postet to your chat.

Sign creation: (HOW TO)

create new sign with: "newurl" on first line.

Use the Chat-Command: /linksign [enum] [url] (Example: /linksign google www.google.de)

Then punch on the sign with "newurl" on it.

The Sign will auto-fill.

If you then Right-Click on the Sign you will be sent this link in the Chat and you can click on it.

A little Tutorial randycougar made:

Sign Removal:

Since this is asked many times: Take an Apple in your hand and destroy the sign. (yep, thats all the magic)

Additional Commands:

/linksonsignsreload reloads the config.yml + links.yml (also shorter: '/lsr' )

Permission Nodes:

  • linksonsigns.create : permission to create a link-sign
  • linksonsigns.use : permission to use a link-sign

The links and Enums are saved in the links.yml in the plugin-datafolder:

Example:

links:
  google: www.google.com
  forum: www.someawsomeforum.com

The first is the keyword for the sign. The second is the url to send.

Commands:

/linksign [enum] <URL> : The Url does not have to be written, if the enum is already in the links.yml.

Configuration

  • stdLINE0: Is the given Identifier in the first line (default: '&9[URL]')
  • stdLINE3: Is the standard text in the last line (default: '&cclick me')
  • preReplaceIdentifier: Is the Identifier you have to write on the Sign the first time you create it (default: newurl)
  • useTinyUrlShortener: If the TinyUrl.com shortening service should be used. (default: false)
  • alsoTriggerOnPunch: The sign will also trigger, when the player punchs it. (If the player has an Apple in his hand, it will not be triggered) (default: true)
  • displayTriggerMessage : the Message below the Link the Player gets (default:'&5Please click the link above.')
  • uploadErrorStackTraces: if 'true' it uploads Errors + Stacktraces to my personal Domain: tobiyas.tk. This helps finding bugs and implementation errors.
  • linkFormat : The Format of the URL pasted. %LINK% is replaces by the URL. (default: &3URL: &9&n %LINK%)

Dependencies:

Permissions: (needed one of the ones below:)

  • Vault
  • PermissionsEx
  • GroupManager (from 0.11 ongoing)
  • BukkitPermissions (untested)
  • bPermissions (untested)

Others:

  • There is an integrated Spam-Controll, so that a player can not click more than 1 Sign in 3 seconds.
  • Obvius there is a problem with the client detection of some domains. the ".info" domain for example can not be detected by the client. A possible workaround would be url-shortening (e.x. goo.gl)
  • This plugin requires Java 7


The plugin uses Hidendra's Metrics service and sends Metrics data of your Server to the Metrics at 'http://mcstats.org/'. This includes:

  • A unique identifier
  • The server's version of Java
  • Whether the server is in offline or online mode
  • The plugin's version
  • The server's version
  • The OS version/name and architecture
  • The core count for the CPU
  • The number of players online
  • The Metrics version
    All these services are optional and can be disabled via Configuration.

Also this plugin uses it's own Error-Uploader. It has the capability of uploading stacktraces with some infos to 'tobiyas.tk'.

The Error uploaded is located in dead code, so it will NEVER be called in this plugin. The pure presence still needs to be mentioned.

UPCOMING in next Version (1.8)

  • [ADD] multiple usage permissions.

THANKS

  • @Corruptedjak : for inspiring me for the idea of the Plugin

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Ben3721 Ben3721 Mar 09, 2016 at 17:07 UTC - 0 likes

    Update to 1.9 please. It's throwing an error about getonlineplayers()

  • Avatar of chsedv chsedv Dec 19, 2014 at 06:30 UTC - 0 likes

    pls update to Spigot 1.8

  • Avatar of WakkaCraft WakkaCraft Aug 20, 2014 at 22:05 UTC - 0 likes

    @MightyKittensKRM: Go

    You need to give your members in your premissions the use command linksonsigns.use : permission to use a link-sign

  • Avatar of MightyKittensKRM MightyKittensKRM Jul 04, 2014 at 21:26 UTC - 0 likes

    == I made the sign and it worked fine, except when I had a member get online to try it it said there wasn't permission to get the link from the sign. Please help ASAP, thanks. ~A Nooby Server owner, mightykittenskrm. ==

  • Avatar of WinFamSurv WinFamSurv Jun 29, 2014 at 16:23 UTC - 0 likes

    Is there a way of getting the plugin to set lines 2 and 3 separately instead of words just wrapping across both lines?

    for example when I do /linksign Win Family Survival Safecraft http://winfamilysurvival.co.uk the sign puts [URL] Win Family Sur vival Safecraft click me

    what I want to be able to do is make it so the sign says [URL] Win Family Survival Safecraft click me

    if you see what i mean.

    SafeCraft building a Minecraft community for children and the families and friends of children with autistic conditions. http://safecraft.co.uk

    Server I.P. play.safecraft.co.uk

  • Avatar of Redstonneur66 Redstonneur66 Jun 28, 2014 at 05:01 UTC - 0 likes

    It is available for 1.7.9 ?

  • Avatar of PippaSmith PippaSmith Jun 11, 2014 at 14:13 UTC - 0 likes

    I'm finding it's not using the full url. I have links to, for example, how to add character to enjin (vital one that!!) but all it takes us to is our website, no matter which url i find on this subject. why is that i wonder? eg this url https://support.enjin.com/hc/en-us/articles/200199935-Adding-Your-Minecraft-Character just goes to www.themagicapple.enjin.com our website. Can't seem to make it go to the other. Even if we don't copy and paste the url, but type it manually after doing /linksign [google]

  • Avatar of Tobiyas Tobiyas May 29, 2014 at 13:29 UTC - 0 likes

    BFAK:tobiyas,90660908,6b3700c60dd1b40d13dbfb748316bb4253d841eb1d55c92ae685c35f8142e869
    I am developing everything for free and for the public. So I get no money for that. If you appriciate my work, please think about donating.
    Donation

  • Avatar of mrkos mrkos May 22, 2014 at 15:44 UTC - 0 likes

    How to delete the sign ?

  • Avatar of Tobiyas Tobiyas Apr 29, 2014 at 17:00 UTC - 0 likes

    Hey. I'm doing an Update on the plugin soon.
    It will send the Message via TellRaw. This indicates, that the url does not need to be an URL any more.

    For shortage, tellraw ist available 1.7.2 and neuer I think.

    Last edited Apr 29, 2014 by Tobiyas

Facts

Date created
Apr 07, 2012
Categories
Last update
Apr 30, 2014
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
LinksOnSigns
Downloads
50,821
Recent files

Authors