Pterodactyl::ClientSdk
Inherits Reference < Object
Constructors
new(host : String, client_token : String, use_content : Bool = true)
SourceInstance methods
assign_allocation(server_identifier : String, allocation_id : Int64) : Models::ClientAllocation
Hostari-specific API route
assign_random_allocation(server_identifier : String) : Models::ClientAllocation
Sourcebackup_download_url(server_identifier : String, backup_uuid : String) : String
Sourcechange_server_state(server_identifier : String, signal : String)
Sourcecreate_backup(server_identifier : String) : Models::Backup
Sourcedelete_backup(server_identifier : String, backup_uuid : String)
Sourceget_account_details
Sourceget_allocations(server_identifier : String) : Array(Models::ClientAllocation)
Sourceget_backup(server_identifier : String, backup_uuid : String) : Models::Backup
Sourceget_backups(server_identifier : String) : Array(Models::Backup)
Sourceget_fwl_content(server_identifier : String, world_name : String)
Sourceget_server_details(identifier : String) : Models::ClientServer
Sourceget_server_resource_usage(server_identifier : String)
Sourceget_servers
Sourceget_variables(server_identifier : String) : Array(Models::ClientServer::EggVariable)
Sourcehost
Sourcereinstall_server(server_identifier : String)
Sourcerename_server(server_identifier : String, name : String)
Sourcesend_command(server_identifier : String, command : String)
Sourceset_allocation_notes(server_identifier : String, notes : String, allocation_id : Int64) : Models::ClientAllocation
Sourceset_primary_allocation(server_identifier : String, allocation_id : Int64) : Models::ClientAllocation
Sourceunassign_allocation(server_identifier : String, allocation_id : Int64)
Sourceupdate_email(email : String)
Sourceupdate_variable(server_identifier : String, key : String, value : String) : Pterodactyl::Models::ClientServer::EggVariable
Sourcewebsocket_credentials(server_identifier : String) : Models::WebsocketCredentials
Sourcewrite_fwl_content(server_identifier : String, world_name : String, body : String)
Source