GameServerApi - functional programming interface

  • Parameters

    • Optionalconfiguration: Configuration

    Returns {
        gameServerControllerBanPlayer(gameServerId: string, playerId: string, banPlayerInputDTO?: BanPlayerInputDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>)>;
        gameServerControllerCreate(gameServerCreateDTO?: GameServerCreateDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<GameServerOutputDTOAPI>)>;
        gameServerControllerExecuteCommand(id: string, commandExecuteInputDTO?: CommandExecuteInputDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommandExecuteDTOAPI>)>;
        gameServerControllerGetImport(id: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportStatusOutputDTOAPI>)>;
        gameServerControllerGetInstalledModules(id: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModuleInstallationOutputArrayDTOAPI>)>;
        gameServerControllerGetModuleInstallation(gameServerId: string, moduleId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModuleInstallationOutputDTOAPI>)>;
        gameServerControllerGetOne(id: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<GameServerOutputDTOAPI>)>;
        gameServerControllerGetPlayers(id: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerOnGameserverOutputDTOAPI>)>;
        gameServerControllerGetTypes(options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<GameServerTypesOutputDTOAPI>)>;
        gameServerControllerGiveItem(gameServerId: string, playerId: string, giveItemInputDTO?: GiveItemInputDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
        gameServerControllerImportFromCSMM(options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportOutputDTOAPI>)>;
        gameServerControllerInstallModule(gameServerId: string, moduleId: string, moduleInstallDTO?: ModuleInstallDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModuleInstallationOutputDTOAPI>)>;
        gameServerControllerKickPlayer(gameServerId: string, playerId: string, kickPlayerInputDTO?: KickPlayerInputDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>)>;
        gameServerControllerListBans(id: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BanPlayerOutputDTO>)>;
        gameServerControllerRemove(id: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>)>;
        gameServerControllerSearch(gameServerSearchInputDTO?: GameServerSearchInputDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<GameServerOutputArrayDTOAPI>)>;
        gameServerControllerSendMessage(id: string, messageSendInputDTO?: MessageSendInputDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>)>;
        gameServerControllerShutdown(id: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
        gameServerControllerTeleportPlayer(gameServerId: string, playerId: string, teleportPlayerInputDTO?: TeleportPlayerInputDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>)>;
        gameServerControllerTestReachability(gameServerTestReachabilityInputDTO?: GameServerTestReachabilityInputDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<GameServerTestReachabilityDTOAPI>)>;
        gameServerControllerTestReachabilityForId(id: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<GameServerTestReachabilityDTOAPI>)>;
        gameServerControllerUnbanPlayer(gameServerId: string, playerId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>)>;
        gameServerControllerUninstallModule(gameServerId: string, moduleId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModuleInstallationOutputDTOAPI>)>;
        gameServerControllerUpdate(id: string, gameServerUpdateDTO?: GameServerUpdateDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<GameServerOutputDTOAPI>)>;
    }

    • gameServerControllerBanPlayer:function
      • Ban a player from a gameserver. Requires gameserver to be online and reachable. Required permissions: MANAGE_GAMESERVERS

        Parameters

        • gameServerId: string
        • playerId: string
        • OptionalbanPlayerInputDTO: BanPlayerInputDTO

          BanPlayerInputDTO

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>)>

        Ban player

    • gameServerControllerCreate:function
    • gameServerControllerExecuteCommand:function
      • Execute a raw command on a gameserver. Requires gameserver to be online and reachable. Required permissions: MANAGE_GAMESERVERS

        Parameters

        • id: string
        • OptionalcommandExecuteInputDTO: CommandExecuteInputDTO

          CommandExecuteInputDTO

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommandExecuteDTOAPI>)>

        Execute command

    • gameServerControllerGetImport:function
      • Fetch status of an import from CSMM Required permissions: MANAGE_GAMESERVERS

        Parameters

        • id: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportStatusOutputDTOAPI>)>

        Get import

    • gameServerControllerGetInstalledModules:function
    • gameServerControllerGetModuleInstallation:function
    • gameServerControllerGetOne:function
    • gameServerControllerGetPlayers:function
      • Fetch a list of players on a gameserver. Requires gameserver to be online and reachable. Required permissions: READ_PLAYERS

        Parameters

        • id: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerOnGameserverOutputDTOAPI>)>

        Get players

    • gameServerControllerGetTypes:function
    • gameServerControllerGiveItem:function
      • Give an item to a player. Requires gameserver to be online and reachable. Depending on the underlying game implementation, it's possible that the item is dropped on the ground instead of placed directly in the player's inventory. Required permissions: MANAGE_GAMESERVERS

        Parameters

        • gameServerId: string
        • playerId: string
        • OptionalgiveItemInputDTO: GiveItemInputDTO

          GiveItemInputDTO

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>

        Give item

    • gameServerControllerImportFromCSMM:function
      • Import a gameserver from CSMM. Required permissions: MANAGE_GAMESERVERS

        Parameters

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportOutputDTOAPI>)>

        Import from csmm

    • gameServerControllerInstallModule:function
      • Install a module on a gameserver. If the module is already installed, it will be updated. Required permissions: MANAGE_GAMESERVERS

        Parameters

        • gameServerId: string
        • moduleId: string
        • OptionalmoduleInstallDTO: ModuleInstallDTO

          ModuleInstallDTO

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModuleInstallationOutputDTOAPI>)>

        Install module

    • gameServerControllerKickPlayer:function
      • Kick a player from a gameserver. Requires gameserver to be online and reachable. Required permissions: MANAGE_GAMESERVERS

        Parameters

        • gameServerId: string
        • playerId: string
        • OptionalkickPlayerInputDTO: KickPlayerInputDTO

          KickPlayerInputDTO

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>)>

        Kick player

    • gameServerControllerListBans:function
      • List bans for a gameserver. Requires gameserver to be online and reachable. Required permissions: MANAGE_GAMESERVERS

        Parameters

        • id: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BanPlayerOutputDTO>)>

        List bans

    • gameServerControllerRemove:function
      • Delete a gameserver Required permissions: MANAGE_GAMESERVERS

        Parameters

        • id: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>)>

        Remove

    • gameServerControllerSearch:function
    • gameServerControllerSendMessage:function
      • Send a message in gameserver chat. Requires gameserver to be online and reachable. Required permissions: MANAGE_GAMESERVERS

        Parameters

        • id: string
        • OptionalmessageSendInputDTO: MessageSendInputDTO

          MessageSendInputDTO

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>)>

        Send message

    • gameServerControllerShutdown:function
      • Shuts down the gameserver. This is a 'soft' shutdown, meaning the gameserver will be stopped gracefully. If the gameserver is not reachable, this will have no effect. Note that most hosting providers will automatically restart the gameserver after a shutdown, which makes this operation act as a 'restart' instead. Required permissions: MANAGE_GAMESERVERS

        Parameters

        • id: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>

        Shutdown

    • gameServerControllerTeleportPlayer:function
      • Teleport a player to a location. Requires gameserver to be online and reachable. Required permissions: MANAGE_GAMESERVERS

        Parameters

        • gameServerId: string
        • playerId: string
        • OptionalteleportPlayerInputDTO: TeleportPlayerInputDTO

          TeleportPlayerInputDTO

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>)>

        Teleport player

    • gameServerControllerTestReachability:function
    • gameServerControllerTestReachabilityForId:function
    • gameServerControllerUnbanPlayer:function
      • Unban a player from a gameserver. Requires gameserver to be online and reachable. Required permissions: MANAGE_GAMESERVERS

        Parameters

        • gameServerId: string
        • playerId: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>)>

        Unban player

    • gameServerControllerUninstallModule:function
      • Uninstall a module from a gameserver. This will not delete the module from the database. Required permissions: MANAGE_GAMESERVERS

        Parameters

        • gameServerId: string
        • moduleId: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModuleInstallationOutputDTOAPI>)>

        Uninstall module

    • gameServerControllerUpdate:function