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
Release history Release notifications | RSS feed
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.3.tar.gz
(1.9 kB
view hashes)