Merge pull request #1046 from PlaceholderAPI/feature/add-plugin-authors

Add Plugin Authors to /papi dump
This commit is contained in:
Gabriel Dumitru 2024-03-07 22:59:42 +02:00 committed by GitHub
commit 882b7c5965
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -200,7 +200,9 @@ public final class CommandDump extends PlaceholderCommand {
for (final Plugin other : plugins) {
builder.append(" ")
.append(String.format("%-" + size + "s", other.getName()))
.append(" [Version: ")
.append(" [Authors: [")
.append(String.join(", ", other.getDescription().getAuthors()))
.append("], Version: ")
.append(other.getDescription().getVersion())
.append("]")
.append("\n");