I'm making a server wrapper in bash for bukkit for my server, but I need a way to detect when a player leaves or joins. There is a message in server.log but I have no idea how to parse it. Any help?
P.S.: I'm writing it in bash. Not java or C# or anything else.
P.S.: I'm writing it in bash. Not java or C# or anything else.
2
TeotooI'm a little rusty on my bash, but you could use grep just as easily (grep is usually present on most devices that have bash):
--snip--
You can call grep from bash, if you're worried about keeping it all in one thing.
Aww come on XD
I made up this big complex system to do it and you come along and make it all easy XD
[deleted]
