smp2/plugins/ClientDetectorPlus/config.yml
2025-02-01 14:56:15 +01:00

138 lines
7 KiB
YAML

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
# ----[ClientDetectorPlus]---- #
# ----[By Loving11ish]---- #
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
# ----[Plugin Config File]---- #
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#ClientDetectorPlus config for 1.0.0
# ┌─────────────────────────────┐
# │ Client detection settings │
# └─────────────────────────────┘
client:
lockdown:
bypass-uuids:
#Do you want to have any UUID's bypass the server lockdown?
#List of bypassed players' UUIDs.
#THIS FEATURE ONLY FUNCTIONS CORRECTLY ON ONLINE MODE SERVERS AS IT USES OFFLINE PLAYER UUID CHECKS WITH MOJANG!
#OPTIONS: 'anyList', PLACEHOLDERS: none, DEFAULT: ["UUID1", "UUID2", "UUID3"]
list:
- "f8f7f33f-888f-486c-b701-212ab7fe381b" #Author of CDPlus Loving11ish - Remove if you wish.
- "UUID1"
- "UUID2"
- "UUID3"
detection:
whitelisted-players:
#Do you want to have any players bypass ALL checks?
#List of whitelisted players.
#OPTIONS: 'anyList', PLACEHOLDERS: none, DEFAULT: ["Player1", "Player2", "Player3"]
list:
- "Player1"
- "Player2"
- "Player3"
whitelisted-clients:
#Should the plugin check if the player is using a whitelisted client?
#OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'false'
enabled: false
#List of whitelisted clients.
#OPTIONS: 'anyList', PLACEHOLDERS: none, DEFAULT: ["Fabric", "Forge", "Lunar"]
list:
- "fabric"
- "forge"
- "lunar"
use-strict-client-matching:
#Should the plugin use strict client matching?
#This will only allow the client to be detected if the client name matches the list exactly (including case).
#OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'false'
enabled: false
commands:
#Should the plugin execute commands if the player is not using a whitelisted client?
#OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'false'
enabled: true
#Commands that will be executed through the console if the player is not using a whitelisted client.
#OPTIONS: 'anyList', PLACEHOLDERS: ['%player_name%', '%client_name%', '%player_uuid%', '%client_version%']
#DEFAULT:'kick %player_name% You are not using a whitelisted client!'
list:
- 'kick %player_name% You are not using a whitelisted client!'
blacklisted-clients:
#Should the plugin check if the player is using a blacklisted client?
#OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'false'
enabled: false
#List of blacklisted clients.
#OPTIONS: 'anyList', PLACEHOLDERS: none, DEFAULT: ["Fabric", "Forge", "Lunar"]
list:
- "fabric"
- "forge"
- "lunar"
use-strict-client-matching:
#Should the plugin use strict client matching?
#This will only allow the client to be detected if the client name matches the list exactly (including case).
#OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'false'
enabled: false
commands:
#Should the plugin execute commands if the player is using a blacklisted client?
#OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'false'
enabled: true
#Commands that will be executed through the console if the player is using a blacklisted client.
#OPTIONS: 'anyList', PLACEHOLDERS: ['%player_name%', '%client_name%', '%player_uuid%', '%client_version%']
#DEFAULT:'kick %player_name% You are using a blacklisted client! <%client_name%> is not allowed on this server!'
list:
- 'kick %player_name% You are using a blacklisted client! <%client_name%> is not allowed on this server!'
# ┌─────────────────────────────┐
# │ Client Control │
# └─────────────────────────────┘
client-control:
use-client-control:
#Should the plugin control the player's client?
#This feature is still in development and may not work as expected.
#OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'true'
enabled: true
run-fallback-event-detection:
#Should the plugin run the fallback event detection?
#This feature is intended to only be tried if you discover that client control features are not working.
#This should only be used as a last resort.
#If this still does not work, please report the issue to the developer (Loving11ish) on Discord.
#https://discord.gg/crapticraft
#OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'false'
enabled: false
# ┌─────────────────────────────┐
# │ Alerts settings │
# └─────────────────────────────┘
alerts:
join-notifications:
#Should the notifications be sent when a player's client are detected?
#OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'true'
enabled: true
notify-joining-player-with-permission:
#Should the player with the permission 'clientdetectorplus.notify.join' be notified when they join?
#OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'true'
enabled: true
limit-Notifications:
#Should only important notifications be sent to the player's to avoid spamming?
#OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'false'
enabled: false
#ClientDetector update system
plugin-update-notifications:
#Do you want to enable in game plugin update notifications? (Permission:'clientdetectorplus.update').
#OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'true'
enabled: true
developer-debug-mode:
#Do you want to see a lot of debug messages in console when most actions are performed?
#OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'false'
enabled: false
# ┌─────────────────────────────┐
# │ Placeholder settings │
# └─────────────────────────────┘
placeholderAPI:
#Should placeholder be enabled?
#OPTIONS: 'true'/'false', PLACEHOLDERS: none, DEFAULT:'true'
enable-Placeholders: true