innit commit
This commit is contained in:
29
src/main/resources/config.yml
Normal file
29
src/main/resources/config.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
# ------------------
|
||||
# Graylist Config
|
||||
# ------------------
|
||||
|
||||
## Plugin Language
|
||||
# Default is "en-US"
|
||||
lang: en-US
|
||||
|
||||
## Service Configuration
|
||||
services:
|
||||
|
||||
## Default service to use when a service isn't specified.
|
||||
default: mojang
|
||||
|
||||
## List of service configs
|
||||
# By default, built-in services (except Mojang) are disabled
|
||||
configs:
|
||||
|
||||
internal.mojang:
|
||||
# enabled: false
|
||||
# prefix:
|
||||
|
||||
internal.floodgate:
|
||||
#enabled: true
|
||||
prefix: "."
|
||||
|
||||
internal.elyby:
|
||||
#enabled: true
|
||||
#prefix:
|
||||
7
src/main/resources/lang/en-US.yml
Normal file
7
src/main/resources/lang/en-US.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
graylist.add:
|
||||
added: "Added <name> to the whitelist"
|
||||
present: "<name> is already whitelisted"
|
||||
|
||||
graylist.remove:
|
||||
removed: "Removed <name> from the whitelist"
|
||||
absent: "<name> is not whitelisted"
|
||||
70
src/main/resources/plugin.yml
Normal file
70
src/main/resources/plugin.yml
Normal file
@@ -0,0 +1,70 @@
|
||||
name: Graylist
|
||||
version: ${version}
|
||||
main: dev.chimken.graylist.Graylist
|
||||
api-version: '1.21'
|
||||
permissions:
|
||||
graylist:
|
||||
default: op
|
||||
|
||||
graylist.*:
|
||||
description: Gives access to all Graylist commands
|
||||
default: op
|
||||
children:
|
||||
graylist.manage: true
|
||||
graylist.view: true
|
||||
|
||||
graylist.manage:
|
||||
description: Gives access to all Graylist management commands
|
||||
children:
|
||||
graylist: true
|
||||
graylist.command.add: true
|
||||
graylist.command.remove: true
|
||||
graylist.command.on: true
|
||||
graylist.command.off: true
|
||||
graylist.command.reload: true
|
||||
|
||||
graylist.view:
|
||||
description: Gives access to all Graylist state viewing commands
|
||||
children:
|
||||
graylist: true
|
||||
graylist.command.list: true
|
||||
graylist.command.status: true
|
||||
graylist.command.services: true
|
||||
|
||||
commands:
|
||||
graylist:
|
||||
usage: /graylist [subcommand]
|
||||
permission: graylist
|
||||
children:
|
||||
add:
|
||||
description: Add a user to the whitelist
|
||||
usage: /graylist add <username|uuid> [service]
|
||||
permission: graylist.command.add
|
||||
remove:
|
||||
description: Remove a user from the whitelist
|
||||
usage: /graylist remove <username|uuid> [service]
|
||||
permission: graylist.command.remove
|
||||
on:
|
||||
description: Enable the whitelist
|
||||
usage: /graylist on
|
||||
permission: graylist.command.on
|
||||
off:
|
||||
description: Disable the whitelist
|
||||
usage: /graylist off
|
||||
permission: graylist.command.off
|
||||
list:
|
||||
description: List all whitelisted users
|
||||
usage: /graylist list
|
||||
permission: graylist.command.list
|
||||
status:
|
||||
description: Get the current whitelist state
|
||||
usage: /graylist status
|
||||
permission: graylist.command.status
|
||||
services:
|
||||
description: Get all available services
|
||||
usage: /graylist services
|
||||
permission: graylist.command.services
|
||||
reload:
|
||||
description: Reload the whitelist
|
||||
usage: /graylist reload
|
||||
permission: graylist.command.reload
|
||||
Reference in New Issue
Block a user