Sueta

AdminLog (Free Version)

1.5.1

Log player commands and prevent abuse

·Plugin

AdminLog (Free Version)

Adminlog is a very light-weight plugin that logs player commands into a file (per player). It's very useful to check if an admin abused his permissions. In the premium version (coming soon), there will be a lot more configurable options and a simple webinterface.

Features:
- Command log into player files
- Kill/death log into player files
- Check a players last 3 commands with a simple command
- AdminGUI (scroll down for a picture)
- Permissions
- Exclude certain commands from being logged
- More coming soon...

If you like the plugin, make sure to rate it on Spigot! :D

Setup:
Place AdminLog.jar in the /plugins folder
Reload/restart server

config.yml

##AdminLog (free version) Config File
enabled: true
excludedcmds:
  - /testcmd
  - /testcmd2

kill-log: false
joinmessages: true
updaterchecker: true
 
##Debug messages in console
debug: false

Some options will come in future builds and some in the premium version of this plugin.

Example log:

log:
- 2017.07.31 16:54:39 /hello
- 2017.07.31 16:54:58 /test
- 2017.07.31 16:55:23 /log
- 2017.07.31 16:55:25 /hezllo
- 2017.07.31 16:55:27 /op
- 2017.07.31 16:55:29 /help
- 2017.07.31 16:56:05 /crash
- 2017.07.31 16:56:13 /mem
- 2017.07.31 16:56:22 /player test it now

To search when a player preformed a command, use a text editor like Notepad++ and press 'Ctrl + F' and type the command.

lang.yml
title-name: '&a[&eAdminLog&a]'
debug-create: Creating new file for %player%
debug-add: Adding data in %player%'s logfile
reload: '&aReloaded config!'
log-size: '&aTotal log size: &7%size%'
log-size-player: '&a%player%''s log size: &7%size%'
player-only: Sorry but that can only be run by a player!
no-permissions: '&cYou don''t have permission for that!'
joinmotd: '&aWelcome back %player%!'
join-total-size: '&aTotal log size: &7%size%'
join-player-size: '&aYour log size: &7%size%'
found-log: '&aFound a log file for this player!'
no-player-log: '&cThis player doesn''t have a log!'
showing-commands: '&aShowing last 3 commands:'
total-player-commands: '&aTotal logged commands: &e%commands%'
value-is-zero: '&aIf this value is 0, the player hasn''t got a log yet!'

Commands:

  • /adminlog or /log
  • /adminlog help
  • /adminlog reload
  • /adminlog check <player>
  • /adminlog size <player>

Permissions:

  • adminlog.admin (gives access to all commands and update announcements)
  • adminlog.help
  • adminlog.reload
  • adminlog.check
  • adminlog.size
  • adminlog.join (permission for the join message)
  • adminlog.gui

ezgif.com-optimize (4).gif


Doing a player check

To do:

  • Commands
  • Database (Premium only)
  • Webinterface (Premium only)
  • More config
  • Permissions
  • ...

Goals:
✔ 100 Downloads
✔ 500 Downloads
✘ 1000 Downloads
...

Donate:
Help me develop more plugins in the future!


Similar projects

Plugin →