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)
/server-start
2. To close a server
/server-stop
### For developer
1. From a bungee plugin called the event LaunchServerEvent
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
getProxy().getPluginManager().callEvent(new CloseServerEvent(serverUuid));
5. Installation Maven / Gradle
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta