Shortify
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:

With advanced multiple-URL support:

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.
-
View User Profile
-
Send Message
Posted Jul 20, 2014The &n prefix was breaking URLs shorter than the cutoff by adding formatting codes on the end until I removed it, FYI.
-
View User Profile
-
Send Message
Posted May 19, 2014@HeroCC
That would be amazing! :)
Update: Nevermind, that already works, just take the api-key and the login from bit.ly.
-
View User Profile
-
Send Message
Posted May 4, 2014I 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!
-
View User Profile
-
Send Message
Posted Feb 28, 2014cheers, great plugin!
-
View User Profile
-
Send Message
Posted Feb 23, 2014The goo.gl shortner keeps failing after awhile why is this? Also is there any permissions for this plugin?
-
View User Profile
-
Send Message
Posted Feb 13, 2014hmm, that is very nice! ;) Go on!
-
View User Profile
-
Send Message
Posted Feb 11, 2014@DJTomek
Yes, but it will require a special source code modification.
-
View User Profile
-
Send Message
Posted Jan 31, 2014Is posibble to add "own" shorter? I have special, only for our server.
It can use GET parameters:
?player=<nickname>&url=<http://url.bla/>
-
View User Profile
-
Send Message
Posted Dec 15, 2013Hi, very cool plugin, I reviewed it on YouTube if you would like to see it.
http://www.youtube.com/watch?v=sSb67LQFpZE
-
View User Profile
-
Send Message
Posted Dec 11, 2013@tuxed
Thank you I just downloaded it and will let you know if it runs good.
EDIT: works perfect :D
-
View User Profile
-
Send Message
Posted Dec 11, 2013@deaddude22
I have a new update for Shortify that may fix goo.gl by using an actual JSON library to parse the results from goo.gl. I will upload it soon.
-
View User Profile
-
Send Message
Posted Dec 10, 2013@tuxed
Ya I'm still having problems with googl shortener. I don't know what is causing it the API is correct and I told the plugin to use the "googl" shortener. The link pops up in chat under the googl shortener, but just brings everyone to an unknown page instead of the one I linked.
-
View User Profile
-
Send Message
Posted Dec 10, 2013@Nightphoenix16
This plugin should still work with 1.7. We are posting an update shortly though.
-
View User Profile
-
Send Message
Posted Dec 3, 2013Any plans on an update for 1.7.2?
-
View User Profile
-
Send Message
Posted Nov 22, 2013@Nightphoenix16
Ok works fine now just regenerated the API key
-
View User Profile
-
Send Message
Posted Nov 18, 2013@vemacs
There wasn't the last time I checked. Is it something I would have to add in manually to the config? Because right now there is nothing listed there for it.
-
View User Profile
-
Send Message
Posted Nov 17, 2013@vemacs
Odd same i just tested it on a different server, but still seems to not operate correctly on my main server...
-
View User Profile
-
Send Message
Posted Nov 17, 2013@Nightphoenix16
There is/should be support for adf.ly.
@deaddude22
Just tested it, seems to be working fine? Check to see if your API key changed.
-
View User Profile
-
Send Message
Posted Nov 16, 2013For some reason the Google link shortener isn't working anymore.
-
View User Profile
-
Send Message
Posted Oct 31, 2013Hello.
Is there any chance we could see support for adf.ly in the future? I feel like this could be a big way to help smaller servers generate a bit of revenue to keep their community running.
Thanks