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
[email protected]
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 :)
@UbuntuFreak
Sure thing, ill give it a go. I sorrta quit bukkit modding but ill do it for the community.
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?
How many updates do you upload?!
Very nice plugin! But I already said that :D
Updated. :)
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"
@UbuntuFreak
Glad you like it, my first plugin and i love it when people write positive comments :)
@WayGroovy
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.
Perfect. Simply perfect :)
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?
Found a provider that makes url's even shorter! Adding that to next update.
New version uploaded, waiting for admin approval :)
Was this plugin created to work around the bug where url's longer than one line are cut-off/trimmed?
Thanks! :)
I'll download the plugin until it has got the listener, because that makes more sence for me :)
Very nice job!
Nice job :D
@ZloteanuNikita
This is in my todo, im adding a listener for that :)
Yes, please. :D
I would make an option for it to work automatically :) So every time someone posts a link that's bigger than 10 chars, for example, it shortens it ^.^
Downloads out, enjoy!
I would start writing a plugin just like this, waiting the download :)