Home›Java›Mods›CoffeeDispenser
ModsJava

CoffeeDispenser

Java mod listed for Minecraft 1.7–1.16. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
Coffee Dispenser

Allow launching server in the cloud, bind with a bungee-cord proxy

## Initialization

1. Put Coffee Dispenser in the bungee plugins folder
2. Launch the Bungee to generate the CoffeeDispenser config.yml then close it.
3. Fill the config.yml
4. Complete the userdata.sh this is the default initialization script of the digital ocean server.

5. The plugin is configured

## Use

### For server user

1. To launch a server (it will close after 3h55m automatically for security)

Code (Text):
/server-start
2. To close a server

Code (Text):
/server-stop
### For developer

1. From a bungee plugin called the event LaunchServerEvent

Code (Text):
LaunchServerEvent launchServerEvent = new LaunchServerEvent(
                "FRA1",
                "debian-10-x64",
                "userdata.sh",
                4096,
                UUID.randomUUID(),
                (uuid) -> System.out.printf("Hello Server %s start",uuid.toString()),
                (uuid,reason) -> System.out.printf("Hello Server %s don't start because %s",uuid.toString(),reason));
             
getProxy().getPluginManager().callEvent(launchServerEvent);

2.The server will take about 3 minutes to start and set up


4. To close the server it is necessary to call the CloseServerEvent

Code (Text):
getProxy().getPluginManager().callEvent(new CloseServerEvent(serverUuid));

5. Installation Maven / Gradle

< https://jitpack.io/#Ph1Lou/CoffeeDispenser>
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.

CoffeeDispenser is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 108 times (via Spigot). Download it and open it directly in the game.

Explore more