Added Enchant limits to config, so now the hotbar items blocker is actually useful

This commit is contained in:
TheTrouper
2023-08-05 21:28:01 -05:00
parent cc553718cc
commit 0553509730
9 changed files with 431 additions and 57 deletions

View File

@@ -1,4 +1,4 @@
# Sentinel 0.1.5
# Sentinel 0.1.8
# ____ __ ___
#/\ _`\ /\ \__ __ /\_ \
#\ \,\L\_\ __ ___\ \ ,_\/\_\ ___ __\//\ \
@@ -9,9 +9,13 @@
# ]======------ Configuration & Setup Guide ------=====[
# Sentinel is inspired by WickBot.com
# Be sure to check out their amazing discord bot!
# If you need help, join the discord!
# https://discord.gg/sentinelmc v Use below if it expired
# https://sentinelauth.000webhostapp.com/discord.html
#
config:
plugin:
key: "beta" # if you are a beta tester, leave this value as "beta"
key: "beta" # Put your license key here. If you do not have one, join the discord to verify your purchase
# --------------------------------
# Anti-Nuke Setup (Do this first)
# --------------------------------
@@ -55,6 +59,64 @@ config:
- "smite %player%"
- "ban %player% ]=- Sentinel -=[ You have been banned for attempting a dangerous action. If you believe this to be a mistake, please contact the server owner."
reop-command: false # Defaulted false | This enables the command allowing trusted players to op themselves if they get deoped.
nbt:
allow-name: true # Defaulted to true, weather or not to allow all item names durring creative inv event
allow-lore: true # Defaulted to true, weather or not to allow all item lore during creative inv event
allow-attributes: false # defaulted to false, weather or not to allow item attributes in a creative inv event
# Enchants
global-max-enchant: 5 # Defaulted to 5, if any enchantment is above this, it will get deleted. Set to 0 to disable all enchants from creative inv
# It is recommended to keep the ones defaulted to 1 at 1, as this will keep people who spam 32k onto every enchant will get caught
# All items
max-mending: 1 # Defaulted to 1
max-unbreaking: 3 # Defaulted to 3
max-vanishing: 1 # Defaulted to 1
# ARMOR
max-aqua-affinity: 1 # Defaulted to 1
max-blast-protection: 4 # Defaulted to 4
max-curse-of-binding: 1 # Defaulted to 1
max-depth-strider: 3 # Defaulted to 3
max-feather-falling: 4 # Defaulted to 4
max-fire-protection: 4 # Defaulted to 4
max-frost-walker: 2 # Defaulted to 2
max-projectile-protection: 4 # Defaulted to 4
max-protection: 4 # Defaulted to 4
max-respiration: 3 # Defaulted to 3
max-soul-speed: 3 # Defaulted to 3
max-thorns: 3 # Defaulted to 3
max-swift-sneak: 3 # Defaulted to 3
# MELEE WEAPONS
max-bane-of-arthropods: 5 # Defaulted to 5
max-efficiency: 5 # Defaulted to 5
max-fire-aspect: 2 # Defaulted to 2
max-looting: 3 # Defaulted to 3
max-impaling: 5 # Defaulted to 5
max-knockback: 2 # Defaulted to 2
max-sharpness: 5 # Defaulted to 5
max-smite: 5 # Defaulted to 5
max-sweeping-edge: 3 # Defaulted to 3
# RANGED WEAPONS
max-channeling: 1 # Defaulted to 1
max-flame: 1 # Defaulted to 1
max-infinity: 1 # Defaulted to 1
max-loyalty: 3 # Defaulted to 3
max-riptide: 3 # Defaulted to 3
max-multishot: 1 # Defaulted to 1
max-piercing: 4 # Defaulted to 4
max-power: 5 # Defaulted to 5
max-punch: 2 # Defaulted to 2
max-quick-charge: 3 # Defaulted to 3
# TOOLS
max-fortune: 3 # Defaulted to 3
max-luck-of-the-sea: 3 # Defaulted to 3
max-lure: 3 # Defaulted to 3
max-silk-touch: 1 # Defaulted to 1
# -------------------------------
# Chat Filter Setup & AntiSpam
# -------------------------------