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.
@Pixiyo
Fixed in version 2.1
Download it when the file is approved :3
Users have this bug with LWC: When they open a chest: ''You don't have permission'' while they can get and see everything in their chest. When i removed this plugin the bug was gone. Fix pls!
One more suggestion, is there a way to get the glowstone to turnback into the stone it was prior to someone viewing once they leave that camera? Also ability to not see who is in camera. We want to use this as a way to monitor our server. We are thinking of changingcamera blocks to glass so no one seesthe change.
@Freejack01
I pm'd you with a version.
You can create public cameras, with /cctv modify public true
to make it so all players can view the camera.
Is there a way to make it to where more than the creator can use these cameras like a group per say admin?
Forgot to mention, when updating, delete your CCTV Camera folder completely from the plugins directory.
Finally managed to update to 1.3.2 :3
The plugin in 100% recoded OOP style and every reported bug via tickets is fixed.
Enjoy. ;)
o.O
I really need to fix these issues.
Oh, ouch! The premise is really cool and we can't wait to see it working at its best; Any idea when you expect to get some time free?
1.3 sorta kinda broke it. Need to update but can never get the time :/
Plugin needs to 100% recoded
I really love the concept of this plugin but cannot get it to work. As an OP in creative mode, I set up the camera/screen and linked the two and all was well until I right clicked the screen....and nothing happened. I reset the server, dropped creative and tried again, which worked, but I was not invisible and so installed the dev build. Now no matter what I do I can't get anything to happen when I right click the screen.
Any ideas?
EDIT: Yeah, the normal version doesn't work. I make the screen and the camera just as in the video, then link them just as in the video. About half the time right clicking will work fine and that camera is spot on perfect forever. The other half of the cameras I make just don't work. Even done on the same ground within five blocks of each other with screens in the same area embedded in the wall the same way, two cameras may both work and not work. Right clicking literally does nothing for half the cams. I really love the concept, but we'd love it a lot more if we could get consistent performance out of it. Any ideas?
There seems to be a bug when the camera block is surrounded by non-solid blocks and i cannot get out of the camera now. I've seen the commands /cctv exit and /cctv reload below here but they dont seem to exist actually
As a last resort i warped out. Problem is I did get to my warp but I am still unable to move as if still in the camera (is pretty logical, since i didn't actually exit it).
The camera i was in was made of Obsidian and had iron bars connected to all 4 sides and bedrok on top and below it.
Luckily restarting the server resolved the problem. When going back to the camera block it still shows as glass now. I remove on of the iron bars and am now able to leave by clicking in the empy direction when entering the camera.
So I guess you should not fill the space around your camera with non-solid blocks like iron bars, glass panes and such.
@scaler16
Whops, that was ment to clear the name tag when useing the camera but It clears chat as well :/ Ill remove the feature.
Hello, I am really happy about this plugin because i got some griefers and it works very good exept that i got a problem, Every Name' Ranks and other stuff like that disapears from chat and my players have got very disapointet about this, please fix this so i can install it again! scaler16
i have to type /reload to get out of the camera
why cant my friend view it?
@WorldOfBoon
Same problem.
Apparently my members have gotten stuck with the latest version.
They do /cctv exit and right click.
The command just gives a "Incorrect Syntax" Message so that doesn't work. I couldn't find a /cctv reload command either to set them free so what I had to do is to restart the whole server.
Is this common?
there should be a command like /cctv camera list , /cctv screen list , and /cctv link list and those commands need a permission so just no one can find links and everything so they can peak in on the cameras....also there should be a .txt file with all the screens, cameras, and links all separated (for ease) and it would be a small file so the server owner can view and see all the cam names and so on :)....yea i forgot a cam name that's why im requesting this :)
Can you add permission cctv.view ? To give permission to a player to use it, but to don't create a one..