Initial code
This commit is contained in:
15
LICENSE
15
LICENSE
@@ -2,17 +2,8 @@ MIT License
|
||||
|
||||
Copyright (c) 2025 ArdakazMC
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
|
||||
associated documentation files (the "Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
|
||||
following conditions:
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial
|
||||
portions of the Software.
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
|
||||
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
|
||||
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
||||
USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -1,2 +1,3 @@
|
||||
# GriefAlert
|
||||
|
||||
A simple grief alert plugin using CoreProtect API.
|
65
config.yml
Normal file
65
config.yml
Normal file
@@ -0,0 +1,65 @@
|
||||
# Ignore all stealing?
|
||||
allow-stealing: false
|
||||
|
||||
# Breaking these blocks don't cause alerts. (Material)
|
||||
excluded-blocks:
|
||||
- WHEAT
|
||||
- CARROTS
|
||||
- POTATOES
|
||||
- BEETROOTS
|
||||
- NETHER_WART
|
||||
- PUMPKIN
|
||||
- MELON
|
||||
- SUGAR_CANE
|
||||
- KELP_PLANT
|
||||
- KELP
|
||||
- SWEET_BERRY_BUSH
|
||||
- COCOA
|
||||
|
||||
# Taking items from these containers cause alerts. (InventoryType)
|
||||
valid-containers:
|
||||
- CHEST
|
||||
- BARREL
|
||||
- BLAST_FURNACE
|
||||
- BREWING
|
||||
- FURNACE
|
||||
- DISPENSER
|
||||
- DROPPER
|
||||
- HOPPER
|
||||
- SHULKER_BOX
|
||||
- SMOKER
|
||||
|
||||
# Which animals trigger an alert when killed on a build.
|
||||
triggered-animals:
|
||||
- ALLAY
|
||||
- ARMADILLO
|
||||
- AXOLOTL
|
||||
- CAMEL
|
||||
- CAT
|
||||
- CHICKEN
|
||||
- COW
|
||||
- DONKEY
|
||||
- FROG
|
||||
- HORSE
|
||||
- MOOSHROOM
|
||||
- MULE
|
||||
- OCELOT
|
||||
- PARROT
|
||||
- PIG
|
||||
- RABBIT
|
||||
- SHEEP
|
||||
- SKELETON_HORSE
|
||||
- SNIFFER
|
||||
- SNOW_GOLEM
|
||||
- TURTLE
|
||||
- VILLAGER
|
||||
- IRON_GOLEM
|
||||
- WOLF
|
||||
- LLAMA
|
||||
- FOX
|
||||
- GOAT
|
||||
- PANDA
|
||||
- POLAR_BEAR
|
||||
|
||||
# [Optional] Dynmap link for external hooks.
|
||||
map-link: ""
|
14
plugin.yml
Normal file
14
plugin.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
name: GriefAlert
|
||||
main: net.ardakaz.griefalert.GriefAlert
|
||||
version: 0.5
|
||||
api-version: 1.21
|
||||
depends: [CoreProtect]
|
||||
softdepend: [DiscordSRV]
|
||||
description: A simple grief alert plugin using the CoreProtect API.
|
||||
authors: [Ardakaz, kleedje30]
|
||||
commands:
|
||||
griefalert:
|
||||
description: GriefAlert staff commands
|
||||
usage: /griefalert <ignore|unignore|check>
|
||||
permission: griefalert.staff
|
||||
permission-message: You do not have permission to use this command.
|
Reference in New Issue
Block a user