Home›Java›Mods›DynamicBukkit | Deprecated
ModsJava

DynamicBukkit | Deprecated

Minecraft Java mod. Download on the author's site.

⬇ Download on Spigot
DynamicBungee and DynamicBukkit are powerful utilities that can reduce the headache of managing a BungeeCord network. DynamicBungee can maintain your network by adding servers when it receives a heartbeat from DynamicBukkit, and vice versa remove servers when it fails to receive a heartbeat within 30 seconds.

DynamicBukkit also provides its own plugin loader so that you may develop DynamicPlugins for better organization or simply make your own Bukkit plugin and hook into DynamicBukkit.

DynamicBukkit utilizes CommonUtils. You will need this dependency in order to run DynamicBukkit. You will also need DynamicBungee on your BungeeCord.

Default Config:
# Configure a different name for every server!
Code (Text):
# Dynamic Bukkit Configuration!

server:
  name: dynserv_1
  externalip: ''
jedis:
  host: 127.0.0.1
  port: 6379
  timeout: 10000
  password: ''
 
Code Example:
Code (Text):
public class DynamicBukkitExample extends JavaPlugin {

    public void onEnable() {
        // Must be scheduled asynchronously! Do not repeat scheduling!
        Bukkit.getScheduler().runTaskAsynchronously(DynamicBukkit.getPlugin(), new ChannelSubscriber("name"));

        NetTask.withName("name")
                .withArg("arg1", 1)
                .withArg("arg2", true)
                .withArg("arg3", "Example")
                .send("channel");
    }

    @NetTaskSubscribe(name = "name", args = {"arg1", "arg2", "arg3"})
    public void onNameReceived(HashMap<String, Object> args) {
        Integer arg1 = (Integer) args.get("arg1");
        Boolean arg2 = (Boolean) args.get("arg2");
        String arg3 = (String) args.get("arg3");

        // Do Something!
    }

}
Source: Github

Provided By:

[​IMG]
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

DynamicBukkit | Deprecated is a free Minecraft Java mod. Downloaded 678 times (via Spigot). Download it and open it directly in the game.

Explore more