GithubHelp home page GithubHelp logo

blockythedev / globaltablist Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codecrafter47/globaltablist

0.0 0.0 0.0 209 KB

Get back the global tablist

License: GNU General Public License v3.0

Java 100.00%

globaltablist's Introduction

GlobalTablist

Get back the global tablist

This is a simple plugin for BungeeCord to get back the global userlist which has been disabled in the 1.8 protocol update. It just shows the players and allows for some header/footer. If you want more control over the tablist use my other plugin BungeeTabListPlus.

Requirements:

  • BungeeCord build #996 or above
  • Yamler

Commands

  • /globaltablist reload

    Reloads the configuration file.

    Require permission: globaltablist.admin

Developer API

GlobalTablist provides an API which allows you to register custom placeholders.

Maven:

<repositories>
    <repository>
        <id>codecrafter47-repo</id>
        <url>http://nexus.codecrafter47.dyndns.eu/content/repositories/public/</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>de.codecrafter47.globaltablist</groupId>
        <artifactId>api</artifactId>
        <version>1.11</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

Gradle:

repositories {
    maven { url "http://nexus.codecrafter47.dyndns.eu/content/repositories/public/" }
}

dependencies {
    compileOnly group: 'de.codecrafter47.globaltablist', name: 'api', version: '1.11'
}

Creating a custom Placeholder:

  1. Add this to bungee.yml:

    softdepend: ['GlobalTablist']
  2. Create a class for your custom placeholder. The class must extend de.codecrafter47.globaltablist.Placeholder. Have a look at the existing placeholders to get an idea of how it works.

  3. Register your custom placeholder in the onEnable method of your plugin:

    public class MyPlugin extends Plugin {
    
        @Override
        public void onEnable() {
            GlobalTablist.getAPI().registerPlaceholder(this, new MyPlaceholder());
            // ...
        }
    }

globaltablist's People

Contributors

codecrafter47 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.