Skip to main content

嗨,我是 (2)

MinePlayer

PyPI - DownloadsGitHub forksGitHub LicenseGitHub Repo stars

MinePlayer 是一款簡單的模組,提供使用者解析一個 Minecraft 玩家的資訊!

MinePlayer is a simple module that allows users to parse information about a Minecraft player!

INFO:root:=== Create a new player. ===
INFO:root:Player Sam510208 created.
INFO:root:=== Get the player's UUID. ===
INFO:root:Player Sam510208's UUID is 9ea020446a4c4e4686b8e5d0bde8ce56.

特色 (Feature)

  • 簡單易用 (Easy to use)
  • 基於 GNU v3.0 開源 (Open Source based GNU v3.0)
  • 支持所有相容於 CraftAvatar 的玩家頭像服務,並可自行決定 (Supports all CraftAvatar-compatible player avatar services at your discretion)
  • 可取得幾乎所有 CraftAvatar 服務提供的頭像資源,甚至是玩家 Skin! (Get access to almost all avatar assets provided by the CraftAvatar service, even player Skins!)

範例 (Example)

import mineplayer
import logging

logging.basicConfig(level=logging.INFO)

# Create a new player
logging.info("=== Create a new player. ===")
player = mineplayer.MinePlayer("Sam510208")
logging.info(f"Player {player.username} created.")

# Get the player's UUID
logging.info("=== Get the player's UUID. ===")
uuid = player.uuid
logging.info(f"Player {player.username}'s UUID is {uuid}.")

# Get the player's information
logging.info("=== Get the player's information. ===")
info = player.info
logging.info(f"Player {player.username}'s information is {info}.")

範例收錄於 test.py 中

謝誌 (Thanks)

貢獻 (Countributing)

如果您希望貢獻此專案,我們非常歡迎!請Fork此儲存庫,開啟一個以自己貢獻的內容為名的分支,在該分支上開發。 開發完畢後,在GitHub頁面上提供完整說明,然後我們會盡快幫助您審核

如果您在使用此程式時出了什麼問題,歡迎在GitHub的Issues告訴我們!我們會盡力幫助您的

Metadata

Release files for MinePlayer 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MinePlayer 1.0.4
File Size Uploaded
mineplayer-1.0.4.tar.gz 17.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for MinePlayer 1.0.4
File Interpreter ABI Platform
MinePlayer-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 34.6 kB

Release files / mineplayer-1.0.4.tar.gz

Download URL mineplayer-1.0.4.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
635c96292cc6e17547e3a19765bc8ec5e39ed6b266d561e8a4b5ac453420dd21
BLAKE2b-256 checksum
How to use checksums
4ac80d0f99bdda27c74da0f0bec8cb1c92bafa5ed0f2764313bfe02a1ef41e1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release files / MinePlayer-1.0.4-py3-none-any.whl

Download URL MinePlayer-1.0.4-py3-none-any.whl
Size 17.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6bcd868bf89d286dd1734d2cb305cc2a88f13ecf7e5980b03366854d22d5dc8
BLAKE2b-256 checksum
How to use checksums
904a049b01e9cc8745ea7daeb74d1e5b148b7110215bbededaf43684c53f47b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page