Coder Social home page Coder Social logo

velocityrcon's People

Contributors

aurelien30000 avatar dependabot[bot] avatar firstl1ght avatar ygtdmn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

velocityrcon's Issues

Add support for velocity server v3

[14:37:34 INFO] [velocityrcon]: Rcon connection from [/192.168.1.144:55664]
[14:37:36 WARN] [io.netty.channel.DefaultChannelPipeline]: An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
java.lang.NoSuchMethodError: 'boolean com.velocitypowered.api.command.CommandManager.execute(com.velocitypowered.api.command.CommandSource, java.lang.String)'
at me.uniodex.velocityrcon.server.RconHandler.handleCommand(RconHandler.java:86) ~[?:?]
at me.uniodex.velocityrcon.server.RconHandler.channelRead0(RconHandler.java:61) ~[?:?]
at me.uniodex.velocityrcon.server.RconHandler.channelRead0(RconHandler.java:15) ~[?:?]
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) ~[server.jar:3.0.0]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[server.jar:3.0.0]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[server.jar:3.0.0]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[server.jar:3.0.0]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324) ~[server.jar:3.0.0]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296) ~[server.jar:3.0.0]
at io.netty.handler.codec.ByteToMessageCodec.channelRead(ByteToMessageCodec.java:103) ~[server.jar:3.0.0]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[server.jar:3.0.0]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[server.jar:3.0.0]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[server.jar:3.0.0]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[server.jar:3.0.0]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[server.jar:3.0.0]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[server.jar:3.0.0]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[server.jar:3.0.0]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[server.jar:3.0.0]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719) ~[server.jar:3.0.0]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655) ~[server.jar:3.0.0]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581) ~[server.jar:3.0.0]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493) ~[server.jar:3.0.0]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) ~[server.jar:3.0.0]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[server.jar:3.0.0]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[server.jar:3.0.0]
at java.lang.Thread.run(Unknown Source) [?:?]

https://velocitypowered.com/wiki/developers/porting-from-velocity-1/

Problem with latest build.

https://pastebin.com/jtrebYCp

Velocity 3.1.1-98
Java 17.0.1 2021-10-19 LTS
Oracle-Linux-7.9-aarch64-2021.09.23-0

In addition to this problem, there's no way to specify the listening address, velocityrcon just listens to 0.0.0.0, which is a security risk if users desire to only allow local connections.

Unable to execute command

Hi.I have found a problem when I use mcrcon to connect velocity.
I have tried on the vanilla server and I'm pretty sure it is effective.
But when I use command "glist all" and "lpv help".The command line is not responding.I take a screen shot and the pictures are below.

The Vanilla Server:
`7 }ZQHN)Y6}HHOX8DM4I$N

Velocity:
@1$K1DRHXZH{}VF(T3}H3W](https://user-images.githubusercontent.com/50048293/167255231-4d69b845-3d3a-4b50-a510-a8ea2d4d6228.png) ![T(Q}PG@WF)KKF3DO5U71AL

So,I use wireshark to capture and analyze packets.And I find this.
2I0YM(BVPR`WAN4XUC)MG
It sent back my instructions verbatim!
So,what happened?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.