new file: consent-plugin/pom.xml
new file: consent-plugin/src/main/java/de/simolzimol/mclogger/consent/ConsentConfig.java new file: consent-plugin/src/main/java/de/simolzimol/mclogger/consent/ConsentPlugin.java new file: consent-plugin/src/main/java/de/simolzimol/mclogger/consent/commands/ConsentCommand.java new file: consent-plugin/src/main/java/de/simolzimol/mclogger/consent/database/ConsentDatabase.java new file: consent-plugin/src/main/java/de/simolzimol/mclogger/consent/listeners/ConsentListener.java new file: consent-plugin/src/main/java/de/simolzimol/mclogger/consent/util/MessageUtil.java new file: consent-plugin/src/main/resources/config.yml new file: consent-plugin/src/main/resources/plugin.yml modified: web/app.py modified: web/blueprints/group_admin.py modified: web/panel_db.py modified: web/templates/group_admin/base.html new file: web/templates/group_admin/privacy_policy.html new file: web/templates/group_policy.html
This commit is contained in:
28
consent-plugin/src/main/resources/plugin.yml
Normal file
28
consent-plugin/src/main/resources/plugin.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
name: MCConsent
|
||||
version: '1.0.0'
|
||||
main: de.simolzimol.mclogger.consent.ConsentPlugin
|
||||
api-version: '1.20'
|
||||
description: Privacy Policy consent enforcement for Minecraft servers
|
||||
author: SimolZimol
|
||||
|
||||
commands:
|
||||
consent:
|
||||
description: Accept, decline, or check your Privacy Policy consent status
|
||||
usage: /consent <accept|decline|status|help>
|
||||
permission: consent.use
|
||||
aliases:
|
||||
- privacy
|
||||
- pp
|
||||
|
||||
permissions:
|
||||
consent.use:
|
||||
description: Use the /consent command
|
||||
default: true
|
||||
|
||||
consent.bypass:
|
||||
description: Skip consent checks entirely (e.g. for staff / ops)
|
||||
default: op
|
||||
|
||||
consent.admin:
|
||||
description: Access admin sub-commands (reload, list, revoke, forceaccept)
|
||||
default: op
|
||||
Reference in New Issue
Block a user