CCTV Camera
^(Click me to donate!)^
CCTV Camera
Current Version - Version 2.8
For CraftBukkit - 1.4.7-R1.0
Expected revival starting by July, 2014. A complete recode using a more efficient method will occur, addressing all reported bugs. Expect a much more efficient version with minimal bugs. Expected to be finished August, 2014
Add cameras to monitor your server!
No Client-side add-ons needed!(No Spout)
What is it?
CCTV Cameras is a plugin developed by sayaad as an attempt to fulfil this plugin requests.
How Does it work?
This goes by the workaround that dibujaron taught of. That is, you create a screen and a camera then rightclick the screen to teleport to the respective camera.
There are 2 types of cameras :
- Dispenser Cameras - These use the dispenser block (because they look like cameras to us) as the camera screen. The direction the dispenser is faceing when you teleport to it. If you attempt to look to a diffrent side, you get teleported to the correct side and, for both types of cameras, if you attempt to move/break blocks/interact/hurt players, the action in undone.
- 360 Cameras - Unlike the dispenser cameras, these cameras can be any block type specified in the config and allows for a 360 view of the environment.
When you teleport to a camera you cannot interact with the environment. You will be inside of a glass block which gives a nice black block outline as to a real camera screen.
Features
- No Spout Needed!
- Configurable whether only the player created the camera-screen links can use them. Configurable camera block ids and screen block ids.
- Multi world support (screens can be in different world than cameras)
- Ability for players to see who is in a camera while viewing them.
- Creation wizard to avoid misconfigurations.
Commands and How To's
<> = required [] = optional
- /cctv create camera <camera name> - Enter camera creation mode. USE THIS COMMAND FIRST. After entering the command, left click your eligible camera block (default : dispensers, sponges, obsidian). If you screw up, the plugin will detect it.
- /cctv create screen <screen name> - Enter screen creation mode. USE THIS COMMAND AFTER CREATING CAMERA. Right-click eligible screen block to create a screen (default : Black wool, Grey Wool).
- /cctv link [camera name] [screen name] - Links the two. Use this AFTER you entered the above two commands. ^
After you link the two, you may right click the screen to teleport to the camera. When you are in the camera, you rightclick to exit it.
- /cctv modify [param] [true | false] - modifies the camera not linked yet. Params : public - when true, anyone can use the camera.
- /cctv delete link - Enter Link deletion mode. (You cannot delete a link that is not yours).
Note : You Rightclick to exit the camera.
Config
# Camera Config Options Camera: # Which block IDS can be a camera? Separated by "," # 49 = Obsidian, 19 = Sponge, 23 = Dispenser. Camera Block IDS: 49,19,23 # Allow dispenser cameras or only 360 cameras are created? Camera can be dispenser: true #Screen Config Options Screen: # Which block IDS can be a screen? Separated by ",". # 35:15 = Black Wool , 35:7 = Grey Wool Screen Block IDS: 35:15,35:7 #General Config options CCTV: #Creates either glowstone or glass under a camera Create Glowstone under camera: false #Self explanatory Invisible while viewing camera: true
Permissions
- cctv.create - all CCTV Camera commands.
- cctv.use - Permission to use the camera
- cctv.admin.spy - Allows server admins to view all cameras. Whether public or private.
Video
Thanks a lot to WoopaGaming for the video!
[German]
Filing errors
Please....please do not post errors on the comments on the plugin as they spam the comments and lead to me not being able to read other people's messages and also that the amount of chars per line is too small so that I will not be able to read and decipher the error as fast as I normally would.
I manage the following :
- Private Messages - Feel free to pm me
- Tickets
- The Forum
If you wish, you can put it in the form of a paste.
Live Graph Feed of Usage
Download
- See file for corresponding change log.
Notes
^ The image is a link in case you did not know ^
Delete the CCTV Camera folder in your plugins folder OR delete the Links.txt file located in the Data folder in the CCTV Camera folder before updating if specified.



-
View User Profile
-
Send Message
Posted Nov 15, 2012Thank you, its fixed now. Maybe I should have posted earlier about the public part ;-). People don't always say what they need to say.
Thanks alot for a great plugin.
One question: I am seeing reputation when clicking on ppls names, but I don't have a clue how to actually give it to someone?
-
View User Profile
-
Send Message
Posted Nov 14, 2012I'm currently live streaming me fix this issue.
So if you want to see how I code or want to C/P my code, here is the link.
It'll be down when I fix the issue.
Edit:
Fixed. Watch the entire process.
Anyways, download v2.6 when the file is accepted and don't forget to delete your CCTV Camera folder and recreate your cameras ;)
-
View User Profile
-
Send Message
Posted Nov 14, 2012I see this plugin is having some issues now since the latest CB update and I see alot of people asking and complaining. I want to advice everyone to wait for Sayaad to fix this since it is a great pluging (If you know the full story of the challenge, HE did what no one thought was possible) He will fix this, just wait for it. I know I will ;-).
@Sayaad: Thank for this plugin. I seem to only have problems when I want to make the cam public, as soon as it is not public it works. I am on MC 1.4.2 and CB 1.4.2 Beta #2455. This is with CCTV 2.4 version.
Do you need the errors in a ticket?
-
View User Profile
-
Send Message
Posted Nov 14, 2012@Malikk65
Wouldn't work.
The main reason it's a glass block is so that they wouldn't take suffocation dmg and won't get pushed by the solid block the camera is.
-
View User Profile
-
Send Message
Posted Nov 14, 2012Hey sayaad,
got a issue/suggestion: If two players are visitin' through the same camera, and one of them leaves the Camera-View. So the player who's remaining wont see anymore as a GlassBlock is there. He just is able to see the inner of a Block, looks as he's suffocating in a Wall.
Would really help to let more than one Player visit a Camera, without these annoying issues.
-
View User Profile
-
Send Message
Posted Nov 14, 2012Help i cant create a 360 camera, i watched the video and stuff but it still doesn't work. Can anybody help me?
-
View User Profile
-
Send Message
Posted Nov 13, 2012You should send a clientside block change, rather than actually changing the block. That way, it would look like glass to whoevers viewing the camera, but remain the block it should be to everyone else.
Just a thought.
-
View User Profile
-
Send Message
Posted Nov 12, 2012I honestly have no idea why v2.4 gives that error.
No way a boolean will return an NPE and plus, when I tested it myself over and over, absolutely no errors was formed.
I'll upload a new version 2.5 and see if that fixes it.
-
View User Profile
-
Send Message
Posted Nov 12, 2012People are unable to leftclick a camera when the plugins tells you. It will do noting
-
View User Profile
-
Send Message
Posted Nov 12, 2012please help. whenever i place a block or press a button or presser plate or lever it says "[CCTV] Camera] Someone broke your camera.
Please e-mail me the answer > rph_22@aol.com
-
View User Profile
-
Send Message
Posted Nov 11, 2012null org.bukkit.command.CommandException: Unhandled exception executing command 'cctv' in plugin CCTV Camera v2.4 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:502) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:911) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:824) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:806) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.NetworkManager.b(NetworkManager.java:282) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:111) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:569) at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:215) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:486) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.ThreadServerApplication.run(SourceFile:818) Caused by: java.lang.NullPointerException at me.sayaad.CCTV.util.Link.ToFormattedString(Link.java:54) at me.sayaad.CCTV.main.onCommand(main.java:160) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more hmm i get that in console when i want to link cameras what does it mean
-
View User Profile
-
Send Message
Posted Nov 8, 2012Same issue. When attempting to link the camera to the screen an internal error occured.
Was going great til then.
________
EDIT
I believe I found the issue. I set the mode to public... I had left it alone before. It worked then
-
View User Profile
-
Send Message
Posted Nov 7, 2012@HoneydewGurl
Same issue here. When you fix it, please explain how you did so.
-
View User Profile
-
Send Message
Posted Nov 4, 2012@HoneydewGurl
Please start a ticket with the error posted or PM me the error.
I need it to analyze exactly what caused the error and how I can tell you to fix it / fix it.
-
View User Profile
-
Send Message
Posted Nov 4, 2012It says "Internal Error Error while attempting to perform this command". The command that failed was '/cctv link'. Please Help!
-Paris
-
View User Profile
-
Send Message
Posted Nov 3, 2012@lenis0012
Fixed in version 2.3
Download when the file is accepted
-
View User Profile
-
Send Message
Posted Nov 3, 2012could you add multiple setup's support?
my vips can create camera's but its already in a setup when they try it.
also, when youre done with your setup it stilll says there is a setup active
till you use /reload
-
View User Profile
-
Send Message
Posted Oct 28, 2012@gwind2012
The data is saved in a file located at
plugins/CCTV Camera/Data/Links.txt
-
View User Profile
-
Send Message
Posted Oct 28, 2012Is there any way to save your data with these cameras?
-
View User Profile
-
Send Message
Posted Oct 27, 2012oh this is perfect for what i need..