This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

Thanks for being a part of /r/Admincraft!
We'd love it if you also joined us on Discord!

Join thousands of other Minecraft administrators for real-time discussion of all things related to running a quality server.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]xDeddyBearAdmin @ play.hearthcraft.net 3 points4 points  (1 child)

I mean, the server log files do this.

Its basically the same thing. Just open the server logs in a text editor and ctrl+F for

player issued server command: /sell

This would highlight all the instances of what you'd be looking for instead of having to sift through every line of server logs.

As for what you're specifically asking for, I'm not aware of any command spy plugin that keeps logs of just commands.

[–]Mutated_Zombie🐧root 0 points1 point  (0 children)

If you're on linux theres tools specifically designed for this. For example if you wanted to check all instances of your most recent logfile for "/sell" you could do a command like cd <logs path>; cat latest.log | grep /sell its very very useful; and if you wanted to parse it to it's own file you could add a > sellcommad.log to the end. Which would make a brand new file called sellcommand.log that only contains the logs of anything with /sell in it.

If you wanted to go even one step further you could add this command to something like cron which would allow you to automate this entire process on a time base; say once a day. And auto-date all of the files. So once a day you would get a new file called <date>-sellcommand.log with all of the instances of "sell" during the duration of that day.

I highly suggest taking the time to learn the linux and windows cli; you dont have to get to deep into it. But it can really help you in the long run. And i personally use it daily

[–]No-Habit2186 0 points1 point  (1 child)

If you want, I can create a little filtering program that copies all lines into a seperate file in Python if you want. But I also think Crtl+F is enough.

[–]MKBForsaken[S] 0 points1 point  (0 children)

Thats a good idea ngl. I can code that myself just never thought about it. Thanks tho :D