Cinema
Cinema
Animate pixel arts or whole scenes(also animate Gifs)
Version: v2.1.4

gif by AnAwesomeGuy
PLUGIN IS DISCONTINUED!
remember that free plugins wont buy me food :3
Ever wanted to animate one of your pixel arts? Or perhaps you would like to make a building change in a more elaborate way? Even wanted to make 3d movies come to life on your server? These dreams can now come true with this plugin!
Cinema is a block moving plugin which makes scenes come to life in a full moving picture!
How Does it work?
Simple~ Have you ever drawn a scene on a piece of paper, then on the next sheet the next scene and so on~ by the end of it you flip through your book and you see a moving picture.
The same rules apply here! You select your "Stage", and then you begin to implement your first scene known as a frame. Each save is a frame of your cinema and in the end the cinema will go through the frames in a loop or one time (You Choose!).
Main tutorials/videos from the creator
http://www.youtube.com/watch?v=aiIDRNG6WMU
http://www.youtube.com/watch?v=hvC1qQ8dEgE
nice demovideo from metroid4
http://www.youtube.com/watch?v=_7msPjYPFnk
some other videos
http://www.youtube.com/watch?v=ObIb29a-LBY
http://www.youtube.com/watch?v=8Dh7VBNQm40
Step one!
Selecting your stage,
By using /cpos1 and /cpos2 you can select your stage much like using world edit to select your cuboid space. (Alternatively you can select the field with an x y z coordinate /cpos1 [x] [y] [z] [[world name if console]] )
Once your field is created you can move to step 2!
Step Two!
Creating your first frame,
You need to make your beginning piece of pixel art, or 3d scene
Once built you use the command /csave <File name>
(/csavedelta can be used to reduce the file size and serverload when playing the files, but editing these files can give unwanted results)
Step Three!
Making more Frames,
You can repeat step two until your animation is complete!!
Step Four!
Playing your cinema,
This command is rather long but each field is necessary~
/cplay <playername> <filename> <frame duration> <play count>
The playername IS NOT YOUR NAME!! It is the name the plugin needs to identify the player for various commands. You can use any text as a player name but again, it is not your name!
Frame Duration is in milliseconds, 1000 milliseconds = 1 second
(this is the time that the plugin waits until it shows the next frame)
Play count is the amount of times the animation will play, using 0 will make the animation loop endlessly
Here is an example of what your command should look like
/cplay Theater1 test1 400 1
This means the cinema will have the name Theater1; use the file test1; play only once; and use a 400 millisecond frame duration.
Commands in this plugin:
- /cpos1 [x] [y] [z] [[worldname if console]] : set the first corner of your cuboid, which should be saved. if you play a saved file, this will be the pos1 you used by saving. so save your pixelart where you want. and then set pos1 to the destination and play your animation. if no parameters were given, the position of the players feet is used(the block you are standing in) as player you can also specify the x, y and z. if you want to use this command from the console. you also have to specify the worldname
- /cpos2 [x] [y] [z] [[worldname if console]] : sets the second corner of your cuboid. is just used for saving. parameters are the same as in /cpos1
- /csavedelta <filename> [frameindex] : saves the frame selected by pos1 and pos2 to the specified file. you can optionally specify the index in the file the frame should be saved to. e.g. /csave test 1 would save the frame as second frame in the animation. 0 would be first frame. if index is out of file the frame will be saved last. delta means, that only the differences to the previous frame will be saved, which means less serverload for bigger animations, and also smaller file size.
- /csave <filename> [frameindex] : saves whole frames instead of just the differences.
- /cplay <ID> <filename> <framedurationInMillis> <playcount>: plays the given file under the given ID (needed to stop this player with cstop)(ID does not refer to your own player name, but to the name you give the playing animation. it also can be 213232123 or whatever. its just for identification purposes later) playcount is the amount of times the file will be played. it then calls stop by itself. playCount = 0 means it plays endlessy the frameduration is the amount of time it takes until the next frame is drawn in your world.
- /cstop <ID> : stops the player with the given ID. this refers to the ID used in /cplay
- /cinemainfo : shows you the current pos1 and pos2. Also shows current version and give you a note if there is a new version available
- /canimations : shows all currently playing cinemaplayers
- /cinemaremove <filename> : removes the file with the given name. this cant be undone
- /ceditopen <filename> : opens a cinema animation for editing
- /ceditremove <index> : removes the frame at position <index>. the first frame has index 0
- /ceditsave : saves the changes made to the animation
- /ceditclose : closes the editor and file. all unsaved progress will be lost
- /ceditinfo : shows you the current loaded file in the editor
- /ceditshow <index> : draws the given frame at pos1.
- /cinemagif <input file name(with extension)> <output animation name> <alignment> : converts the given image (preferably a GIF animated file) into a cinema animation. for alignment see /cinemagifalignment. input file has to be in plugins/cinema/files/
- /cinemagifalignment : Shows you the 5 available alignments (use the numbers or the text shown here as arguments in /cinemagif
- /creverse <ID> : reverses a given players playdirection. you can reverse a playing animation
this list is not complete. use the /help command on your server to see all commands
Permissions: there is only one permission node: Cinema.basic
Features:
- Saves/deletes and plays animated Pixel arts/ 3d Scenes
- notifies you if a new version is available (use /cinemainfo)
- restores playing Cinemas after shutdown of server
- converts GIF-files to cinema-animations
@Weave2
yeah it seems that this is buggy. currently i dont have time(or motivation) to fix anything. i will rewrite the plugin the coming february and fix bugs or add features and all
restores playing Cinemas after shutdown of server? can you explain how this works? I have made the cinema and i can play it. On server restart or stop. The plugin does restore the playing animation of blocks but only for one restart or stop. So in other words after the second restart you need to re set up the animation. Can we disable this or can you enlighten me on how to optimize this to better fit my needs.
I can schedule the commands but sometimes i have my animations moving or appearing to move twice as fast and some or jumbled up because there is two of the same animation playing. the server restored the previous animation and then i had a command scheduled to play it on start. i think it would be easier to disable that and just schedule the commands.
The plugin is great besides the restoration of animations. I also can not figure out how to stop a restored animation.
@fredlllll
This plugin generates 2 files (cinema.cfg and cinemafile) in my plugins folder instead of the cinema folder. Could you please fix that?
Thanks in advance.
Edit: And the cinema folder is called "cinema", thereas most (all other) plugins folder are high case, like "Cinema". And there is a package name called "Cinema" (high case) and class names with lower cases, thereas common java practice is to give packages lowercase and class names higher case names.
This aren't serious problems, but would make your project appear more "professional".
@MGbeenieboy
what do you mean by multiple stages?
Is it possible to have multiple Cinema stages??
Do anyone has some finished movies? :D Because it's hard to make movies on a 168x94 LD Screen :D
@jessefjxm
do you have other plugins? could there be a conflict?
I always get this warning:
22:09:25 [SEVERE] Exception in thread "Thread-604" 22:09:25 [SEVERE] java.lang.IllegalStateException: Asynchronous block onPlace! 22:09:25 [SEVERE] at net.minecraft.server.v1_6_R2.Block.onPlace(Block.java:346) 22:09:25 [SEVERE] at net.minecraft.server.v1_6_R2.Chunk.a(Chunk.java:419) 22:09:25 [SEVERE] at net.minecraft.server.v1_6_R2.World.setTypeIdAndData(World.java:351) 22:09:25 [SEVERE] at org.bukkit.craftbukkit.v1_6_R2.block.CraftBlock.setTypeId(CraftBlock.java:108) 22:09:25 [SEVERE] at org.bukkit.craftbukkit.v1_6_R2.block.CraftBlock.setType(CraftBlock.java:104) 22:09:25 [SEVERE] at com.forgewareinc.Cinema.UndoMaker.run(UndoMaker.java:51)
Does this work with 1.6.2 ?
An Update please. It's one of my favourites Plugins. :D
👥👤👥 We like your Plugin
Awesome!
Keep up the good work!
@mat41997
Still works! :O
@wwwiop
Still works! :O
@jorakip
Yes, just save them with different names. :)
UpDate
Permissions?
Please update to 1.5.2
Thanks for the update fredllll (Used to use this a while ago but it got outdated and I see it's updated again :D)
Help can u have multiple cinemas
@fredlllll
Okay, thanks. In that case, I'll add a feature request to the tickets section. ^_^
EDIT: http://dev.bukkit.org/bukkit-mods/cinema/tickets/5-add-positions-as-arguments-to-cplay/
@kulboy121
oh i thought you meant folder locations of the files. no there is no method that one file is playable only at a specific point. you always have to specify the position where it should play with cpos1. but it would be possible to make a command which doesnt take the cpos1 thing but some arguments. like cplay <filename> [...] x y z
there is no problem that only the console starts cinema-players.
@fredlllll
Sorry, I explained my problem incorrectly before...
Number of/location of cinema files on my server's hard drive isn't my problem. I have several animations running at once in different locations in the minecraft world, and in order to play the animations, I need to set the positions first. There's a chance that two animations may start at the same time, then get their positions messed up, which would A) look bad and B) ruin quite a few builds I've been working on.
So basically, I'm looking for a way to save cpos1 and cpos2 into the cinema file, or something like /cplay player file 1 1 0 75 cpos1x,y,z,world cpos2x,y,z,world.
Thanks for your time!
EDIT: Forgot to say: I don't want to give normal minecraft-players the permissions to use Cinema, so I use button-based commands (a user clicks a button, a command runs), and to avoid a permissions mix-up, all these commands are run from console, so all cinema-players are run by the same "minecraft-player" (the console)