Introducing an Updated Version of the CPCameraStudio plugin!
The CPCameraStudioReborn plugin allows you to create smooth cinematic transitions between a number of points using a few simple commands.
Using the /cam p command you can set waypoints at the position you're currently at. You are going to travel to these waypoints when executing the /cam start command.
Then you specify the duration of your travelling using the /cam start command and the Plugin will smoothly move you between the specified points within the given time. Also, the Plugin automatically calculates the distance between the points to adjust the camera speed.
Example: /cam start 1m30s will take 1 minute and 30 seconds to travel.
Available Commands:
- /cam p: Adds the current location to the Camera Path. Permission: camerastudio.point
- /cam r [pos]: Removes the given point from the Camera Path. If not further specified, it removes the last point. Permission: camerastudio.remove
- /cam list: Lists up all points of the Camera Path. Permission: camerastudio.list
- /cam reset: Removes all points from the Camera Path. Permission: camerastudio.reset
- /cam goto <pos>: Teleports the player to the specified point. Permission: camerastudio.goto
- /cam start <duration> <arguements>: Moves the player along the Camera Path in the given time. Permission: camerastudio.start
- /cam preview <arguements>: Makes a preview of the Camera Path in a predetermined time from the config. Permission: camerastudio.preview
- Valid arguements for the above commands:
- "silent": Does not show a message in chat once travelling has finished or an error has occured.
- File Name: Uses the Camera Path from the path file specified. Does not overwrite the path that you currently have loaded.
- Player Name: Plays the Camera Path specified to that Player. If no Camera Path is specified, your camera path will be used.
- /cam stop: Stops the travelling immediately. Permission: camerastudio.stop
- /cam help: Displays the help page for CPCameraStudio. Permission: camerastudio.help
- /cam save: Saves the current number of waypoints to your personal file. Permission: camerastudio.save NEW!
- /cam save <filename>: Saves the current number of waypoints to the file with the name specified. Permission: camerastudio.save.file UPDATED!
- /cam load: Loads a number of waypoints from your personal file. Permission: camerastudio.load NEW!
- /cam load <filename>: Loads a number of waypoints from the file with the name specified. Permission: camerastudio.load.file UPDATED!
- show-join-message:
Disable or enable the message the plugin sends when a player joins.
Default is true. - preview-time: Set the preview time between every point when using the '/cam preview' command. Default is 5s
- maximum-points: Set the maximum number of location points any player can have. Default is 100. You can override it by specifying the number through the permission node 'camerastudio.point.*'. The asterisk can also be replaced with any number to set that as the limit. NEW!
- allowed-gamemodes: Set the gamemodes from which you can use the '/cam' command. It includes all methods by default. NEW!
- clear-points-on-disconnect: Set if you want the points that the player has defined to be cleared when he logs out of the server. Default is false. NEW!
F.A.Q.:
Q: The camera mouvement is jittery! Why?
A: The plugin works by teleporting you every Minecraft tick. Since one second only has 20 ticks the teleporting doesn't look that good. We are working however on ways to improve this! If you want smoother movement however, make sure you are not changing the position of your head using your mouse but only use the WASD keys to move as it causes the least jitter. Also, due to the the 20 teleports per second limit, it is best that you set large amounts of time for the travelling.
Q: The plugin is made by CrushedPixel! How dare you decompile the plugin?
A: I have full permission for releasing this plugin: https://goo.gl/photos/C37kBQxJ1V5Ky7D2A
Q: I want to disable the message when I join.
A: You can disable it in the config!
Q: I have an idea? Can I tell you?
A: Hell yeah! Tell me in the Discussion tab and I'll try implementing it!
API for Developers:
Spoiler: Click to see API method
Start by making a list of the Locations you want to send the player to.
Then call CameraStudio.travel. First variable is the player, second the list with your locations, third the number of ticks you want the travel to be (You can also call CameraStudio.parseTimeString tp do it like in game), fourth is the message you will get if the travel fails, fifth is the message you get when the travel is done.
Example:
There is also the CameraStudio#isTravelling() method that returns a boolean of whether the player is travelling or not.
Lastly, you can use the CameraStudio#stop() method that will stop the specified player if he is travelling.
Then call CameraStudio.travel. First variable is the player, second the list with your locations, third the number of ticks you want the travel to be (You can also call CameraStudio.parseTimeString tp do it like in game), fourth is the message you will get if the travel fails, fifth is the message you get when the travel is done.
Example:
Code (Text):
List<Location> locations = new ArrayList<Location>();
locations.add(new Location(Bukkit.getWorld("WorldName"), 3014.5, 86, 2986.5, 49.5F, 31.3F));
locations.add(new Location(Bukkit.getWorld("WorldName"), 2995.5, 74, 2988.5, -40.8F, -5.0F));
try {
CameraStudio.travel(player, locations, CameraStudio.parseTimeString("1m20s"), "FAIL", "DONE");
} catch (ParseException e) {
player.sendMessage("Error with time parsing");
}
locations.add(new Location(Bukkit.getWorld("WorldName"), 3014.5, 86, 2986.5, 49.5F, 31.3F));
locations.add(new Location(Bukkit.getWorld("WorldName"), 2995.5, 74, 2988.5, -40.8F, -5.0F));
try {
CameraStudio.travel(player, locations, CameraStudio.parseTimeString("1m20s"), "FAIL", "DONE");
} catch (ParseException e) {
player.sendMessage("Error with time parsing");
}
Lastly, you can use the CameraStudio#stop() method that will stop the specified player if he is travelling.
Source Code on Github:
https://github.com/chrismin13/CPCameraStudioReborn/
BEFORE POSTING A REVIEW:
If you have a bug - go to the Discussion and report it.
If you have a bug - go to the Discussion and report it.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
CPCameraStudioReborn - Smooth Cinematic Movement! is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 14,137 times (via Spigot). Download it and open it directly in the game.