Skip to content

teraprath/Lobby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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)