Cuberite Forum
Ovserving and logging commands that player execute - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Discussion (https://forum.cuberite.org/forum-5.html)
+--- Thread: Ovserving and logging commands that player execute (/thread-1698.html)



Ovserving and logging commands that player execute - donvdp - 12-28-2014

Hi there,

I was wondering if there is a way to see what commands players have been executing. As i recall on the vanilla server you see when players type (for example) /msg <txt> to eachother. MCServer does not have this (enabled??).

Besides being able to see executed commands in real-time(via console) i was wondering if this was also logged?

Kind thanks in advance for awnsering Smile
Don


RE: Ovserving and logging commands that player execute - xoft - 12-28-2014

The commands are not logged at this moment, only failed attempts (no permissions / bad command). It should be fairly straightforward to create a plugin for this, though. There's already a hook that gets fired whenever a player executes a command.