Skip to content

therealdamt/Viper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Viper

A scoreboard API for all versions of which support the default minecraft scoreboard

Viper board, created by waseem.

Features

  • Supports up to 40 characters per line.
  • Light weight.
  • Developer friendly. Setup your board in a few lines.
  • Can be reloaded
  • Changable timing intervals
  • Each player has their own scoreboard [Can be used for cores]

Tested Versions

  • 1.8 [40 Characters]

Code Examples

    @Override
    public void onEnable() {

        new Viper(this, new ViperAdapterExample(), 10);

        /*
        Time = Long Time
        Adapter = Your Scoreboard Adapter (Must extend @ViperBoard)
        Plugin = Your Java Main Class
         */

    }
public class ViperAdapterExample implements ViperBoard {

    @Override
    public String getTitle() {
        return "Scoreboard!";
    }

    @Override
    public List<String> getLines(Player player) {
        List<String> lines = new ArrayList<>();
        lines.add("Name: " + player.getName());
        return lines;
    }

Contact

  • Discord: bingbongwaseem

Credits

This README format was taken of Assemble's original format by TheKawaiiiSam

About

Tested, Works. Still in Development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages