Shortify

http://f.cl.ly/items/1V341d0T1l0h1L3a3R1n/shortifylogo.png
http://f.cl.ly/items/3E3T0E2Z0p0G1H462u0Z/popular.png

Stable version: 1.6.2

Hate the fact that sharing URLs in Minecraft completely sucks? Hate the truncation? Then this plugin will fix all your problems regarding URLs in Minecraft.
This plugin will shorten all URLs present in a chat message and then changes the message to display the shortened links.
As far as I know (from decompiling and testing other plugins like bShortLinks, URL Shorten, and ShortURL), this is one of a few plugins that uses something other than word.startsWith("http://") for URL detection, and so can handle punctuation, multiple URLs, and URLs anywhere in the message properly.
It is fully configurable, and allows you to choose between a large pool of URL shorteners, including bit.ly, is.gd (default) and is the only URL shortening plugin that supports YOURLS. It also allows you to configure how it shortens the link (see config.yml after installation of the JAR).

Automatically shorten URLs:
http://cl.ly/KkyE/Image%202012-11-08%20at%204.48.14%20PM.png

With advanced multiple-URL support:
http://cl.ly/KliZ/Image%202012-11-08%20at%204.48.19%20PM.png

It's compiled for JRE6, and should be compatible with all future CraftBukkit versions.
There are several other URL shortening plugins available, but this one is objectively the best because:

  • Optimized to not cause chat lag for messages that don't contain URLs
  • Essentially lagless
  • Does not require any external dependencies
  • Can shorten a URL in ANY position in the message
  • Has full REGEX detection to perfectly detect URLs, including advanced punctuation handling
  • Allows you to choose between many URL shorteners
  • Lets you configure to only shorten URLs above a specific length
  • 100% compatible with BukkitForge and MCPC+

Here is a basic configuration description.
Here is the archive of stable versions (from latest to oldest).

Source on Github: https://github.com/vemacs/Shortify

Installation:
Simply download the jar to your /plugins folder, and then restart or reload your server.

Configuration:
See Shortify/config.yml for more info. Shortify should work out of the box, but if you want to use another service, change the config.

Please post feedback and suggestions!

Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.

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

  • Avatar of SXRWahrheit SXRWahrheit Jul 20, 2014 at 14:09 UTC - 0 likes

    The &n prefix was breaking URLs shorter than the cutoff by adding formatting codes on the end until I removed it, FYI.

    http://summaxr.com/newgtop.gif
    I run http://summaxr.com and our Minecraft server at mc.summaxr.com - feel free to visit.

  • Avatar of Tallcraft Tallcraft May 19, 2014 at 12:37 UTC - 0 likes

    @HeroCC: Go

    That would be amazing! :)

    Update: Nevermind, that already works, just take the api-key and the login from bit.ly.

    Last edited May 19, 2014 by Tallcraft

    Tallcraft - a freebuild Minecraft server

  • Avatar of HeroCC HeroCC May 04, 2014 at 22:57 UTC - 0 likes

    I use bit.ly's custom domain service, it changes it to your own custom url (bit.ly to go.herocc.com). I was wondering since it is bit.ly at its core, is it possible to implement this into your plugin? Possibly like 'bitlyown' with your own domain, but same API key and UserName. Thanks!

    HeroiCraft Banner

    HeroiCraft - Survival / Creative / SkyBlock \ Mini Games \ Tons More!

  • Avatar of Bombblox Bombblox Mar 01, 2014 at 07:18 UTC - 0 likes

    cheers, great plugin!

  • Avatar of deaddude22 deaddude22 Feb 23, 2014 at 20:53 UTC - 0 likes

    The goo.gl shortner keeps failing after awhile why is this? Also is there any permissions for this plugin?

  • Avatar of DJTomek DJTomek Feb 13, 2014 at 19:05 UTC - 0 likes

    hmm, that is very nice! ;) Go on!

    MC-Miners.eu - CZ/SK Minecraft server

    We translating plugins on our server to Czech language, so if you want them, type PM and I can tell you, if I have a localization or not.

  • Avatar of tuxed tuxed Feb 12, 2014 at 06:05 UTC - 0 likes

    @DJTomek: Go

    Yes, but it will require a special source code modification.

    I work as a developer for The Chunk. I am currently inactive on this site.

  • Avatar of DJTomek DJTomek Jan 31, 2014 at 10:57 UTC - 0 likes

    Is posibble to add "own" shorter? I have special, only for our server.
    It can use GET parameters:
    ?player=<nickname>&url=<http://url.bla/>

  • Avatar of PluginPvP PluginPvP Dec 15, 2013 at 16:24 UTC - 0 likes

    Hi, very cool plugin, I reviewed it on YouTube if you would like to see it.

    http://www.youtube.com/watch?v=sSb67LQFpZE

  • Avatar of deaddude22 deaddude22 Dec 12, 2013 at 03:13 UTC - 0 likes

    @tuxed: Go

    Thank you I just downloaded it and will let you know if it runs good.

    EDIT: works perfect :D

    Last edited Dec 15, 2013 by deaddude22

Facts

Date created
Nov 07, 2012
Categories
Last update
Dec 12, 2013
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
Shortify
Downloads
46,384
Recent files

Authors