Skip to main content

A python tool to managing your whitelist through WeChat.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

weauth-1.3.4b0.tar.gz (25.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

weauth-1.3.4b0-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

Details for the file weauth-1.3.4b0.tar.gz.

File metadata

  • Download URL: weauth-1.3.4b0.tar.gz
  • Upload date:
  • Size: 25.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for weauth-1.3.4b0.tar.gz
Algorithm Hash digest
SHA256 588ee0d86ba2509555d6ca46e3d2ad37a25c98e1dfb95bae1d0642c2589f3edb
MD5 a5f433387fee93808c3a2c34baaa7039
BLAKE2b-256 828106afda988086cc61b7556906707d1a43003c8d38f96a06d0fa4796e195c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for weauth-1.3.4b0.tar.gz:

Publisher: python-publish.yml on TomatoCraftMC/WeAuth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file weauth-1.3.4b0-py3-none-any.whl.

File metadata

  • Download URL: weauth-1.3.4b0-py3-none-any.whl
  • Upload date:
  • Size: 31.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for weauth-1.3.4b0-py3-none-any.whl
Algorithm Hash digest
SHA256 68487e0d4816e705c481d8b57388b4cde9de65c090af3b450a60f08f621c9662
MD5 15d54ea2dc90b00ba547f46e04612349
BLAKE2b-256 37b41548236f67631cdbd2e4f84c471d1f014fb667c6e37930df043a41ade87c

See more details on using hashes here.

Provenance

The following attestation bundles were made for weauth-1.3.4b0-py3-none-any.whl:

Publisher: python-publish.yml on TomatoCraftMC/WeAuth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page