Skip to content

Commit

Permalink
Add Spigot update platform
Browse files Browse the repository at this point in the history
  • Loading branch information
srnyx committed Aug 5, 2023
1 parent e220f16 commit 5ad33c0
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
package xyz.srnyx.simplechatformatter;

import org.jetbrains.annotations.NotNull;

import xyz.srnyx.annoyingapi.AnnoyingPlugin;
import xyz.srnyx.annoyingapi.PluginPlatform;
import xyz.srnyx.annoyingapi.file.AnnoyingResource;


public class SimpleChatFormatter extends AnnoyingPlugin {
@NotNull public String format = "<%player_name%> %message%";
public String format;

public SimpleChatFormatter() {
options
.pluginOptions(pluginOptions -> pluginOptions.updatePlatforms(
PluginPlatform.modrinth("simple-chat-formatter"),
PluginPlatform.hangar(this, "srnyx")))
//PluginPlatform.spigot("12345")
PluginPlatform.hangar(this, "srnyx"),
PluginPlatform.spigot("111804")))
.bStatsOptions(bStatsOptions -> bStatsOptions.id(18617))
.registrationOptions.automaticRegistration.packages(
"xyz.srnyx.simplechatformatter.commands",
Expand Down

0 comments on commit 5ad33c0

Please sign in to comment.