WeAuth
WeAuth is a bridge between WeChat Official Accounts and your Minecraft server.
Requirement
Requires python >= 3.8
pip3 install -r requirements.txt
Your Minecraft server should've been installed with MCManager. WeAuth uses the api of MCManager to connect with game server.
Later on, WeAuth will support Rcon to connect Minecraft server.
Installation
pip3 install weauth
Quick start
mkdir WeAuth
cd WeAuth
weauth
config.yaml and ops.yaml will be generated after first-time running.
vi config.yaml
You can configure your WeChatDeveloper information and game server in config.yaml.
vi ops.yaml
You should also fill in the IDs of In-Game admins in ops.yaml.
For example:
ops: [Zi_min, Pink_fish, jsdkj2m999]
After configuration, run WeAuth again.
WeChat Command
Add an ID into Whitelist
#ID
#Zi_min
#bjwefbjw
Send a Command
@command
@tell @a hello,world
@give @a minecraft:torch 1
Only those whose ID in ops.yaml can use this function.
Homepage
For more guide and 中文介绍.
Metadata
Release files for weauth 1.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| weauth-1.6.1.tar.gz | 38.7 kB | With provenance | Details for weauth-1.6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| weauth-1.6.1-py3-none-any.whl | Python 3 | none | any | Details for weauth-1.6.1-py3-none-any.whl |
Total release size: 89.7 kB
Release files / weauth-1.6.1.tar.gz
| Download URL | weauth-1.6.1.tar.gz |
|---|---|
| Size | 38.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09fd2814832e743da026ab5aa15bd922a57fecee89eee558c92d78660f23e4b7
|
|
BLAKE2b-256 checksum How to use checksums |
2cb91697b23e1536a75c89e85edd96330b7cf2674720db3ee623818be2ba70a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 21, 2025.
Transparency logRelease files / weauth-1.6.1-py3-none-any.whl
| Download URL | weauth-1.6.1-py3-none-any.whl |
|---|---|
| Size | 50.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7818f9d2e04ce5bb848b13b0a998f29735a164d0d1f838d32cd57e7f28198480
|
|
BLAKE2b-256 checksum How to use checksums |
5e3685c0b1c7b6e8d8b218337daa6bf643fb979541c46c93301a9913fb4be125
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 21, 2025.
Transparency logSecurity for weauth 1.6.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for weauth-1.6.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 21, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.