Skip to content

Latest commit

 

History

History
99 lines (75 loc) · 1.92 KB

README.md

File metadata and controls

99 lines (75 loc) · 1.92 KB

Lobby

Modular Plugin for Spigot 1.19+

Features

  • Easy to use and lightweight
  • World & Player Protection
  • 100% Configurable
  • Modular-System (Custom Modules)
  • Premade Modules (Navigator, Player-Hider, Cosmetics & more) [SOON]
  • Compatible with PointsAPI

Implementation

You can see the latest version here.

Using Maven:

<repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
</repository>
<dependency>
    <groupId>com.github.teraprath</groupId>
    <artifactId>Lobby</artifactId>
    <version>INSERT_VERSION_HERE</version>
</dependency>

Using Gradle:

repositories {
    maven { url 'https://jitpack.io' }
}
dependencies {
    implementation 'com.github.teraprath:Lobby:INSERT_VERSION_HERE'
}

Create Module

An example code for a custom module.

public class ExampleModule extends Module {

    public ExampleModule() {
        super(new ModuleItem(itemstack, defaultSlot));
    }

    @Override
    public void onEnable() {

        // Register events
        registerListener(listener);

        // Register sub-commands
        registerSubCommand("example", subCommand);

    }

    @Override
    public void onDisable() {
        // Shutdown logic
    }

    @Override
    public void onItemClick(PlayerInteractEvent e) {
        // Module-Item interact logic
    }

}

Create a module.yml in your resources folder:

name: TestModule
version: 1.0
main: org.example.ExampleModule
author: YourName

Full Example Module: https://github.com/teraprath/ExampleModule/

Visit wiki page to see usage guide.(soon)