Skip to main content

Provides info on the EarthMC Minecraft server.

Project description

EarthMC Package

Provides info on the EarthMC Minecraft server.

Installation

$ pip install earthmc

Import and create Classes

from src.Towns import towns
from src.Nations import nations
from src.Players import players

towns = towns()
nations = nations()
players = players()

Methods

Player Related

Get All Players

allPlayers = players.all()

print(allPlayers)

// => [{"x": 0, "y": 64, "z": 0, "isUnderground": true, "nickname": "PlayerNickname", "name": "PlayerName"}, ...]

Get Online Player

op = players.getOnlinePlayer("PlayerName")

print(op)

// => {"x": 0, "y": 64, "z": 0, "isUnderground": true, "nickname": "PlayerNickname", "name": "PlayerName"}
</p>
</details>  

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

EarthMC-1.0.4.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

EarthMC-1.0.4-py2-none-any.whl (2.6 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page