Spigot ABScoreBoard 4.0

A simple but good scoreboard with papi

  1. Beasty_Buildes submitted a new resource:

    ABScoreBoard - A simple but good scoreboard with papi

    Read more about this resource...
  2. Beasty_Buildes updated ABScoreBoard with a new update entry:


    Read the rest of this update entry...
  3. I suggest changing the untoggle/toggle command to a /abtoggle that way it won't require typing two different commands.

    Code (Text):
    package me.antpro5.scoreboard.commands;

    import me.antpro5.scoreboard.Main;
    import me.antpro5.scoreboard.api.SBManager;
    import me.antpro5.scoreboard.utils.Utils;

    import java.util.ArrayList;

    import org.bukkit.command.Command;
    import org.bukkit.command.CommandExecutor;
    import org.bukkit.command.CommandSender;
    import org.bukkit.entity.Player;
    import org.bukkit.scoreboard.DisplaySlot;

    public class Toggle
      implements CommandExecutor
      private Main plugin;
      public Toggle(Main plugin) { this.plugin = plugin; }

      ArrayList<Player> toggle = new ArrayList();

      public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
        if (cmd.getName().equalsIgnoreCase("abtoggle") &&
          sender.hasPermission("abtoggle.use")) {
          Player player = (Player)sender;
        if (toggle.contains(player)) {
          player.setScoreboard(SBManager.setScoreBoard(null, player));
          return false;
        } else {
            return true;

        return false;
  4. Anyone that uses this plugin on their server, send me the IP so I can check your server out!
  5. I added it to my server and players loves it!
  6. likeDEV_ whats the IP of your server so I can check it out and add it to the plugin description.