Tags
Creators
Details
2.1
Compatibility
Changes
Dynamic PTerodactyl
Velocity plugin for on-demand minecraft containers!
Features:
- Start/Stop a Pterodactyl Container (hosting Minecraft)
- Send player(s) to the new servers once it has started (or prompt them to do so)
Ideal for communities with servers you don't want to run 24/7 (i.e.: For minigame servers)
Config
See the following example:
api-url: "https://panel.example.com"
api-key: "apiKeyHere"
default-timeout: 120 # interval between times server's watchdog will check if its empty & online.
startup-timeout: 120 # how long the plugin is willing to wait for a server to start before failing a request.
servers:
survival-example: # this must match the `servers` section of `velocity.toml`
display-name: Survival 2 # This can use minimessage!
uuid: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
watchdog: true # set to false or omit to disable watchdog entirely.
timeout: 120 # watchdog timeout in seconds (default: 120s)
Note that using /dpt reload will not change api-url/api-key, you must restart the proxy in order to do this.
Commands
/dptsend <player/all/current> <server> <promptPlayersToJoin/promptMeToSend>
- player: send player to server
- all: send all players on the proxy to server
- current: CALLER MUST BE A PLAYER. send all players on current server to server.
- promptPlayersToJoin: send a message to all players when the server is ready inviting them to the server.
- promptMeToSend: send an interactive message when the server is ready that sends all the players on click.
/dptsend server <origin server> <destination server> <promptPlayersToJoin/promptMeToSend>
- origin server: any velocity server.
- destination server: any velocity server dpt is configured to control.
- promptPlayersToJoin: send a message to all players when the server is ready inviting them to the server.
- promptMeToSend: send an interactive message when the server is ready that sends all the players on click.
/dptserver <destination server> <immediate>
- destination server: any velocity server dpt is configured to control
- immediate:
dptserverdefault behaviour should be to prompt when the server is ready. specifying this option will send the player as soon as the servers ready.
/dptping <server>
- server: any velocity server dpt is configured to control
/dptwd <server> <start/stop>
- server: any velocity server dpt is configured to control
/dpt <reload>
Reload server & About
Permissions:
dpt.sendAccess to/dptserver <destination server>. Give this permission to users ideally (plus specific server permissions)dpt.send.othersSend other players on proxy/server (/dptsend <player> <destination>)dpt.send.allSend all players on proxy/server (/dptsend <all/current> <destination>)dpt.send.<server-name>Access to do/dptserver <server-name>and/dptsend <player/all/current> <server-name>whereserver-nameis already configured.dpt.send.anywhereAbove permission but for any server.dpt.pingPing a server.dpt.watchdogAccess to/dptwddpt.reload: Reload server list
License
Licensed under Apache 2.0.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:AOGJJ7Lx:K0CtCFfI"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:AOGJJ7Lx:K0CtCFfI"
}

