A python tool to managing your whitelist through WeChat. 使用微信公众号来管理MC服务器与注册白名单。
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file weauth-1.5.1a1.tar.gz.
File metadata
- Download URL: weauth-1.5.1a1.tar.gz
- Upload date:
- Size: 35.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38d6decf92760920a58c6e7c96316d0888833cd8fd46cb1998a3bb83a0165cdb
|
|
| MD5 |
d1de00c2535f5926c5b09c511ac3b4a7
|
|
| BLAKE2b-256 |
5db0835c9e3b10fd42347dea1e6ef31185bb125cee9499dd93c790fd35d122ac
|
File details
Details for the file weauth-1.5.1a1-py3-none-any.whl.
File metadata
- Download URL: weauth-1.5.1a1-py3-none-any.whl
- Upload date:
- Size: 41.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5834ac0550a8fc73e41416a4ad6480903b234fee97304ed46dc19fc52d56fb77
|
|
| MD5 |
19b9fdb27bcdf49c5ac70bce6d6dcc90
|
|
| BLAKE2b-256 |
c228c8c30eab8a20762c1c71f4480295d062ca1f3e049b3a4384592ca64c1c8f
|