EarthMC-3.3.2
توضیحات
Provides data on people, places and more on the EarthMC Minecraft server.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | EarthMC-3.3.2 |
| نام | EarthMC |
| نسخه کتابخانه | 3.3.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Owen3H |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/EarthMC-Toolkit/EarthMC-Py |
| آدرس اینترنتی | https://pypi.org/project/EarthMC/ |
| مجوز | MIT |
# EarthMC Package
Provides data on people, places and more on the EarthMC Minecraft server.
## Install
```bash
$ pip install EarthMC
```
## Initialize Map(s)
```py
from EarthMC import Maps
Aurora = Maps.Aurora()
Nova = Maps.Nova()
```
## Methods
<details>
<summary>Players</summary>
<p>
#### **Base Reference**
```py
ap = Aurora.players
print(ap.all()) # => Outputs all players. (Townless and Residents)
```
#### **All** (List)
```py
online = ap.online.all() # => Outputs list of online players.
townless = ap.townless.all() # => Outputs list of townless players. (Online without a town)
residents = ap.residents.all() # => Outputs list of residents.
```
#### **Get** (Object)
```py
op = ap.online.get('PlayerName')
tp = ap.townless.get('PlayerName')
res = ap.residents.get('ResidentName')
```
</p>
نحوه نصب
نصب پکیج whl EarthMC-3.3.2:
pip install EarthMC-3.3.2.whl
نصب پکیج tar.gz EarthMC-3.3.2:
pip install EarthMC-3.3.2.tar.gz