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 :)
-
View User Profile
-
Send Message
Posted Jul 17, 2012@UbuntuFreak
Sure thing, ill give it a go. I sorrta quit bukkit modding but ill do it for the community.
-
View User Profile
-
Send Message
Posted Jun 14, 2012Sometimes 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?
-
View User Profile
-
Send Message
Posted Apr 25, 2012How many updates do you upload?!
Very nice plugin! But I already said that :D
-
View User Profile
-
Send Message
Posted Apr 24, 2012Updated. :)
-
View User Profile
-
Send Message
Posted Apr 24, 2012Ok 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"
-
View User Profile
-
Send Message
Posted Apr 23, 2012@UbuntuFreak
Glad you like it, my first plugin and i love it when people write positive comments :)
-
View User Profile
-
Send Message
Posted Apr 23, 2012@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.
-
View User Profile
-
Send Message
Posted Apr 23, 2012Perfect. Simply perfect :)
-
View User Profile
-
Send Message
Posted Apr 23, 2012I 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?
-
View User Profile
-
Send Message
Posted Apr 22, 2012Found a provider that makes url's even shorter! Adding that to next update.
-
View User Profile
-
Send Message
Posted Apr 22, 2012New version uploaded, waiting for admin approval :)
-
View User Profile
-
Send Message
Posted Apr 22, 2012Was this plugin created to work around the bug where url's longer than one line are cut-off/trimmed?
Thanks! :)
-
View User Profile
-
Send Message
Posted Apr 22, 2012I'll download the plugin until it has got the listener, because that makes more sence for me :)
Very nice job!
-
View User Profile
-
Send Message
Posted Apr 22, 2012Nice job :D
-
View User Profile
-
Send Message
Posted Apr 21, 2012@ZloteanuNikita
This is in my todo, im adding a listener for that :)
-
View User Profile
-
Send Message
Posted Apr 21, 2012Yes, please. :D
-
View User Profile
-
Send Message
Posted Apr 21, 2012I 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 ^.^
-
View User Profile
-
Send Message
Posted Apr 21, 2012Downloads out, enjoy!
-
View User Profile
-
Send Message
Posted Apr 21, 2012I would start writing a plugin just like this, waiting the download :)