class

Pterodactyl::ClientSdk

Inherits Reference < Object

Constructors

new(host : String, client_token : String, use_content : Bool = true)
Source

Instance methods

assign_allocation(server_identifier : String, allocation_id : Int64) : Models::ClientAllocation

Hostari-specific API route

Source
assign_random_allocation(server_identifier : String) : Models::ClientAllocation
Source
backup_download_url(server_identifier : String, backup_uuid : String) : String
Source
change_server_state(server_identifier : String, signal : String)
Source
create_backup(server_identifier : String) : Models::Backup
Source
delete_backup(server_identifier : String, backup_uuid : String)
Source
get_account_details
Source
get_allocations(server_identifier : String) : Array(Models::ClientAllocation)
Source
get_backup(server_identifier : String, backup_uuid : String) : Models::Backup
Source
get_backups(server_identifier : String) : Array(Models::Backup)
Source
get_fwl_content(server_identifier : String, world_name : String)
Source
get_server_details(identifier : String) : Models::ClientServer
Source
get_server_resource_usage(server_identifier : String)
Source
get_servers
Source
get_variables(server_identifier : String) : Array(Models::ClientServer::EggVariable)
Source
host
Source
reinstall_server(server_identifier : String)
Source
rename_server(server_identifier : String, name : String)
Source
send_command(server_identifier : String, command : String)
Source
set_allocation_notes(server_identifier : String, notes : String, allocation_id : Int64) : Models::ClientAllocation
Source
set_primary_allocation(server_identifier : String, allocation_id : Int64) : Models::ClientAllocation
Source
unassign_allocation(server_identifier : String, allocation_id : Int64)
Source
update_email(email : String)
Source
update_variable(server_identifier : String, key : String, value : String) : Pterodactyl::Models::ClientServer::EggVariable
Source
websocket_credentials(server_identifier : String) : Models::WebsocketCredentials
Source
write_fwl_content(server_identifier : String, world_name : String, body : String)
Source