erjadi / kubecraftadmin Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hey Eric! Thanks for this, its really cool!
What version of Bedrock are you working with?
I deployed bedrock to k8s using latest https://github.com/itzg/docker-minecraft-bedrock-server and am able to connect and have cheats enabled and my user is an operator, but when I try to run the connect command I get "unknown command wsserver, please check command exists and that you have permissions to access it"
kubecraftadmin pod is deployed and listening fine...
Found similar stories: https://bugs.mojang.com/browse/BDS-1206
Any chance you ran into this and are using a particular version of bedrock server?
Hello! I would like to inquire if you plan to add Java Edition Compatibility? I run on MacOS so I can only use Java Edition for the time being.
Hi,
there is no deploy.yaml
file inside the repo, so the command oc create -f deploy.yaml
results in error: the path "deploy.yaml" does not exist
missing something?
Kalik1
Hi there,
Absolutely loving the idea of this, so thanks for your work.
Just wanted to query whether this can also be used on a 4 node k3s cluster? Or guidance on how to get that working.
I'm getting the exact same error as matthewmodestino in here
It's this causing the error after the init, but I don't know enough about mcwss/golang to say exactly what.
player.Position(func(pos mctype.Position) {
SetNamespacesPositionByPos(pos)
})
This is occurring after connecting and entering 'init'
Just to clarify, this is the log output I'm getting on Docker.
After running - docker run -p 8000:8000 -v C:\Users\Public\Docker\.kube:/.kube -e namespaces=default,kube-system erjadi/kubecraftadmin
Listening on port 8000
Player has entered!
init
Player has disconnected
2022/03/30 23:09:44 http: panic serving 172.17.0.1:33060: runtime error: invalid memory address or nil pointer dereference
goroutine 22 [running]:
net/http.(*conn).serve.func1(0xc0003a2000)
/usr/local/go/src/net/http/server.go:1801 +0x147
panic(0x1466b80, 0x203b060)
/usr/local/go/src/runtime/panic.go:975 +0x3e9
github.com/sandertv/mcwss.(*Player).Position.func1(0xc00012e320)
/go/src/github.com/sandertv/mcwss/player.go:99 +0x2b
reflect.Value.call(0x13f8fa0, 0xc0003e6770, 0x13, 0x15ed26b, 0x4, 0xc0005277e8, 0x1, 0x1, 0xc0001321c0, 0xc00050c108, ...)
/usr/local/go/src/reflect/value.go:475 +0x8c7
reflect.Value.Call(0x13f8fa0, 0xc0003e6770, 0x13, 0xc0005277e8, 0x1, 0x1, 0x0, 0xc000322301, 0x3c)
/usr/local/go/src/reflect/value.go:336 +0xb9
github.com/sandertv/mcwss.(*Player).handleIncomingPacket(0xc00000a1e0, 0xc000134360, 0x24, 0xc0004c3370, 0xf, 0x1, 0x13c0280, 0xc0001961e0, 0x0, 0x0)
/go/src/github.com/sandertv/mcwss/player.go:511 +0x3a5
github.com/sandertv/mcwss.(*Server).handleResponse(0xc0001ae2c0, 0x17a97c0, 0xc000520000, 0xc0002ee000)
/go/src/github.com/sandertv/mcwss/server.go:153 +0x405
net/http.HandlerFunc.ServeHTTP(0xc0001161d0, 0x17a97c0, 0xc000520000, 0xc0002ee000)
/usr/local/go/src/net/http/server.go:2042 +0x44
net/http.(*ServeMux).ServeHTTP(0x20585c0, 0x17a97c0, 0xc000520000, 0xc0002ee000)
/usr/local/go/src/net/http/server.go:2417 +0x1ad
net/http.serverHandler.ServeHTTP(0xc0001fc000, 0x17a97c0, 0xc000520000, 0xc0002ee000)
/usr/local/go/src/net/http/server.go:2843 +0xa3
net/http.(*conn).serve(0xc0003a2000, 0x17ac2c0, 0xc00003c040)
/usr/local/go/src/net/http/server.go:1925 +0x8ad
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2969 +0x36c
Hi,
when tryong to connect (Both /connect
and /wsserver
commands) kubecraftadmin logs: unknown message purpose ws:encrypt
Hi,
Running the latest and greatest version of Minecraft Bedrock - and nothing happends if you try to connect to the KubeCraftAdmin websockets.
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.