Giter VIP home page Giter VIP logo

mconbot's People

Contributors

raynieport avatar spongecade avatar

Stargazers

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

Watchers

 avatar  avatar

mconbot's Issues

/list command not working

First off, thank you so much for creating this bot! It was exactly what I was looking for to remotely control my mc server.
However, although commands like "start, stop, weather clear, and say" all work perfectly... "list" always returns back

image

Even when there are definitely players online.

Do you ever have this problem? When I do the command in the server terminal it works exactly how you'd expect.
image

So I'm confused why rcon doesn't see them. I have the repo for my bot set to public if you want to see how I changed your code. here

Extra info: I'm not running this in a docker and I'm running a forge 1.7.10 modded server.

Bot no longer working (investigation required)

For whatever reason, the bot no longer seems to function. Not sure if this is due to some breaking change in the Discord API or an update to the discord.py library. I will look into this further if I have some free time.

React to Messages from Bots

Is there a way i can modify the script so mconBot also reacts to messages written by other Bots?

I have tried deleting the blue marked code, but that didn't seem to help.
image

Help command returns nothing

image
Help command returns nothing.

image
I am using the official docker image and deploying it through a Portainer stack. Other administrator commands are working so not sure what the issue might be.

Parsing problem for commands without arguments on Vanilla servers

Hi!

I'm encountering an issue with the docker version of mconBot. I've followed the process for setting up a bot and integrating it with a channel. When running >hi and >help it responds appropriately, but when I run a command that would query my server, it returns Connection from the bot to the server failed.

When I check the docker logs, I see

# docker logs mconbot                                             
[discord_user#1234]: list 
Connection from the bot to the server failed.

Port 25575 is definitely open and I have the correct password defined in the environment file.

Running a shell on the container and executing mconbot from there seems to work fine

# docker exec -it mconbot /bin/sh 
# mcrcon --password $password 10.1.10.100
> list
There are 0 of a max of 4 players online: 

Is there anything else I can test here to identify where the issue may be coming from?

custom command input

could you add some sort of command like >cmd (some command other than the default list)?
I run a spigot server and since that also means i use plugins, i would like to use commands from those without having to add all of the commands to commands.json
of course this feature would be restricted to admins since it enables use of any command

Feature Request: Remote Start & Shutdown

I love this bot as it does just about everything I need it to. Although, the only thing I've been trying to figure out how to do is be able to use the bot to execute the bat file/jar for the server via discord and suspend/shut down the server when no players are online after a certain amount of time.

Option to Specify Port

Your bot seems pretty good despite a couple missing features.
i looked at the python library you were using for mcrcon and it doesnt seem you can specify a port, so idk if this is possible
i would attempt to fix it myself, but the only class in college ive had on python was more of the data science route and not normal programming.

I have my main server setup on a physical server (D1) where i want to have the bot running on a different physical server (D2)
that physical server (D1) has a minecraft server and a velocity proxy. while the 2nd server (D2) has significantly less processing power, so i try to host smaller pieces of software on it.
I want to be able to specify the port that i use with the bot since i was planning on using the bot, not on the same physical server (not D1, but D2 in this case). this would also help if i wanted to setup multiple instances of the bot for different servers

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.