libvote

package module
v0.0.0-...-8fbe144 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2021 License: MIT Imports: 10 Imported by: 0

README

libvote

A vote botting wrapper for GoLang designed for Minecraft: Pocket Servers by Jviguy and JustTal.

Disclaimer

Usage of libvote requires your own captcha solver and proxies if you want to fully automate and scale the process. Recently, the admin of Minecraft Pocket Servers blocked traditional proxies, so you'll need to get residential proxies if you want to be able to bypass blocking.

The maintainers of libvote are not responsible for any usage of the library that goes against the TOS of Minecraft Pocket Servers. libvote is not affiliated with Minecraft Pocket Servers. Use at your own risk!

Documentation

Index

Constants

View Source
const (
	BaseUrl             = "https://minecraftpocket-servers.com"
	BaseApiUrl          = BaseUrl + "/api/"
	QueryApiUrl         = BaseApiUrl + "?"
	ServerUrl           = BaseUrl + "/server/%v/"
	ListServersEndpoint = QueryApiUrl + "object=servers&element=list"
	ServerInfoEndpoint  = QueryApiUrl + "object=servers&element=detail&key=%v"
	VotesListEndpoint   = QueryApiUrl + "object=servers&element=votes&key=%v&format=%s"
	VoteEndpoint        = ServerUrl + "vote/action/"
)

The following contain endpoints for common Minecraft Pocket Servers endpoints. Not all of these are used yet, and these are not all available endpoints.

Variables

This section is empty.

Functions

func NewJar

func NewJar() (*cookiejar.Jar, error)

NewJar generates a new cookie jar for Minecraft Pocket Servers.

Types

type Client

type Client struct {
	http.Client
}

Client is a vote bot client. It can be used to vote bot on servers.

func NewClient

func NewClient() *Client

NewClient creates a new client for Minecraft Pocket Servers.

func (*Client) Vote

func (c *Client) Vote(serverKey int, username string, code string) (bool, error)

Vote votes for a server key using a username and captcha code.

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL