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

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 中文介绍.

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.9b1.tar.gz (29.8 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.9b1-py3-none-any.whl (35.2 kB view details)

Uploaded Python 3

File details

Details for the file weauth-1.3.9b1.tar.gz.

File metadata

  • Download URL: weauth-1.3.9b1.tar.gz
  • Upload date:
  • Size: 29.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.14

File hashes

Hashes for weauth-1.3.9b1.tar.gz
Algorithm Hash digest
SHA256 52146886c51be09113b512553fe8c9255c443d43b9437b8e4dc6de57043e096e
MD5 907d42bb49a636de5eb5dcdc666be001
BLAKE2b-256 81ca5543136a8202031589217a36432079a18134718f3429f179ed71e534b95e

See more details on using hashes here.

File details

Details for the file weauth-1.3.9b1-py3-none-any.whl.

File metadata

  • Download URL: weauth-1.3.9b1-py3-none-any.whl
  • Upload date:
  • Size: 35.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.14

File hashes

Hashes for weauth-1.3.9b1-py3-none-any.whl
Algorithm Hash digest
SHA256 acbbb9f5df4575b520766726b1705ac8f78c625652aaa33170049d79e5562543
MD5 78ed51e43643b859e9e7b9841b3b1740
BLAKE2b-256 14f57be0ebba3c8c80bcb50e670741532faf7bbe9b6d4f4e9814d51a2330f264

See more details on using hashes here.

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