Skip to content

Commit

Permalink
🚧 New command registered
Browse files Browse the repository at this point in the history
  • Loading branch information
Sstudiosdev authored Apr 14, 2024
1 parent ecc5556 commit ae40ed5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/main/java/io/github/sstudiosdev/BetterPvP.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import io.github.sstudiosdev.command.BetterPvPNoPvPCommand;
import io.github.sstudiosdev.command.BetterPvPReloadCommand;
import io.github.sstudiosdev.command.BtrMain;
import io.github.sstudiosdev.command.PvPWorldCommand;
import io.github.sstudiosdev.listener.AntiKillAbuseListener;
import io.github.sstudiosdev.listener.PlayerDeathListener;
Expand All @@ -14,9 +15,7 @@
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.*;
import java.nio.file.Files;

/**
Expand Down Expand Up @@ -71,7 +70,7 @@ public void onEnable() {
*/
@Override
public void onDisable() {
sendMessageToConsole("&3BetterPvP is being disabled; this does not affect anything.");
sendMessageToConsole("&3BetterPvP is being disabled: this does not affect anything.");
sendMessageToConsole("&7Goodbye!");
}

Expand Down Expand Up @@ -115,16 +114,17 @@ private void registerEvents() {
CommandMapUtil.registerCommand(this, new BetterPvPReloadCommand(this));
CommandMapUtil.registerCommand(this, new BetterPvPNoPvPCommand(this));
CommandMapUtil.registerCommand(this, new PvPWorldCommand(this));
CommandMapUtil.registerCommand(this, new BtrMain(this));
}

/**
* Displays information in the console when you enable the plugin.
*/
private void displayConsoleInfo() {
sendMessageToConsole(" &3_____");
sendMessageToConsole(" &3| __ \\ &3BetterPvP &7v1.0.0 ");
sendMessageToConsole(" &3| __ \\ &3BetterPvP &7v1.0.0-Stable ");
sendMessageToConsole(" &3| | | | &7Running on Bukkit - Paper ");
sendMessageToConsole(" &3| |___ | &fPlugin by &3[srstaff_tv, sstudios, 1vcb, Updated by pichema]");
sendMessageToConsole(" &3| |___ | &fPlugin by &3[srstaff_tv, sstudios, 1vcb, Updated by pichema and more]");
sendMessageToConsole(" &3| |__| | ");
sendMessageToConsole(" &3|_____ / ");
sendMessageToConsole("");
Expand All @@ -141,4 +141,4 @@ private void sendMessageToConsole(String message) {
Bukkit.getConsoleSender().sendMessage(ChatColorUtil.colorize(message));
}

}
}

0 comments on commit ae40ed5

Please sign in to comment.