Pixelator
Brief description
Pixelator allows you to put an image from a file or an url onto a map and share it with other players or put them in item frames as a kind of showcase!
Features
- You can create an infinite amount of image maps
- Renderers are saved to file when the plugin disables and will be loaded from it on startup (the file will be deleted after this process)
- Images are rendered instantly onto maps, no ghosting bars
- Image maps can be put in item frames so everyone can see them
- You can display a list of all active image maps with some details
- Doesn't lag the server due to the use of a new thread for loading/rendering the images
- Easy usage
- Detailed help pages
All listed features above are always referring to the newest version of Pixelator!
Commands & Permissions
Command | Description | Permissions |
/pixel create <source> | Creates a new image map | Pixelator.create |
/pixel give <id> | Gives you the desired image map | Pixelator.give |
/pixel remove <id> | Removes an image map | Pixelator.remove |
/pixel list | Shows a list of available image maps | Pixelator.list |
/pixel reload | Reloads the whole plugin | Pixelator.reload |
/pixel help [page] | Shows the help pages | None |
- | All Pixelator permissions | Pixelator.* |
<source> can either be an url or a path to a file. Please note that if you want to load something from file you start in the server's folder! (Examples: /pixel create Test.jpg attempts to load the file Test.jpg from the server's folder - /pixel create plugins/Pixelator/Test.jpg attempts to load the file Test.jpg from the Pixelator folder)
Bugs? Errors? Problems? New Ideas?
If you find any bug/error send me a message or post a comment, please! You can also send me any ideas you have for this plugin.
Videos
@DarkBladee12
Well i run MCPC+ 1.6.4, and maps are generated just fine, i take a map, and it makes the ID. Just it doesnt make the images on the map, you shoud make it so we can define the ID of the map it shoud use for the image instead of making it auto.
@yanniclord
Can you tell me what version of server software you are running? Because Pixelator doesn't handle map id creation, it's handled by Bukkit...
When i try to load from URL, it gives me the id, then i do /pixel give 0 that is the ID i get, when i try to make a second map, it also uses ID 0, it doesnt go on, it uses the same map ID all the time, how to fix that?
Edit: Not just for url. If i do /pixel create plugins/pixelator/1.jpg , it makes it with ID 0. But if i make another image with /pixel create plugins/pixelator/2.jpg , it also makes it with ID 0, so i cant have two images, how can i fix this?
@ForsakenSpitfire
I'll add that feature next version, good idea ;)
Yo Dark, you should make it so you can Add ID's/nicknames to each map, so when you type /pixel list, you can see the name you gave the map next to each link. Having a bunch of Imgur links as identification makes it kind of hard to know what you are spawning if you have a bunch of image maps.
@DarkBladee12
I used 6 image maps, play.sonoyuncu.com
http://u1312.hizliresim.com/1j/q/vsbtz.png
@defineci00
How many image maps did you create and could you provide the ip of your server?
I'm using my lobby server. Minutes, and out of 100 people (average). Hence the lag is happening. Just I need cache system :)
I am using the latest version (Pixelator_1.2.1 for 1.7.4)
@DarkBladee12
Loaded up new plugin. Too many players on to restart, but when I do ill let you know! Ill also manually crash us so we can see if it solves the issue. Thank you so much for this, by the way. Incredible work.
@defineci00
Can you please describe your problem further and tell me what version you are using and maybe some hints to recreate your problem?
Lag :/
New version has been uploaded and is available here!
@TheFlannelBeard
That can happen when a server crashes, so the renderers.cache file won't be created... I'll change it in the next version that this file won't be deleted upon loading the renderers again and add an auto-save function, so they should persist no matter what happens!
@ForsakenSpitfire
That's kinda weird, because the plugin actually saves the renderers to the file renderers.cache in the Pixelator folder when the plugin disables... Are you sure that you've restarted your server correctly? Because it works all fine for me, reloads/restarts and other things don't affect the persistance of the renderers to me... However I'll add an auto-save function very soon, so the renderers.cache file will be saved continously after a configured time ;)
Worked great until they were deleted. :P how are these stored? It SEEMS like its stored on a database that youre keeping, but now they disappeared for me.
What are the limitations to what file types, size, etc can be used to load up?
Yeah, my maps are being deleted after restarts and such, how to I save them so they aren't deleted?
@HeroSteve
I'll add an auto-save function with a configurable schedule ;)
Can you make it an option so the save file won't be deleted at startup? Please, because if the server crashes then it will be lost.
@ForsakenSpitfire
Well you can increase the height and the width, but that will cause the image to exceed the map, so you won't see the whole image on the map! Maps only have 128 pixel height and width :/