kmcsr / login_proxy_mcdr Goto Github PK
View Code? Open in Web Editor NEWA MCDR plugin proxy the login protocol
License: GNU General Public License v3.0
A MCDR plugin proxy the login protocol
License: GNU General Public License v3.0
System: Alpine Linux Running in Docker
Kernel: 5.10.0-21-amd64
Minecraft Server Version: 1.19 w/ fabric-0.14.8
Python version: 3.11
MCDReforged Version: 2.9.0
Loginproxy Version 0.5.3
My LoginProxy config:
{
"minimum_permission_level": {
"help": 0,
"list": 1,
"query": 2,
"banned": 2,
"ban": 2,
"banip": 3,
"pardon": 3,
"pardonip": 3,
"whitelist": 2,
"enable": 3,
"disable": 3,
"allow": 3,
"allowip": 3,
"remove": 3,
"removeip": 3
},
"proxy_addr": {
"ip": "",
"port": 25565,
"ipv6": "::",
"ipv6_port": 25566
},
"enable_whitelist": false,
"enable_ip_whitelist": false,
"whitelist_level": 3,
"kick_cmd": "kick {name} {reason}",
"messages": {
"banned.name": "Your account has been banned",
"banned.ip": "Your ip has been banned",
"whitelist.name": "Your account is not in the whitelist",
"whitelist.ip": "Your ip is not in the whitelist"
}
Traceback:
[MCDR] [23:49:55] [MainThread/INFO]: 等待服务端进程停止
[MCDR] [23:49:55] [MainThread/INFO]: 服务端进程返回代码: 0
[MCDR] [23:49:55] [MainThread/INFO]: 服务端已关闭
[MCDR] [23:49:55] [MainThread/INFO]: 正在关闭 MCDR
[MCDR] [23:49:55] [TaskExecutor/INFO] [delayexe]: Delay ExE is on UNLOAD
[MCDR] [23:49:55] [TaskExecutor/INFO] [smart_servertime]: Smart server time is on UNLOAD
[MCDR] [23:49:55] [TaskExecutor/INFO] [timed_quick_backup_multi]: 插件卸载,停止时钟
[MCDR] [23:49:55] [TaskExecutor/INFO] [loginproxy]: Login proxy is on UNLOAD
[MCDR] [23:50:05] [WatchDog/WARNING]: TaskExecutor 线程已经 10 秒没有响应了,可能出了些问题
[MCDR] [23:50:05] [WatchDog/WARNING]: 正在于 TaskExecutor 线程中运行的插件 (如果存在的话): [email protected]
[MCDR] [23:50:05] [WatchDog/WARNING]: 重建 TaskExecutor 中
支持对1.20以后版本的支持,谢谢
1.20.3还有半个月就发布,可以拖到那个时候一起做(dogs
I am using LoginProxy with SmartServerTime, but when my client tries to connect to server, an error occurs and the connection is failed.
System: Alpine Linux Running in Docker
Kernel: 5.10.0-21-amd64
Minecraft Server Version: 1.19 w/ fabric-0.14.8 (online-mode=false)
Python version: 3.11
MCDReforged Version: 2.9.0
Loginproxy Version 0.5.3
My LoginProxy config:
{
"minimum_permission_level": {
"help": 0,
"list": 1,
"query": 2,
"banned": 2,
"ban": 2,
"banip": 3,
"pardon": 3,
"pardonip": 3,
"whitelist": 2,
"enable": 3,
"disable": 3,
"allow": 3,
"allowip": 3,
"remove": 3,
"removeip": 3
},
"proxy_addr": {
"ip": "",
"port": 25565,
"ipv6": "::",
"ipv6_port": 25566
},
"enable_whitelist": false,
"enable_ip_whitelist": false,
"whitelist_level": 3,
"kick_cmd": "kick {name} {reason}",
"messages": {
"banned.name": "Your account has been banned",
"banned.ip": "Your ip has been banned",
"whitelist.name": "Your account is not in the whitelist",
"whitelist.ip": "Your ip is not in the whitelist"
}
Traceback:
[MCDR] [23:11:55] [lp_handler/WARNING]: Error when handle[[****]:*****]: EOF
Traceback (most recent call last):
File "plugins/LoginProxy-v0.5.3.mcdr/loginproxy/server.py", line 382, in handle
close_flag = not self.handle_login(conn, addr, login_data, pkt)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "plugins/LoginProxy-v0.5.3.mcdr/loginproxy/server.py", line 413, in handle_login
cls.login_parser_1_19(pkt, login_data)
File "plugins/LoginProxy-v0.5.3.mcdr/loginproxy/server.py", line 465, in login_parser_1_19
has_uuid = pkt.read_bool()
^^^^^^^^^^^^^^^
File "plugins/LoginProxy-v0.5.3.mcdr/loginproxy/encoder.py", line 104, in read_bool
v = self.read_byte()
^^^^^^^^^^^^^^^^
File "plugins/LoginProxy-v0.5.3.mcdr/loginproxy/encoder.py", line 88, in read_byte
v = self.read(1, err='EOF')
^^^^^^^^^^^^^^^^^^^^^^^
File "plugins/LoginProxy-v0.5.3.mcdr/loginproxy/encoder.py", line 84, in read
raise DecodeError(err)
loginproxy.encoder.DecodeError: EOF
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.