CameraObscura
CameraObscura
CameraObscura brings the photography and painting in your Minecraft world.
What is photography and paintings?
Photographs and paintings are... map items that contains an image on it. Image can be based on player skin (photo), on picture file uploaded to server, or... image based on a pixel-art created using colored wool.
Video
Features
- Creating photo using photo camera (three types of photo: full-size, top-half, face)
- Creating photo using tripod-camera (Camera Obscura :)) Economy supported (player must pay for picture)
- Creating picture using png-image ploaded to the server
- Creating picture using pixel-art created with colored wool
- Copy-protection for maps used as pictures
- Picture owners features: limit of pictures per owner, copy protection, ability to change owner of picture.
- Remove picture and re-use map with same id for future pictures
- Crafting recipes for photo camera, photo paper. Creating tripod-camera without any commands.
Why do I want it?
If you need to bring additional fun to your server.... Hell, no! If you have a server you need CameraOscura! :)
How to use it?
- Install
- Configure plugin (edit the config.yml file)
- Upload some backgrounds (recommended size 128x128), upload pictures.
- Start server and made a picture!
How to make a picture?
- Photo camera. You can create a photo camera (by default it's a watch item with data equal to 1: you can use "camera" to make a pictures, but you can not use watch to make a picture) and photo paper (by default photo-paper is a paper sheet with data equal to 1: you cannot use regular paper to create pictures). Click any player with a camera. One sheet of paper will be removed from your inventory and picture (map) will be given to you.
- Camera obscura (tripod camera). You must build a tripod camera. Place fence, note block on the top of it, and... camera at the side of note block. Than take a photo paper and click to button (camera lens). Note: Both cameras supported three types of photos defined by distance from camera to player: head photo, top-half photo, full length photo. All photos are printed on the background. Backgrounds are png-images uploaded to specified folder (/CameraObscura/backgrounds/). Camera obscura can be configured to use any predefined background.
- Create photo of any player (even offline player) using commands. Hold one sheet of photo paper in hand and type commands: /photo head <player name>, /photo top <player name>, * /photo full <player name>
- Create a picture based on image file. You need to upload image (only png-file supported now) to /CameraObscura/images/ folder and type /photo image <image name>
- Create a picture based on colored wool pixel-art, You need to create a picture using colored wool. Type /photo brush to enable brush mode. Left clicking with brush (feather item) will select 1st point (top left!), right clicking will select 2nd point (bottom right). Type command:
- /photo paint <picture_name> to create a picture resized to 128x128
- /photo paint center <picture_name> to create a picture and place it at center of the map. Picture will not be resized so it could be too little... Note: you can repaint previously created picture using command /photo repaint {center} <picture_name> (don't forget to hold in hand picture that you need to repaint)
How to create camera set it on the tripod?
There's some recipes
Commands
You can check help in game using command /photo help or find command list here
Permissions
All permissions listed here
Configuration
You can configure plugin only by editing config.yml file.
bStats and update checker
CameraObscura includes two features that use your server internet connection. First one is bStats, using to collect information about plugin (plugin version, amount of servers, etc.) and second is update checker (required to find newer version of CameraObscura at dev.bukkit.org). If you don't like this features you can easy disable it. To disable update checker you need to set parameter "enabled" to "false" in bStats/config.yml.
Support my work
I can't seem to get the command to disable showing the name to work, any tips?
@h0us3cat
I am talking about the /photo image <photo name> command, what size to take up the entire map. I've tried 128x128 before and it only took up a small corner at the bottom left.
@Wolf314151
How to use it?
What size does the picture need to be to take up the entire map?
@SnowBoat
That works, thx
@h0us3cat
Make sure to only have 1 piece of photopaper in your item slot.
@fromgate
Please reply.
I cant do /photo image <file>, it says "You must hold one sheet of photo paper to develop a new photo" and yes i am holding it. The same item works if i right click a player.
@fromgate
Isnt there a possible option to have it take a picture of the most near player from the camera? So if you are in a radius of lets say 5 or 6 blocks it will give everyone inside that radius a picture of their skin or a random one that is in that area?
DaFuze
When i craft photo paper and hold it, it tells me "You must hold one sheet of photo paper to develop a new photo"
It works fine if i do /photo paper
@SnowBoat
Thank you for suggestions :)
1. I will think about camera controlled by redstone. But I don't know how it will work. Now player must click a button: so I can place his skin at photo. But redstone event has no "owner" so who will be "printed" at picture?
2. Cameras and papers a simple item with changed data. At our server we selling it using other plugins (Lockpick&Rent, ReActions (is not public yet - under construction), ChestShop). Is it really required to built in shop in CameraObscura plugin? I think you can configure a other shop plugin to sell a photo paper or photo cameras..
@HammyHavoc
Thank you for suggestion. I have some ideas about it. If I find a solution I will implement it at next version of CameraObscura
I might have some cool additions to this that may not take that long to implement? (not sure i dont have any java skills)
1. Making the tripod camera redstone toggleable. 2. Make the picture it made buyable/or free from a sign / chest.
I am a CM on the mcmagic.us server which is a complete 1:1 scale replica of Walt Disney World and if you can implement those things it would be an amazing addition to the server!
Thank you! - DaFuze
@fromgate Hey! I just found out the images i used were not png lol. but i have an idea. is there a way that i can make a photo (shop) where players can buy a camera, photo paper, and photos? this would be great on my server!
IP Jtg-Craft.us.to
How would I go about making images load faster? I want to use this at a spawn to show the app icon for a few apps we've made including one coming soon for our server. They load fast for the owner or if the owner gives the item to someone, but how could we speed up the loading for everyone?
@fromgate
And how do i get the other default photo's like the Wanted one?
Yes. It is a png image. pls help!
@jadyha
Hello! Is it png-image? If not - you need to convert it to png.
When I drag a photo 128x128 into the images folder and type /photo image (image) it just comes up with the default image of the stone. What am i doing wrong?
@DEATHSKULL37
Hello, CameraObscura works fine with 1.5.1.
I can try to answer about making a plugins, but you can check CameraObscura's sources: https://github.com/fromgate/CameraObscura You will find that there is not possible yet (until PluginAPI released, I guess) to create really new item. But you can create item with "special" data value that is not used by Minecraft.
Does this work with the current 1.5.1 version of bukkit? oh, and i was wondering if i could also ask you a few questions about how to make a plugin, you seem to be pretty good at it, especially since u made a new in-game item in the plug-in