mirror of
https://github.com/lucko/LuckPerms.git
synced 2025-09-08 21:30:55 +02:00
More work
This commit is contained in:
@@ -11,6 +11,7 @@ if (project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePass
|
||||
apply plugin: 'signing'
|
||||
|
||||
javadoc {
|
||||
title = 'LuckPerms API (v' + project.ext.apiVersion + ')'
|
||||
options.encoding = 'UTF-8'
|
||||
options.charSet = 'UTF-8'
|
||||
options.links(
|
||||
@@ -56,7 +57,7 @@ if (project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePass
|
||||
project {
|
||||
name 'LuckPerms API'
|
||||
description 'An advanced permissions plugin for Bukkit/Spigot, BungeeCord, Sponge, Nukkit and Velocity.'
|
||||
url 'https://luckperms.github.io'
|
||||
url 'https://luckperms.net'
|
||||
|
||||
licenses {
|
||||
license {
|
||||
|
@@ -160,7 +160,7 @@ public interface LuckPerms {
|
||||
|
||||
/**
|
||||
* Gets the {@link ContextManager}, responsible for managing
|
||||
* {@link ContextCalculator}s, and calculating applicable contexts.</p>
|
||||
* {@link ContextCalculator}s, and calculating applicable contexts.
|
||||
*
|
||||
* @return the context manager
|
||||
*/
|
||||
|
@@ -47,6 +47,7 @@ public interface ExtensionManager {
|
||||
* Loads the extension at the given path.
|
||||
*
|
||||
* @param path the path to the extension
|
||||
* @return the extension
|
||||
* @throws IOException if the extension could not be loaded
|
||||
*/
|
||||
@NonNull Extension loadExtension(Path path) throws IOException;
|
||||
|
@@ -35,8 +35,8 @@ import java.util.Objects;
|
||||
* <p>It is intended that {@link NodeMetadataKey}s are obtained and stored as
|
||||
* follows.</p>
|
||||
* <p><blockquote><pre>
|
||||
* public static final NodeMetadataKey<SpecialMetadata> SPECIAL_METADATA_KEY = NodeMetadataKey.of("specialmetadata", SpecialMetadata.class);
|
||||
* </pre></blockquote></p>
|
||||
* public static final NodeMetadataKey<SpecialMetadata> SPECIAL_METADATA_KEY = NodeMetadataKey.of("specialmetadata", SpecialMetadata.class);
|
||||
* </pre></blockquote>
|
||||
*
|
||||
* @param <T> the metadata type
|
||||
*/
|
||||
@@ -70,6 +70,6 @@ public interface NodeMetadataKey<T> {
|
||||
*
|
||||
* @return the type
|
||||
*/
|
||||
@NonNull Class<T> getType();
|
||||
@NonNull Class<T> type();
|
||||
|
||||
}
|
||||
|
@@ -44,7 +44,7 @@ final class SimpleNodeMetadataKey<T> implements NodeMetadataKey<T> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NonNull Class<T> getType() {
|
||||
public @NonNull Class<T> type() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
|
@@ -52,6 +52,6 @@ public interface InheritanceOriginMetadata {
|
||||
*
|
||||
* @return where the node was inherited from.
|
||||
*/
|
||||
@NonNull String getOrigin();
|
||||
PermissionHolder.@NonNull Identifier getOrigin();
|
||||
|
||||
}
|
||||
|
@@ -36,8 +36,8 @@ import java.util.Objects;
|
||||
*
|
||||
* <p>It is intended that {@link OptionKey}s are created and defined as follows.</p>
|
||||
* <p><blockquote><pre>
|
||||
* public static final OptionKey<String> SPECIAL_OPTION = OptionKey.of("special", String.class);
|
||||
* </pre></blockquote></p>
|
||||
* public static final OptionKey<String> SPECIAL_OPTION = OptionKey.of("special", String.class);
|
||||
* </pre></blockquote>
|
||||
*
|
||||
* @param <T> the option type
|
||||
*/
|
||||
@@ -71,6 +71,6 @@ public interface OptionKey<T> {
|
||||
*
|
||||
* @return the type
|
||||
*/
|
||||
@NonNull Class<T> getType();
|
||||
@NonNull Class<T> type();
|
||||
|
||||
}
|
||||
|
@@ -44,7 +44,7 @@ final class SimpleOptionKey<T> implements OptionKey<T> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NonNull Class<T> getType() {
|
||||
public @NonNull Class<T> type() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user