Votifier

Request

POST http://mcapi.de/api/votifier

Parameter List

Parameter Description Allowed Values Example Required
ip The IP address of the server. Every valid IP address or hostname. play.hivemc.eu Yes
username The username of the player. Every valid username. Yonas Yes
key The public key of the Votifier instance. Every valid public SSL key. [...]CaW0IBHWFSytw29rERorvn5aliG[...] Yes
port The port of the Votifier instance. Every valid port. 8192 No (Default: 8192)
serviceName The name of the service which is submitting the vote. Every valid string. example-mcserver.com No (Default: mcapi.de)

Example Result

{
    "result": {
        "status": "Ok",
        "message": "No errors."
    }
}

NuVotifier

Request

POST http://mcapi.de/api/votifier/nu

Parameter List

Protocol v1

Parameter Description Allowed Values Example Required
ip The IP address of the server. Every valid IP address or hostname. play.hivemc.eu Yes
username The username of the player. Every valid username. Yonas Yes
key The public key of the NuVotifier instance. Every valid public SSL key. [...]CaW0IBHWFSytw29rERorvn5aliG[...] Yes
protocol The protocol the NuVotifier instance is using. 1 or 2 1 Yes
port The port of the NuVotifier instance. Every valid port. 8192 No (Default: 8192)
serviceName The name of the service which is submitting the vote. Every valid string. example-mcserver.com No (Default: mcapi.de)

Protcol v2

Parameter Description Allowed Values Example Required
ip The IP address of the server. Every valid IP address or hostname. play.hivemc.eu Yes
username The username of the player. Every valid username. Yonas Yes
token The token provided in the config.yml of the NuVotifier instance. Every valid token. srde1eb5impkhe9uhdjr8nqnhm Yes
protocol The protocol the NuVotifier instance is using. 1 or 2 1 Yes
port The port of the NuVotifier instance. Every valid port. 8192 No (Default: 8192)
serviceName The name of the service which is submitting the vote. Every valid string. example-mcserver.com No (Default: mcapi.de)

Example Result

{
    "result": {
        "status": "Ok",
        "message": "No errors."
    }
}