@@ -32,11 +32,14 @@ internal data class PluginMetaYaml(
32
32
val author : String? = null ,
33
33
34
34
/* *
35
- * Allows to list multiple authors, if it is a collaborative project.
35
+ * Allows listing multiple authors if it is a collaborative project.
36
36
* @see author
37
37
*/
38
38
val authors : List <String >? = null ,
39
39
40
+ /* * The contributors to the plugin that aren't the managing author(s). */
41
+ val contributors : List <String >? = null ,
42
+
40
43
/* * The plugin's or author's website. */
41
44
val website : String? = null ,
42
45
@@ -49,14 +52,26 @@ internal data class PluginMetaYaml(
49
52
/* * A list of plugins that should be loaded after your plugin. */
50
53
val loadbefore : List <String >? = null ,
51
54
55
+ /* *
56
+ * This can be used to tell the server that this plugin will provide the functionality
57
+ * of some library or other plugin (like an alias system).
58
+ * Plugins that (soft)depend on the other plugin will treat your plugin
59
+ * as if the other plugin exists when resolving dependencies or using `PluginManager#getPlugin(String)`.
60
+ */
61
+ val provides : List <String >? = null ,
62
+
52
63
/* * A list of libraries your plugin needs which can be loaded from Maven Central. */
53
64
val libraries : List <String >? = null ,
54
65
55
66
/* * The name of a command the plugin wishes to register, as well as an optional list of command attributes. */
56
67
val commands : Map <String , PluginCommand >? = null ,
57
68
58
69
/* * Permission that the plugin wishes to register. */
59
- val permissions : Map <String , PluginPermission >? = null
70
+ val permissions : Map <String , PluginPermission >? = null ,
71
+
72
+ /* * The default value that permissions that don't have a `default` specified will have. */
73
+ @SerialName(" default-permission" )
74
+ val defaultPermission : String? = null ,
60
75
) : java.io.Serializable
61
76
62
77
@Serializable
0 commit comments