Easy Scoreboards [v2.5.1]

Easy Scoreboards [v2.5.1]

A Sponge plugin to create dynamic scoreboards

Build Status Downloads on Github

Features

Show
  1. Easy setup
  2. Use multiple colors per line
  3. Use multiple styles per line
  4. Use various placeholders
  5. See changes immediately
  6. Include countdowns in scoreboard, chat, XP-Bar and titles
  7. Single players can hide their scoreboard
  8. Support for the PlaceholderAPI
  9. Setting text in the tab bar
  10. Remove player names from the tab bar

If you have ideas for more features please open an issue here: Current Issues
If this is not possible just write it into the comments below or send me a PM here:
Profile - YottaFLOPS - Sponge Forums

:clipboard: Setup

  1. Place the plugin file in the mods folder of you Sponge server
  2. Start the server
  3. Edit the config file (config/de_yottaflops_easyscoreboard.conf)
  4. Reload the scoreboard (/sponge plugins reload)

Optional: Setup for the PlaceholderAPI

The PlaceholderAPI by rojo8399 adds many built-in placeholders and enables other plugins to add some as well. To use these placeholders you have to follow the next few steps.

  1. Get the latest release: rojo8399 / PlaceholderAPI
  2. Move the plugin into the mods folder of your sponge server
  3. Add placeholders to the scoreboard by editing the config file.
    Here is a list of built-in placeholders. (You can also
    add plugins that add even more placeholders to the API.)
  4. Restart the server

:link: Links (Download)

:inbox_tray: Latest Release (Download): https://github.com/byYottaFLOPS/EasyScoreboards/releases/latest

:ledger: Wiki for more information: https://github.com/byYottaFLOPS/EasyScoreboards/wiki

:page_facing_up: Github (source): https://github.com/byYottaFLOPS/EasyScoreboards


Bugs & Feature Requests

Show

Current Issues

There are no bugs.

But in case you found one or you have a new stunning feature that must be included, please open an issue
here, just write it into the comments below or send me a PM
here

5 Likes

Good plugins. I recommend other it show money of player from EconomyLite or Total economy plugins. show all number online in server. update status of money or etc every one second.

Yes adding in economy and how many players are connected etc would be great, maybe even tps.

Version 1.1 now let’s you use “ONLINECOUNT” in the scoreboard which will be replaced with the number of connected players

YottaFLOPS

Recommended. Show money from econmomylite or total economy

Interesting concept! A couple of code suggestions:
Instead of using System.out.println(), it is encouraged to @Inject an org.slf4j.Logger, and to info() or error() it, in order to a: output to everything reading the console instead of only the main command prompt, and b: to automatically add appropriate prefixes and locations.
Make sure to throw a CommandException in your execute() if anything goes wrong (e.g. if they make a line more than 38 characters, if they use more than 15 lines, etc.). This causes the supplied Text argument to be shown to the player, execution to stop, and no successes to be written.
If handleConfig() goes directly into a switch() statement, why not just have separate methods? And if it has to be one method, why use a String[] instead of a String? And if it must be an array, why not use String… instead of String[] so that you don’t have to do new String[]{} each time?

Lastly, a bigger one: I’m not sure how getCurrentPath() works, but don’t use it. Different implementations have different locations and etc. It is highly recommended to @Inject a @DefaultConfig File. If you insist on having a different config name, @Inject a @ConfigDir File instead.

The first step to a proper scoreboard system. all that is missing is proper placeholders! Keep up the nice work. hope to see good things from this plugin.

Awesome plugin! Maybe consider PlaceholderAPI Integration?

New in version 1.2

Support for economy plugins (as requested)
A lot of code enhancements (the old config files won’t work with this version)

1 Like

Does it support the multicurrency types aswell? or only a single currency.

j

I dont want to be that guy but on github it sais “teste on Spigot 1.8.9” and i know you prob ment “Sponge 1.8.9” xS

Thanks. Didn’t saw that.
I updated the release information

could u please add a countdownfunction?

For example:
8:00 min and if it is 0, execute another command

How would this countdown be activated? Through a command or an event? And in case of an event: The same countdown for everybody or should everybody have his own countdown?

through a command :slight_smile:

for example: /startCountdown
or sth else :slight_smile:

not sure, how to write a pm in here :confused:

so here:
if it helps u, i coded a countdown in Java…
perhaps ur able to implement it:

`
import java.util.Scanner;
import java.util.Timer;
import java.util.TimerTask;

public class Countdown {
static int minutes;
static int seconds;
static Timer timer;

public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    System.out.print("Input seconds (type x:xx) => : ");
    String input = scanner.nextLine();
    int delay = 1000;
    int period = 1000;
    timer = new Timer();
    String[] parts = input.split(":");
    minutes = Integer.parseInt(parts[0]);
    seconds = Integer.parseInt(parts[1]);
    System.out.println(input);
    timer.scheduleAtFixedRate(new TimerTask() {

        public void run() {
            System.out.println(setInterval());

        }
    }, delay, period);
}

private static final String setInterval() {
    if (minutes == 0 && seconds == 1){
        --seconds;
        timer.cancel();
    }else if(seconds == 0){
        --minutes;
        seconds = 59;
    }else{
        --seconds;
    }
    if((String.valueOf(seconds)).length() == 1){
        return minutes+":0"+seconds;
    }
    
    return minutes+":"+seconds;
}

}
`

I would be very glad if that will be possible :slight_smile:

##New in version 1.3
Support for countdowns in scoreboard, chat, XP-Bar and titles
New command system (Every command now starts with /scoreboard)

1 Like

wow thanks for the nice Support :slight_smile:

New in version 1.3.1

Support Sponge 1.8
Therefor the commands have been changed from /scoreboard to /easyscoreboard

Please note that `PLAYERBALANCE` won't work in the 1.8 as the economy 
API is not implemented in this version

Why are the vanilla commands (like scoreboard teams) not working with this plugin?
shouldn’t they be able to exists together? :slight_smile: