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
@ProjectNerfed
No!!! Every player will see image painted on the map!
Other players see the picture as white map ?
@HayamaT Thank for informing. I will check the permissions and release updated version in few days.
@xMinecraft
No, spout is not required.
@Nickbbeezy
It's a spigot's bug. md_5 informed, so we must wait updated version of spigot: http://www.spigotmc.org/threads/maps-in-item-frames-are-empy.331/
For some reason, when you place photos in item frames, log out, then log back in, the photo reverts back to just a normal empty map. Is there a way to save the image so it's there when people log in?
EDIT: It only loads the photo while someone is holding a copy of the photo.
Using Spitgot Build #401
Cam Ob: http://dev.bukkit.org/media/files/665/194/CameraObscura.jar
Edit 2:
Did some testing and apparently it's Spigot that's causing the problem. It works fine on the latest Craftbukkit dev build, but with the latest Spigot dev build it wipes the photo clean and turns it back into a blank map.
Edit 3:
Nevermind it's a known issue. Hope it gets fixed soon.
This's required spout or other system for running?
Thank you for quick response. It is a report on another. Authority [camera-obscura.tripod-camera.use] is not working properly. Symptom Check In [CameraObscura v0.1.2 Bukkit 1.4.6-R0.4#2591]. [CameraObscura v0.1.2 / 2] is now confirmed.
@HayamaT
Try this version please: http://dev.bukkit.org/media/files/665/194/CameraObscura.jar
@HayamaT Thank you for report. I will test it and release a fixed version soon.
@M3DDLER
Did you use spigot? Or craftbukkit?
access the [Beacon Block], an error is displayed. [Bukkit 1.4.6-R0.4 #2591] use Error description
[SEVERE] Could not pass event InventoryOpenEvent to CameraObscura v0.1.2 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_4_6.event.CraftEventFactory.callInventoryOpenEvent(CraftEventFactory.java:501) at net.minecraft.server.v1_4_6.EntityPlayer.openBeacon(EntityPlayer.java:511) at net.minecraft.server.v1_4_6.BlockBeacon.interact(SourceFile:29) at net.minecraft.server.v1_4_6.PlayerInteractManager.interact(PlayerInteractManager.java:385) at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:656) at net.minecraft.server.v1_4_6.Packet15Place.handle(SourceFile:58) at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112) at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39) at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NullPointerException
I have encountered a problem where players on my server cannot see the images on the wall unless i give them one first. I tested a wall of 10 images and if i gave 1 image to a player he could only see that one image on the wall.
PS: I am using v1.2
@Scrandre @Rgre1
v0.1.2
http://dev.bukkit.org/media/files/662/157/CameraObscura.jar
YAAAAAAAAAY, cool plugin, fromgate!
@fromgate
I kind of like the idea of nothing at all.
@Rgre1
First, I planned to show picture's name instead of "CameraObscura". I think I will add this feature in future version :)
@harryjamesuk I'm not sure, that video will be really useful. But I'm thinking about animated gif support. May be it will be implemented.
@NegroBob
I think it will be not heavy on the server. Every map rendering only once. At my test server I created about 500 maps while plugin was finished. All was fine. At our main server we have about 1000 maps created with my Dogtags plugin (CameraObscura use same methods to draw images) and there's no any problem.
@Scrandre
Updated to CB1.4.5-R1.0 yesterday. But file still not approved.
http://dev.bukkit.org/media/files/658/124/CameraObscura.jar