Skip to content

Detect when items are stolen from chests inside a specific location

License

Notifications You must be signed in to change notification settings

pkramme/coreprotect-steal-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

coreprotect-steal-detector

This tool detects when items are stolen from chests inside a specific location. Specific locations are defined by a base database, such as this:

[examplebase]
x1 = 320
x2 = 380
z1 = 40
z2 = 150
allowedplayers = someplayer,anotherone,onemore

Another configuration file is needed to start the application:

[webhook]
url = https://path/to/a/webhook/endpoint
user = http-basic-auth-user-here
password = and-the-password-here

[paths]
db = path/to/coreprotect
basedb = path/to/base/database

Pull the dependencies with pipenv install Finally you can start the application pipenv run python3 main.py --config path-to-config.

I am using this with n8n to send steal events to a discord server.

About

Detect when items are stolen from chests inside a specific location

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages