Skip to main content

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)

Source distribution for weauth 1.6.1
File Size Uploaded
weauth-1.6.1.tar.gz 38.7 kB Details

Built distribution (wheel)

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

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

1.6.1 This release

2 release files

1.6.0

2 release files

1.5.6

2 release files

1.5.5

2 release files

1.5.4

2 release files

1.5.3

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.9

2 release files

1.3.8

2 release files

1.3.7

2 release files

1.3.6

2 release files

1.3.5

2 release files

1.3.3

2 release files

1.3.0

2 release files

1.2.0

1 release file

1.1.0

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