Luma
Luma gives you the ability to display pictures from the Web on your wall using maps in item frames
Highlights
- Simple to use: Two commands to have a picture on your wall, only 10 permissions
- Lightweight: Very low RAM and CPU load for the server
- Supports animated GIF, JPG and PNG
- Pictures can be used as Essentials Warps
Commands
/lu create [name] [size] [URL]
Creates a new picture. Its unique name will be used to print or change the picture.
Examples:
/lu create nicobarpigeon 2x3 https://ourbeautifulworldanduniverse.com/wp-content/uploads/2015/04/Nicobar-pigeon.jpg
/lu create nyan 3x1 https://i.imgur.com/MjeqeUP.gif
Note: The URL must directly point to the picture file! Use Imgur to upload your own pictures and make sure you get the link with a file ending.
/lu print [name]
Spawns the components of the picture into your inventory. You need enough inventory space to hold all the tiles to use this command!
/lu list
Lists all pictures and their sizes
/lu update [name] [URL]
Changes the content of the picture to the new URL. You cannot change a picture's aspect ratio!
/lu set-speed [name] [ticks]
Changes the speed of an animation in server ticks per frame (a lower value is faster)
/lu action [type] [data]
Gives the Luma map you're looking at a special function when being right clicked. You have to do this for each section of a picture separately.
Options:
- Heal the user
- Send the user a message
- Execute a command as the user (user's permissions)
- Teleport the user to an Essentials warp
/lu info [name]
Gives technical information about a picture
/lu info
Gives technical information about the picture you are looking at
/lu stats
Gives information about Luma's CPU and RAM usage
Permissions
luma.* (Enables all permissions including luma.luma)
luma.luma (required for all commands: If you want to only print pictures, you need luma.print and luma.luma)
luma.create
luma.update
luma.print
luma.list
luma.info
luma.setspeed
luma.action
luma.stats
Gallery
A fancy warp hut
An attractive way to announce server rules to new players
A billboard displaying a PSA
Who said 200 colors wasn't enough?
A very serious load test performed by the admins
Hi mate!
Me and my friends really enjoy the plugin.
I have just one question how can i start a gif i hung up on the wall?
Thats all thx :)
In reply to Forge_User_45244877:
Hi, an animated file should start all by itself. If not, you can set its speed using
This would set it to 2FPS.
¡amigo! Me gustaría dar permiso para usar solo el comando / lu a los miembros de mi servidor ya que solo me dice que solo los admins pueden usar comandos, ¿cómo podría hacerlo?
In reply to abtkaito:
Hola! Todos los que van a usar Luma deben tener permiso luma.luma. Además, puede otorgarles permisos para las características individuales, como en la descripción.
Hey there! Would be lovely if you could make it possible to sync between different maps of the same gif. For example, if you put the 3x1 nyan cat it breaks the GIF's sync because you put 1 map at a time and you can't put 'em all at the same time.
Thanks!
In reply to BoomerSchmirtz:
If you mean multi-tile gifs, they should be synchronized. Would you mind recording a few seconds of your issue? Thanks! -brain
Edit: I see what you mean, currently there is no easy way to fix this because the image updates are scheduled by the server. I'm looking at a way to force updates though, this should make high framerate wall pictures possible.
I use the /lu create <name> <size> <url> format you listed above and the URL i used was from GIFHY. I copied the link that has the giphy.gif file name at the end of the link and it tells me that "Unknown file format! Make sure you are pasting a deep link"
Here is what my log shows:
[13:08:19] [Server thread/INFO]: PhantumOne issued server command: /lu create pigrider 1x1 https://media.giphy.com/media/139eZBmH1HTyRa/giphy.gif
[13:08:19] [Thread-47/INFO]: Getting image from URL
[13:08:19] [Thread-47/INFO]: HTTP response: HTTP/1.1 200 OK
The message in game is not shown in my log file either.
Is there a reason that you have to use a URL only. Why can I not put my own pics in the image folder and just load them from there?
In reply to PhantumOne:
Thanks for your feedback! Giphy does not give you the resource directly. If you click your own link, what you'll find is that it returns an HTML document with the picture embedded, despite the file name. Luma can't parse this. I recommend Imgur:
/lu create nyan 3x1 https://i.imgur.com/MjeqeUP.gif
In reply to PhantumOne:
URLs can point to local resources too!
I'm having a problem where when I try to input the command /lu I get a message saying that I do not have permission to use the command. I do have op enabled. Is this something I need to activate?
In reply to Not_Joeee:
Sorry for the delay, which permission manager do you use? I haven't tested many yet.
In reply to zedlydev:
Nevermind, it was my fault. Get the Relese build!
I love this plugin as I used to use a mod like this on my forge server but the only problem I have with useing it is that you can't delete the image from being loaded. could you please add a delete or remove command? Thanks for your time and otherwise great plugin.
In reply to Kb3nfe:
Hi, glad you enjoy the plugin! The reason there is no delete function is because map IDs can't be recycled. Rest assured that pictures out of use are putting no load whatsoever on your server.
In reply to zedlydev:
Thank you and yes I seen that they do unload after so much time. was just thinking if for some reason the picture was not needed anymore and wanted to free up space. but I can always remove it from the data.yml file. Again great plugin and thank you again for your time making it.
hey, impossible to use the plugin, the command does not exist, I'm op.
In reply to Forge_User_84824877:
Hi, I can't reproduce that with a fresh Spigot or CB. Does the plugin appear in /pl? Do you get any errors during startup?
Hi there,
I am OP on my server and i cant seem to get permissions to use the plug in.
When i try to use any of the create commands it has a message that reads "Luma: You don't have permission to do this!"
We have used the Luma:Luma command and it doesn't seem to do anything..
Please help :)
Many thanks in advance!!
In reply to Forge_User_78273727:
Hi, there is a little oversight in the permission structure. I'm submitting a new build for review right now. Depending on your permission system, you can give yourself the permissions luma.* (and if necessary, each specific node) explicitly! I hope that fixes it for you