Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an action script to get statistics from the server #13

Open
mdaffin opened this issue Jul 9, 2012 · 2 comments
Open

Add an action script to get statistics from the server #13

mdaffin opened this issue Jul 9, 2012 · 2 comments

Comments

@mdaffin
Copy link
Contributor

mdaffin commented Jul 9, 2012

It would be nice to have an action script (or at least an example one) that parses output from the server, the server.log file or the other minecraft files to get information about the server. Some things it could be possible to obtain are;

  • Number of times the server has restarted
  • Find WARNINGs or errors
  • Number of people that have been disconnected
  • Number of players that have logged in over the past X hours/days
  • Number of times a player has logged in over the past X hours/days
  • Number of hours a player has spent playing
  • Player that have used a command?

Or anything else that could be used to help improve the maintenance of a minecraft server or interesting for admins/players.

@DMBuce
Copy link
Owner

DMBuce commented Jul 19, 2012

This sort of functionality might be more appropriate in a standalone script. There would be several benefits to this approach:

  • Others who don't use clicraft could benefit from it
  • Such a tool wouldn't have to be written in bash (I'd imagine it would be painful to write in bash)
  • Clicraft could, of course, wrap it in the same way it currently wraps around c10t and mcexplore

That said, I wouldn't mind including it as an example action script. Patches welcome.

@mdaffin
Copy link
Contributor Author

mdaffin commented Jul 20, 2012

I will have a look into writing a simple python program to do this when I have time and will report back when I have it working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants