Securitycams Api

Plugin for Security Cameras (For Among Us)
Alternatives To Securitycams Api
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Cameradar3,047
6 months ago7November 08, 202122mitGo
Cameradar hacks its way into RTSP videosurveillance cameras
Awesome Iot Hacks1,208
4 years ago1mit
A Collection of Hacks in IoT Space so that we can address them (hopefully).
Homebridge Unifi Protect1,014
13 days ago58June 06, 20224otherTypeScript
:video_camera: Complete HomeKit integration for UniFi Protect with full support for most features including autoconfiguration, motion detection, and multiple controllers: https://homebridge.io
Pi Timolo494
5 months ago8mitPython
Raspberry PI-TIMOLO ( PI-TImelapse, MOtion, LOwLight ) uses RPI picamera and OpenCV for Remote Headless Security Monitoring using Motion Tracking, Rclone Auto Sync files with remote storage services. Auto Twilight Transitions and Low Light Camera Settings. Panoramic images using PanTiltHat and More. This project is featured on GitHub Awesome software.
Eufy_security488
13 days ago42Python
Home Assistant integration to manage Eufy Security devices as cameras, home base stations, doorbells, motion and contact sensors.
Smart Security Camera487
4 years ago30Python
IoT security camera running open-cv for object detection 📹
Wherearetheeyes204
4 years ago25bsd-3-clauseJava
Surveillance Detection and Mapping App
Camerattack201
2 years ago5apache-2.0Go
An attack tool designed to remotely disable CCTV camera streams (like in spy movies)
Surveillance Card177
5 months ago8apache-2.0JavaScript
A custom component for displaying camera feeds in the style of a surveillance system.
Python Eufy Security170
5 months ago6February 11, 20205mitPython
Python library for Eufy Security cameras
Alternatives To Securitycams Api
Select To Compare


Alternative Project Comparisons
Readme

Security Cameras API [1.15 - 1.16] [Lightweight Camera API for Developers]

CircleCI Issues License: GPL v3 Discord Repository Size Lines of Code

Introduction

Security Cameras API is one of the best Security Camera API you will get, featuring many options for developers who like coding around security cameras. Features include a well formatted readable code friendly for developers to work around, an active Github which has commits often being pushed, and a discord for support if you require assistance. The code is open source and can be located here, which contains both the API and the example plugin we have provided to point users to the right direction. To use the API, download the jar provided in the Spigot resource and shade it inside your plugin. Do not minimizeJar or anything of the like, as it loads some version-specific classes dynamically with Reflection.

What do Security Cameras look like: Security Cameras API relies on the idea of using Armorstands which are invisible and have a "Camera" as its head.

Security Cameras API also uses another one of our libraries, Simple NPC Framework which can be located here. You may ask, why do we must include npc's in this library? Well the answer is that when a player uses a Camera, a fake NPC with the same exact look as the player is placed at the same location the player was originally in. The actual player is tped to the camera and put into spectator mode, so it looks like on their screen they are viewing the camera, but on other player's screens they just see the NPC. We have originally used Citizens, but because the library is very heavy and bulky for an API like this, we have proceeded to create our own NPC library which would be used for our plugins. You do not have to add this other API into your workspace, it has already been shaded into the Security Camera API.

API Usage

The class which is needed for the API to be useful is the CameraManager class, which can be defined using a constructor that accepts a Plugin which you pass in (for your own plugin) and a File which is needed to store the necessary configurations the camera requires.

Once you are done defining your CameraManager class, adding a camera is as convienant as CameraManager#addCamera(Location loc, String name) and removing a camera is as simple as CameraManager#removeCamera(Location loc, String name).

Cameras are saved in the indicated file in YAML format, which gets updated as cameras are created and deleted asynchronously to not block the main server thread with IO operations.

Camera data load is also made asynchronously, and will be cached upon CameraManager creation.

To use a camera, you would use the CameraManager#addWatcher(Player player, Camera camera) to add a watcher to a camera. Cameras by default support multiple watchers at once. In order to remove a watcher from a Camera, use the CameraManager#removeWatcher(Player player, boolean forceRemove) method which will either force remove or normally remove a player from a camera view. By default, sneaking will let the player out of the Camera, and teleport the player to it's original location.

In addition from methods, there are also events as well such as the CameraSetEvent, CameraDestroyEvent, CameraEnterEvent, and CameraExitEvent.

Conclusion

And that's pretty much it. We will be adding more features as we go on, but check out our organization's website located at https://ponclure.github.io, which contains all of our projects and source code made by collaborative developers. I hope this API is useful!

Popular Camera Projects
Popular Security Projects
Popular Hardware Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Java
Plugin
Security
Camera
Minecraft
Spigot
Asynchronously