Shorten Links! Let Me TinyURL that for you.

Let Me Tinyurl That For You :
Version: v2.3

This is my first proper plugin, if you need anything added to it.. please let me know :)
 
Commands:
 /url [url] [alias]
 
Features:
- Allows you to shorten your URL's before sending them ingame.
- Shortens URL's that are too long in chat.
- More than 430,000 Possible URL'S!

Source:
https://github.com/olimoli123/lmturltfy
First time using github, hope i did everything properly!

Support me:
Vote for my Minecraft Server:
http://icraftsmp.net/main/vote-page/
Paypal
olimoli123@hotmail.com

Config:
- No Config!

Download The Plugin:
http://dev.bukkit.org/server-mods/lmturltfy/files/
 
Changelog:

Version 2.2[RB]
- Checks for connection loss to service and attempts to resolves it.
- Changed URL generation: Up to 450,000 Different Codes Possible.
- Cleaned up code.
- Added https://, www., ftp://.
Version 2.1:
- Cleaned up more code
- Shortened even more!
- Fixed link if cuts into 2 halves.
Version 2
- Added Listener and Cleaned up Code.
Version 0.1
- Plugin Released!

To Do:
- Let people know what link their clicking
- permissions :)

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

  • Avatar of olimoli123 olimoli123 Jul 17, 2012 at 22:01 UTC - 0 likes

    @UbuntuFreak: Go

    Sure thing, ill give it a go. I sorrta quit bukkit modding but ill do it for the community.

  • Avatar of UbuntuFreak UbuntuFreak Jun 14, 2012 at 17:31 UTC - 0 likes

    Sometimes is.gd fails. I posted a link to an image of minecraft sircles and is shortened a link for newbies how to intall minecraft to your computer.
    I pasted the link again and it shortened a link for pink fluffy plush animals :)

    Can you please add a configuration to change the shortener server?

    Misspelling sponsored by me BFAK:90853920,9bceeb6674e1d3e37ce23e5b4dc125a45040bb005a88562d825abd526232c56e

  • Avatar of UbuntuFreak UbuntuFreak Apr 25, 2012 at 15:46 UTC - 1 like

    How many updates do you upload?!

    Very nice plugin! But I already said that :D

  • Avatar of olimoli123 olimoli123 Apr 24, 2012 at 13:07 UTC - 0 likes

    Updated. :)

  • Avatar of olimoli123 olimoli123 Apr 24, 2012 at 10:50 UTC - 0 likes

    Ok guys... im working on this "error catcher" that notifies the user when an error has happened.. for example, if your Server cannot contact the URL shortening service, it will show an error and try again after a second delay. It will try to connect up to 5 times and if it fails it will stop the conversion and create a normal url and show an error: "Could not shorten this url"

  • Avatar of olimoli123 olimoli123 Apr 24, 2012 at 06:19 UTC - 1 like

    @UbuntuFreak: Go

    Glad you like it, my first plugin and i love it when people write positive comments :)

  • Avatar of olimoli123 olimoli123 Apr 24, 2012 at 06:18 UTC - 0 likes

    @WayGroovy: Go

    I can try both.. maybe a command for the check link though.. And i can make it retry possibly.. or i could make it say an internal error occured.. But if it retryed the chat message may take more time to be delivered than usual.

  • Avatar of UbuntuFreak UbuntuFreak Apr 23, 2012 at 16:51 UTC - 1 like

    Perfect. Simply perfect :)

  • Avatar of WayGroovy WayGroovy Apr 23, 2012 at 16:20 UTC - 1 like

    I love the listener. There may be an unintended side effect to using this plugin as it stands. You cannot see what the target tinyurl points to without clickcing it. I feel like it would be beneficial to still see the overly long url, then show the tinyurl below it.

    Some plugins, like craftirc, choke and die if they lose connection to the server they are connected to, including possibly taking the minecraft server down with them. Is there any failsafe if LMTURLTFY can't reach the target url shortner service?

  • Avatar of olimoli123 olimoli123 Apr 23, 2012 at 02:54 UTC - 0 likes

    Found a provider that makes url's even shorter! Adding that to next update.

Facts

Date created
Apr 21, 2012
Categories
Last update
Apr 24, 2012
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
Shorten Links! Let Me TinyURL that for you.
Downloads
2,837
Recent files

Authors