-
Notifications
You must be signed in to change notification settings - Fork 62
/
plugin.yml
58 lines (58 loc) · 2.13 KB
/
plugin.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: DevTools
main: DevTools\DevTools
src-namespace-prefix: DevTools
version: 1.17.2+dev
api: [5.0.0]
load: STARTUP
author: PocketMine Team
description: Helps develop and distribute PocketMine-MP plugins
website: https://github.com/PocketMine/DevTools
commands:
makeplugin:
description: Creates a Phar plugin from one in source code form
usage: "/makeplugin <pluginName>"
permission: devtools.command.makeplugin
checkperm:
description: Checks a permission value for the current sender, or a player
usage: "/checkperm <node> [playerName]"
permission: "devtools.command.checkperm;devtools.command.checkperm.other"
listperms:
description: Lists all the permission nodes set on the executor, or a player
usage: "/listperms [playerName]"
permission: "devtools.command.listperms.self;devtools.command.listperms.other"
handlers:
description: Lists all event handlers currently associated with an event
usage: "/handlers <event>"
permission: devtools.command.handlers
handlersbyplugin:
description: Lists all event handlers registered by a given plugin
usage: "/handlersbyplugin <pluginName>"
permission: devtools.command.handlersbyplugin
permissions:
devtools.command.makeplugin:
default: op
description: "Allows the creation of Phar plugins"
devtools.command.extractplugin:
default: op
description: "Allows the extraction of Phar plugins"
devtools.command.checkperm:
default: true
description: "Allows checking a permission value"
devtools.command.checkperm.other:
default: op
description: "Allows checking others permission value"
devtools.command.genplugin:
default: op
description: "Allows the user to generate skeleton files for a plugin"
devtools.command.listperms.self:
default: op
description: "Allows the user to list their own permissions"
devtools.command.listperms.other:
default: op
description: "Allows the user to list another player's permissions"
devtools.command.handlers:
default: op
description: "Allows the user to list handlers associated with an event"
devtools.command.handlersbyplugin:
default: op
description: "Allows the user to list event handlers registered by a given plugin"