You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then start oficial minecraft-launcher
then install and start minecraft client 1.12.2
then add server and proxy in client
server: localhost:25565
proxy: localhost:25566
then test connect to server [success]
then test connect to server via proxy [error]
in server console:
[11:24:11] [Server thread/INFO]: Starting minecraft server version 1.12.2
[11:24:11] [Server thread/INFO]: Loading properties
[11:24:11] [Server thread/INFO]: Default game type: SURVIVAL
[11:24:11] [Server thread/INFO]: Generating keypair
[11:24:11] [Server thread/INFO]: Starting Minecraft server on *:25565
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/...../server/server.1.12.2.jar) to constructor java.nio.DirectByteBuffer(long,int)
WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[11:24:11] [Server thread/INFO]: Using epoll channel type
[11:24:11] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[11:24:11] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[11:24:11] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[11:24:11] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[11:24:11] [Server thread/INFO]: Preparing level "world"
[11:24:11] [Server thread/INFO]: Loaded 488 advancements
[11:24:11] [Server thread/INFO]: Preparing start region for level 0
[11:24:12] [Server thread/INFO]: Preparing spawn area: 28%
[11:24:13] [Server thread/INFO]: Preparing spawn area: 99%
[11:24:13] [Server thread/INFO]: Done (2,271s)! For help, type "help" or "?"
in proxy console:
Incoming connection (::ffff:127.0.0.1)
Connection error by server (::ffff:127.0.0.1) Error: ForbiddenOperationException
at call (/....../node_modules/yggdrasil/src/utils.js:35:40)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async refresh (/....../node_modules/yggdrasil/src/Client.js:43:18)
Error: ForbiddenOperationException
at call (/....../node_modules/yggdrasil/src/utils.js:35:40)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async refresh (/....../node_modules/yggdrasil/src/Client.js:43:18)
Connection closed by client (::ffff:127.0.0.1)
The text was updated successfully, but these errors were encountered:
!!!WARN!!!
connect to serever via proxy is success if change code in ./node_modules/minecraft-protocol/examples/proxy/proxy.js
from username: client.username,
to username: client.username+'any_text',
But this option is not good, as it breaks usernames(
Versions
Detailed description of a problem
Oficial client with microsoft auth is not connect to 1.12.2 vanilla server via ./node_modules/minecraft-protocol/examples/proxy
For detailed see section "Expected behavior"
Current code
// none )))
Expected behavior
Obviously connect to the server through a proxy)))
Additional context
in minecraft server folder:
online-mode=false
inserver.properties
filejava -Xmx1024M -Xms1024M -jar server.1.12.2.jar nogui
in custom folder
then start oficial minecraft-launcher
then install and start minecraft client 1.12.2
then add server and proxy in client
localhost:25565
localhost:25566
then test connect to server [success]
then test connect to server via proxy [error]
in server console:
in proxy console:
The text was updated successfully, but these errors were encountered: