IMGSender
IMGSender - Send images in the chat without client modifications !
With this little plugin, players can send images in the chat with a cache system !
If you love this plugin, you will enjoy this one :D
Thanks to bobacadodl !
How does it works ?
You have only two commands :
/img [url] [size] [char] [text] [player].
[url] - OPTIONAL - The url of the image. Default : Config.Default.URL.
[size] - OPTIONAL - The size of the image. Default : Config.Default.Size.
[char] - OPTIONAL - The char of the image. Can be 'LETTER', 'BLOCK', 'SMALL_BLOCK', 'TRIGRAM', 'DOTTED_SQUARE', 'DIAGONAL', 'DARK_SHADE', 'MEDIUM_SHADE' or 'LIGHT_SHADE' at the moment. Default : Config.Default.Char.
[text] - OPTIONAL - Add a text near to the image. Please end your sentence by a point ! Support colors (Exemple : "&1Skyost is the best !"). Warning ! Do not enter a 'too big' size, otherwise, the text will not appear ! Default : Nothing.
[player] - OPTIONAL - The player who receive the image. Default : All players on the server.
/img-item [url] [size] [char] [text].
[url] - OPTIONAL - The url of the image. Default : Config.Default.URL.
[size] - OPTIONAL - The size of the image. Please note that items limit the size of their lore at 30. Default : Config.Default.Size.
[char] - OPTIONAL - The char of the image (see below). Default : Config.Default.Char.
[text] - OPTIONAL - Add a text at the under the image. Default : Nothing.
You have five permissions :
img.broadcast.send - Allows you to broadcast an image.
img.broadcast.receive - Allows you to receive a broadcasted image.
img.private.send - Allows you to send an image to a single player.
img.private.receive - Allows you to receive an image sent privately.
img.item - Allows you to apply an image to an item.
Configuration
Please stop your server before editing the configuration !
Config - In this part you can configure how the plugin works.
RescaleOp - In this part you can retouch the image before boradcasting it. Enter "0" to disable it.
Default - In this part you can configure default values.
ImageSize - In this part you can configure image sizes data.
Cache - In this part you can configure the cache.
Examples
An example for /img is available here and an example for /img-item is available here.
Medias
Services included in the plugin
This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org :
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
This plugin uses the Skyupdater too which means that the following may occur :
- Connection to curseforge.com
- Plugin version compared against version on curseforge.com
- Downloading of the plugin from curseforge.com
Before posting comments
I hate comments like this :
Quote from plantj0:What a useless and bad plugin. Whenever i edit something in the config file it just changes it back.
So please read the documentation and this before posting a comment.
If you want to make a bug report or you want a new feature please use the ticket tracker here.
Donations
Development cost time and time is the money of the life. Please feel free to donate.
Hey i think this would be awesome for my server but do you think there is a way i could somehow integrate it into the essentials first join message? so that the first time someone joins my server they will get an img with some welcome text below? Thanks
@KingFaris10
Ghost Player too but anyway, you are right, I will add them as contributors ;)
@Skyost
I know... what I'm saying is that you have 2 fairly popular plugins that's core is from a library.
I do not dislike your plugins, in fact, I love them, I'm just saying that it's not really nice to do this. If you want, add them to the contributors if they have a BukkitDev account or something.
Lastly, I'm not spamming your pages with comments like this. This was the only plugin I wrote that message to.
@KingFaris10
Okay, check this list. Look it. Analize it. You will see that 90% of my plugins use my code and not any other code.
If you do not like my plugins, that's okay ! You are not obligated to use them ! But please, do not spam my pages with comments like this. If you want to have a conversation with me, then go MP.
I really don't like how you take the code and basically "steal" the ideas from libraries.
You got Ghost Players from the Ghost Player library.
IMGSender from: http://forums.bukkit.org/threads/lib-imagemessage-v2-1-send-images-to-players-via-the-chat.204902/
You need to think of your own ideas, these libraries should be used, in my opinion and many others, for private plugins only. You put their name in small and don't make it stand out too much.
Lastly, then you say developing is hard work, when the main core is what the author of Lib ImageMessage made.
@valli308
Thanks ;)
@KrustyLv
Screen ?
Try to increase the size.
There are problem with wider images... ;[
Your plugin is just awesome! I've searched for something like that for a year! Make more awesome plugins! ;)
@naorpeled1
Set UseNewAlgorithm to false or true.
@Skyost
how can I use a different algorithm?
@wrathHerobrine
Go to an image hosting (noelshack.com), upload your file, it will give you a link.
Use /img <link>.
@naorpeled1
You can try with a different algorithm (new or old).
I tried to use https://minotar.net/avatar/naorpeled but it won`t show colors.
how do i upload a image to send it???? im trying with everything. tried with skyost but its on another language and i dont understand! help!
@naorpeled1
You have tons of API on the Internet ;)
Take a look at this one.
@Skyost
yes, but how would I use his face as the picture?
@naorpeled1
It will be useless for others admins.
You can download a plugin which run a command when a player join the server.
Make an option to send images(such as player`s faces) when they join.
@iRamboxC4x
Thanks ;)
Dude, thats so sick <3
@pookeythekid
Ah ah x)