An instancing and dungeon-generating plugin for the A'therys Horizons server, using Pterodactyl
- Add the plugin to the Sponge minecraft server
- Configure the plugin
- Provide the Pterodactyl Application URL in the config (
pterodactyl.app-url
) - Provide a Pterodactyl API Auth Token in the config (
pterodactyl.api-token
)
- Provide the Pterodactyl Application URL in the config (
- Configure the dungeons
- Create a new Sponge minecraft server
- Configure it with all of your necessary plugins, worlds, configurations, etc.
- Download the
server
folder and put it into atar.gz
archive - Create a new pterodactyl Pack with it
- Add the pack id to the map of dungeons in the configuration (
dungeons
)
pterodactyl = {
app-url = http://localhost:8080
api-token = ptero-api-token
allocations-ip-address = "172.18.0.1"
user-id = 123
location-ids = [1, 2, 3]
ports = ["25501", "25502", "25503"] # the number of ports listed here is also the maximum possible number of dungeon instances
}
dungeons = [
{
pack-id = 1,
name = dungeon-1
min-players = 3
max-players = 7
nest-id = 1
egg-id = 12
instance-settings = {
memory = 4096
cpu = 100
swap = 4096
disk = 10000
startup-command = "java -jar -Xms3072M -Xmx3072M server.jar"
environment = {
"SF_VERSION" = "1.12.2-2838-7.3.0"
"SERVER_JARFILE" = "server.jar"
}
}
},
{
pack-id = 2,
name = dungeon-2
min-players = 5
max-players = 10
nest-id = 1
egg-id = 12
instance-settings = {
memory = 4096
cpu = 100
swap = 4096
disk = 10000
startup-command = "java -jar -Xms3072M -Xmx3072M server.jar"
environment = {
"SF_VERSION" = "1.12.2-2838-7.3.0"
"SERVER_JARFILE" = "server.jar"
}
}
}
]
/dungeon queue dungeon-1
- Queues your and your party for the specified dungeon, if there are enough of you ( seemin-players
config for each dungeon ). You may be queued for only 1 dungeon at a time./dungeon deque
- Remove your party from the queue
Depending on the configured number of ports
, your party may not immediately enter into the dungeon it has queued for.
If all the allowed ports are currently in use by instances by other parties, your party will have to wait until one of those instances has been cleared.