Code Monkey home page Code Monkey logo

Comments (5)

TomLewis avatar TomLewis commented on August 18, 2024 1

Aha, turns out I had mcrcon installed via pip too! So it was a conflict.
pip uninstall mcrcon solved this. if anyone else has the issue.

from mcrcon.

Tiiffi avatar Tiiffi commented on August 18, 2024

Hi,

Yeah I think there is unfortunate conflict with naming.
Pip actually installs Python implementation of rcon client.

I have contemplated if I should change the project name or executable name to make it distinct from Python implementations but it is hard to come up with new decent name (perhaps just "rcon" since I am in process of making it work with all rcon protocol variants).

from mcrcon.

TomLewis avatar TomLewis commented on August 18, 2024

I was looking into clients, so installed both and was using both bash and python to experiment, I went with this one and just parse what I want from commands.

You have the best google search results, so keep the name.

Might be worth the note on the readme page about conflicts maybe?

You could even show examples of how to use in bash/python/php too, to show people they don't need a python package installed.

Ive just ended up using bash as its no extra overhead, not that I need the response time im just building a crappy API to show TPS/Players/Donations on a small 4x20 display from a raspberry pi from my main server!
Generate static json file, as im sure as shit not opening rcon up to the world haha

from mcrcon.

Tiiffi avatar Tiiffi commented on August 18, 2024

You have good points.

Might be worth the note on the readme page about conflicts maybe?

Yeah, I think this is a good idea.

as im sure as shit not opening rcon up to the world haha

Haha, rcon is really unsecure protocol indeed. I am still gringing for the fact that passwords are cleartext.

I have plans to include small config file parser so passwords could be at least stored in user defined config file with appropriate permissions.

from mcrcon.

TomLewis avatar TomLewis commented on August 18, 2024

I'm down for a config so it dousnt need to pass the password each time! That's one thing I don't like about it, having to pass the password each time. I do have 4 servers, so it would be nice to just have a parameter to say what server you want command output from.

I've never used rcon past today, all I wanted was a way to just get command output without parsing the entire bloody latest.log, rcon Seems perfect being able to run a command and get output without needing to clean it up much!

What else do people use rcon for? I can't see it being used as a console replacement as I don't get any live in game thing like chat or errors when it's in client mode. Unless that's the point of rcon to use it as I am as a type of middle man for grabbing output

from mcrcon.

Related Issues (20)

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.