CommandLog
This is a very simple plugin that logs all commands with the actual date and time to a separated log file in the server's main folder and to the console. Players with the permission receive a message when someone tries to perform a command.
After some downtime, I continued playing minecraft and therefore decided to also continue updating this plugin.
Instructions
- Put the CommandLog.jar file into your plugins folder
- Start/Reload the server
- Open the config and specify the commands that should be ignored
- Start/Reload the server
Commands
- /clearcommandlog
Clears the commands.log file.
Permissions
commandlog.notice
: The player receives a message when someone performs a command.
commandlog.clearlog
: The player can clear the commands.log file.
ChangeLog
- v1.5.1
Improved ignoring commands check
- v1.5.0
Fixed ignoring commands didn't work
Removed command aliases of command /clearcommandlog
Players don't see a CommandLog info for their own commands
- v1.4.0:
Added a config where ignored commands can be set, which are not logged.
Added permission for clearing the log: commandlog.clearlog
- v1.3.1:
Added permissions:
Players with "commandlog.notice" and OPs will be noticed when another player uses a command. - v1.1.0
Added '/clearcommandlog' command. - v1.0.2
Initial release.
Example
Thank you for that video and sorry that it took so long for me to notice, but Mojang really disgusted me out of the game for a long time... :)
works for 1.7.10 very handy plugin, since multicraft spams console with /list and other useless info of crap. the only thing i check on my server daily or every other day is just who uses what commands ect. Very helpful plugin for what i use it for.
Update this for 1.7+ Please! :D
Indeed, the plugin has some odd stuff and can cause lag. I have some ideas, can we talk?
This plugin create some lags :(
http://aikar.co/timings.php?url=5978e871c2608bf3234463ec8684badb
@Jamz4455
no, thats IgnoredCommands, you can't really put there every single command except for the ones that u need
@CapnDuckface
seems like that's already been implemented
Is there any way to create a whitelist of commands? Out of the hundreds of commands that we have, I only need to track about 3 and getting each and every one we DON'T need might take a few weeks.
Hi, nice plugin!
I have some problem with mcpc 1.6.4 (b156 to b187 have same problem)
op and player with permissions commandlog.notice don't see the commands.
In the commands.log/server.log/console all commands are printed twice.
17:18:04 [INFO] [CommandLog] Player mukujin used command: /v
17:18:04 [INFO] [VanishNoPacket] mukujin disappeared.
17:18:04 [INFO] [CommandLog] Player mukujin used command: /v
17:18:06 [INFO] [CommandLog] Player mukujin used command: /v
17:18:06 [INFO] [VanishNoPacket] mukujin reappeared.
17:18:06 [INFO] [CommandLog] Player mukujin used command: /v
17:18:10 [INFO] [CommandLog] Player mukujin used command: /test
17:18:10 [INFO] [CommandLog] Player mukujin used command: /test
Could you make it so players don't see their own command input?
Hello!
A large number of our subscribers were asking us what this plugin was, and we think it's really awesome, so we made a video about it :D
http://www.youtube.com/watch?v=PKhpRpUhfqY
Feel free to use it how you like :D
1.4.7 ? :D
Is there a way to make it so when someone types /login password, the command is not shown? when someone types /login, that is hidden but it is not hidden when a password is typed after it. Great plugin by the way.
i have got a little problem, its not really a problem but its annoying...
20:40:30 [INFO] [CommandLog] Player 'Electroshokk' used command: 'test' 20:40:30 [INFO] Electroshokk issued server command: /test
is it possible to disable commandlog in the console ?
Is this gonna be developed any further?
Д
Да прошуууууууууу
@darkknightcz
You are right.
sd5 - instead of equalsIgnoreCase use startsWith -> if(command.toLowerCase().startsWith(s.toLowerCase())){
@sd5 I use AuthMe Reloaded, CommandLog v1.4.0, Latest Craftbukkit (R1.0 for 1.3.1)
@bLu3eYeZ
Which version of CraftBukkit/CommandLog/AuthMe do you use? Or do you use AuthMe Reloaded?