Pterodactyl::ApplicationSdk
Inherits Reference < Object
Constructors
new(host : String, application_token : String)
SourceInstance methods
create_allocation(node_id : Int64 | Int32 | String, ip : String, ports : Array(String) | Array(Int64) | Array(Int32))
Sourcecreate_server(create_server_request : CreateServerRequest)
Sourcecreate_user(email : String, username : String, first_name : String, last_name : String, password : String)
Sourcedelete_allocation(node_id : Int64 | Int32 | String, allocation_id : Int64 | Int32 | String)
Sourcedelete_server(id : Int64 | Int32 | String, force : Bool = false)
Sourceget_allocations(node_id : Int64 | Int32 | String, page : Int64 = 1)
Sourceget_egg(egg_id : Int64 | Int32 | String, nest_id : Int32 | Int64 | String, relationships : Array(String) = [] of String)
Sourceget_eggs(id : Int64 | Int32 | String)
Sourceget_location(id : Int32 | Int64 | String) : Models::Location
Sourceget_nest(id : Int32 | Int64 | String, relationships : Array(String) = [] of String)
Sourceget_node(node_id : Int64 | Int32 | String)
Sourceget_nodes(params : Array(NodeParam) = [] of NodeParam)
Sourceget_server(id : Int32 | Int64 | String) : Models::ApplicationServer
Sourcelist_locations
Sourcelist_nests
Sourcelist_servers
Sourcereinstall_server(id : Int64 | Int32 | String)
Sourcesuspend_server(id : Int64 | Int32 | String)
Sourceunsuspend_server(id : Int64 | Int32 | String)
Sourceupdate_server_build(id : Int64 | Int32 | String, body : Body::UpdateServerBuild)
Sourceupdate_server_details(id : Int32 | Int64 | String, name : String, user : Int32, external_id : String | Nil = nil, description : String | Nil = nil) : Models::ApplicationServer
Sourceupdate_server_startup(id : String | Int32 | Int64, body : Body::UpdateServerStartup)
Source