This commit is contained in:
David 2023-12-01 10:58:13 -07:00 committed by GitHub
commit 2a62079beb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
package me.clip.placeholderapi.expansion;
/**
* This is a convenient skeletal class for all plugins that want to supply placeholders.
*/
public abstract class AbstractPlaceholderExpansion extends PlaceholderExpansion
{
private final String identifier, version, author;
protected AbstractPlaceholderExpansion(String identifier, String version, String author) {
this.identifier = identifier;
this.version = version;
this.author = author;
}
@Override
public String getIdentifier() {
return this.identifier;
}
@Override
public String getVersion() {
return this.version;
}
@Override
public String getAuthor() {
return this.author;
}
}