Code Monkey home page Code Monkey logo

opensourcesectors's Introduction

OpenSourceSectors 😎

🗒️This is a plugin for Minecraft Server (Spigot API) introduces a sector system which connects a single world across multiple servers.

🍎The reason why I released this plugin is because I would like to make combining servers into one to spread out load between them easier. 👉Finally, I am glad to provide the OpenSourceSectors, and everyone is welcome to adjust the code and help make it better by editting the code, adding new features, etc.

💖If you want to report any bug or request a feature please create a issue.

Requirements 📗

Usage ✔️

🎉Download the latest stable release from releases page, put the BungeeCord plugin into the BungeeCord Server and configure it, put the Spigot plugin into every Spigot server and configure the master server (look at BungeeCord configuration for more information) and launch all servers.

How it works ❓

💻Bungeecord becomes a "master server" which provides configuraction for each Spigot server, but you have to set a server-name for each Spigot server and the "master server" configuration (ip, port and password - optional). Once all servers are up and running, everything will be ready to use.

Spigot listeners 🖤

PlayerChangeSectorEvent

public class PlayerChangeSectorListener implements Listener {

    @EventHandler
    public void onSectorChange(PlayerChangeSectorEvent event) {
        event.getPlayer(); // Return player that's trying to change sector
        event.getNewSector(); // Return sector, that player is trying to reach
        event.getOldSector(); // Return player's sector
        event.setCancelled(true); // You can cancel this event. Then player can't change sector
    }
}

Contribution ❤️

The most powerful feature of open source projects is developers community❤️. Everyone is welcome and will be written below 🔥.

TODO 📓

  • Make a Easy-To-Use API to write compatible plugins with OpenSourceSectors. 📖

Known Issues 🐛

  • Remaining distance is wrongly calculated. 👻

Thanks for your support.❤️

opensourcesectors's People

Contributors

inder00 avatar oskarscot avatar

Watchers

 avatar  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.