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.
Wicked sick. Gonna try it.
Hey,
I love the plugin so far!
I do have 1 request for it, though... Would it be possible to add the option to make a link so you can actually teleport to it? Like a 1 way warp, but by just clicking, while viewing the camera. Or perhaps by using a button (a sign?) of some sort that you have to place in front of the camera, or at least in the visibility and reach. And mark it as a teleport camera with /cctv modify tp true, or something...
@matthew1235100
I'll do it for free. I'm starting to take plugin requests by Friday(7th December 2012) so you can request plugins at that time. I just have one more exam on Friday, then I shall be developing a ton of custom plugins ;)
Hello, i am wanting to know if u could make me a custom plugin (basic). For more info PM me and i will send u my Skype Username
P.S , i am willing to pay for it...
@LukeyAsh
There hasn't been any API changes since then so v2.6 should work.
If not, just go here.
Hey im looking for the 1.2.5 version as im looking to use this plugin on tekkit and tekkit has not been updated yet, so I need a link!
Luke
@theepicmeh
Oh, I forgot to mention, if you delete your CCTV Camera folder in order to update, you will have to recreate all your camera-screen links ;)
I will specify what versions you need to delete your CCTV Camera folder in the changelog
Right clicking the screens does nothing...
Can you make it compatible with mcmmo, because when i click on the block to see my camera, it just says you lowered your fists...
@sayaad That's fine. No need to hurry. :)
@V10lator
I knows :3
I'm just on a coding break atm. Exams for me is next week so eclipse is off and the books are on.
V10lator...that would be mean :)
@charlza @sayaad Cancelling the PlayerInteractEvent at EventPriority.LOWEST should fix this. :)
I stumbled across your plugin a couple of days ago- it's great! But I found another plugin that works really, really cool with it. Portal Stick!
Since you can left click while viewing a camera...you left click with the portal stick to set the destination portal while viewing a camera. Switch tools and right click to exit the CCTV screen. Set the origin portal where are you...and walk on through the portal to the CCTV camera location!
You just have to make sure you have a stone wall within the viewing field of the camera.
Here is the PortalStick Bukkit page: http://dev.bukkit.org/server-mods/portalstick/
I'll post this on PortalStick's Bukkit page too.
Friend, i have a problem, i can only create the camera with a dispenser, and i would like to create a camera in a chest or a furnace, or dirt, but i can't. My config.yml say:
Camera: Camera Block IDS: 2,54,61 Camera can be dispensor: false Screen: Screen Block IDS: 4,41,5 CCTV: Create Glowstone under camera: false Invisible while viewing camera: true
Sorry to bother you again, i found real bug now :3 YOU CAN HARM MOBS IN CAMERA MODE!! :D I made The End camera into spawn, people can kill the enderdragon etc. from the camera ^_^ with no item hand or pickaxes... not sure what else but not with sword i believe :3
The Bug with the Suffocation is allready there. If 2 People are visiting the same Camera, and one of them leaves, than the GlassBlock is replaced by the Block it was before. But it's too early.
@semirotta
It's "Public" not "Puplic" xD
Make sure you spelt it correctly
Found a bug (sent you private message already)
Cannot create PUPLIC cameras
Cool mod!
minor 2.6 issue: after creating a 360 camera and viewing it, the initial viewing-angle isn't what i want it to be.
I already tried to place one by looking at a different direction but this didn't work.
Is this a limitation or can it be changed?
edit: i'm op and while viewing the camera i could destroy the glass block that was under me + i can also hit (damage) players that are near the camera.
Thanks :)
@ JK82NL: 'Like' someone's post ;-) (ps: check your reputaion)