Plugin category: Informational Minecraft version: 1.13+ Suggested name: CMDStaffLog What I want: When a staff member executes a command, the latter is logged into a database (db type: SQLite). Log the commands, only for players who have the pex log.log Database automatically deletes logs older than 14 days The command to see a player's history, always shows only 7 lines per page (excluding header and footer) Ideas for config: Code: Notify-message: ‘&7[&eLOG&7] &a%player% &7has execute: &a%command%’ Notify-message-enable: ‘&7[&eLOG&7] &a Enable &7notification for &a%player%’ Notify-message-disable: ‘&7[&eLOG&7] &cDisable &7notification for &a%player%’ Log-history-message: - ‘&7[&eLOG&7] &aPlayer | &6Date | &aCommands’ - ‘&7[&eLOG&7] &a%player% | &7%date% | &a%command%’ - ‘&7[&eLOG&7] &a%player% | &7%date% | &a%command%’ - ‘&7[&eLOG&7] &a%player% | &7%date% | &a%command%’ - ‘&7[&eLOG&7] &a%player% | &7%date% | &a%command%’ - ‘&7[&eLOG&7] &a%player% | &7%date% | &a%command%’ - ‘&7[&eLOG&7] &a%player% | &7%date% | &a%command%’ - ‘&7[&eLOG&7] &a%player% | &7%date% | &a%command%’ - ‘&7[&eLOG&7] &7Page &2%actual-page% &7of &2%total-page%’ Date-format: ‘dd/mm/yyyy’ Database: user: password: ip: port: Placeholder: %player% for player who execute a command %command% for command execute from player %date% for execution date of the command Ideas for permissions: 1) log.admin for all commands 2) log.notify for notification 3) log.log for log command Ideas for commands: 1) /clog <player> | Show history log for <player> 2) /clog toggle <player> | Enable/disable notification when <player> execute a command When I'd like it by: ASAP
Here you go, it should work on all minecraft versions. Spigot: https://www.spigotmc.org/resources/commandlog.69176/ Source: https://github.com/Reckfullies/CommandLog