PlayerControl | Save what Players do on your Server | [1.8-1.15] 1.7.1

Create log files automatically, which contains information of everything the players do

  1. Ajneb97
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    [​IMG]
    [​IMG]

    What can I do with PlayerControl?
    This plugin allows you to have one log file per player that saves information about what did this player in a specific date.

    Examples of information the plugin save are: Chat, Commands, Change World, Block Break (Useful for catching X-rayers), among others. It's a simple and lightweight plugin.

    FEATURES:
    - Log file for every player
    - Saves Information: Join, Leave, Chat, Commands, Change World, Block Break, Block Places, Kills, Deaths, Drops
    - Check player events in Real Time
    - Easy to read logs
    - Information removal after a period of time
    - PlaceholderAPI variables
    - Works with 1.8+
    - Compatibility for Spigot/CraftBukkit


    [​IMG]
    TUTORIAL:
    Player information is stored inside the "players" folder. Each of the users will have a log file. If you want to modify the type of information being saved, you can do it on the config.yml file.
    Code (YAML):
    Config:
        player_log_remove
    : 7
        player_log_save_when_leave
    : false
        new-version-reminder
    : true
        save_join_leave
    : true
        save_chat
    : true
        save_commands
    : true
        save_worldChange
    : true
        save_blockBreak
    :
            enabled
    : true
            block_list
    :
           - DIAMOND_ORE
            - EMERALD_ORE
        save_blockPlace
    :
            enabled
    : true
            block_list
    :
           - CHEST
        save_drops
    : false
        save_playerKill_playerDeath
    : true
        save_cancelled_events
    : false
        save_data_permission
    :
            enabled
    : false
            permission
    : "playercontrol.savedata"
        real_time_command_enabled_events
    :
       - commands
        - worldChange
        - blockBreak
        - blockPlace
        - drops
    Messages
    :
        log_message_general
    : "[%time%] %event%"
        log_message_join
    : "<joined the server (IP: %ip%)>"
        log_message_leave
    : "<left the server>"
        log_message_chat
    : "<chat: %message%>"
        log_message_commands
    : "<command: %command%>"
        log_message_worldChange
    : "<world change: FROM (%worldFrom%) TO (%worldTo%)"
        log_message_blockBreak
    : "<block break: %block% (%block_x% %block_y% %block_z% %block_world%)"
        log_message_blockPlace
    : "<block place: %block% (%block_x% %block_y% %block_z% %block_world%)"
        log_message_playerKill
    : "<killed: %victim%>"
        log_message_playerDeath
    : "<killed by: %killer%> (Total Deaths: %statistic_deaths%)"
        log_message_drops
    : "<drop: x%amount% %item%>"
        real_time_message
    : "&8&o[&c&o%player%&8&o][&e&o%time%&8&o] &7&o%event%"

    <player_log_remove>
    After how many days will the information of the log files be removed.

    If is set to 7 it means logs from 7 days old will be removed. For example if today is 8th and one of the files has information saved on the 1st, then all data saved on that day will be removed, but the other days will be intact. Keep in mind that the files could fill very quickly.

    <player_log_save_when_leave>
    If enabled, player log will be saved when this player leaves the server (Not recommended for servers with many users)

    <save_join_leave>
    If you want to save when player join and leave the server.

    <save_chat>
    If you want to save everything the player writes in chat.

    <save_commands>
    If you want to save commands the player executed.

    <save_worldChange>
    If you want to save when player changes world.

    <save_drops>
    If you want to save when player drops items.

    <save_blockBreak/save_blockPlace>
    If you want to save when player breaks/places a block. You need to define the blocks that will be allowed here. You can find a list of Materials here:
    https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html

    <save_playerKill_playerDeath>
    If you want to save when player dies or kills another one. (Save all types of deaths)

    <save_cancelledEvents>
    If this options is set to true, events that were cancelled will be saved as well. For example: A user tried to break a Diamond block in the spawn of the server, but WorldGuard stop it. Or, a user tried to execute the /home command but he doesn't have permissions.

    <save_data_permission>
    Data will be stored ONLY if the player has the permission defined here.

    Variables:
    GLOBAL VARIABLES:
    You can use this variables on every log message. You can use PlaceholderAPI variables.
    PlaceholderAPI: https://www.spigotmc.org/resources/placeholderapi.6245/
    - %player%
    - %player_x%
    - %player_y%
    - %player_z%
    - %player_world%

    JOIN VARIABLES:
    You can use this variables on every join log message
    - %ip%

    WORLD CHANGE VARIABLES:
    You can use this variables on every world change log message
    - %worldFrom%
    - %worldTo%

    CHAT VARIABLES:
    You can use this variables on every chat log message
    - %message%

    COMMANDS VARIABLES:
    You can use this variables on every commands log message
    - %command%

    BLOCK BREAK/BLOCK PLACE VARIABLES:
    You can use this variables on every block break log message
    - %block% (Block Breaked/Placed)
    - %block_x%
    - %block_y%
    - %block_z%
    - %block_world%
    - %item% (Item used to break the block)

    PLAYER KILL VARIABLES:
    - %victim%

    PLAYER DEATH VARIABLES:
    - %killer%




    COMMANDS:
    - /playercontrol Shows this message

    - /playercontrol reload Reloads the config.yml file
    - /playercontrol realtime <player> Enables/Disables Real Time messages for a Player (Basically, you will see what that player is doing)
    - /playercontrol save Saves the information in their respective log files (This is done automatically when closing the server)

    PERMISSIONS:
    Just one: playercontrol.admin




    IF YOU HAVE ANY IDEAS YOU ARE WELCOME TO SAY THEM ;) I HOPE YOU LIKE THE PLUGIN.
    TomCreeper, PabsMG, Diclo and 5 others like this.

Recent Updates

  1. 1.7.1
  2. 1.6.1
  3. 1.5.1

Recent Reviews

  1. iJosePlay_
    iJosePlay_
    5/5,
    Version: 1.7.1
    ¡Justo la opción que necesitaba para ver los bloques que colocan los jugadores! ¡Gracias por la actualización!
  2. JhonatanDCl
    JhonatanDCl
    5/5,
    Version: 1.7.1
    Excelente plugin para moderar gracias............................................
  3. kent_at
    kent_at
    5/5,
    Version: 1.6.1
    Love this plugin, I have been having some trouble understanding what has been going on with my server while I am away and this helps me get a glimpse of that!

    Works great on 1.15.2-no errors

    A suggestion would be add support for verbose logging, where it captures console messages sent to players optionally.
    1. Ajneb97
      Author's Response
      Thanks for your review :)
  4. Stefanus
    Stefanus
    5/5,
    Version: 1.6.1
    Works great on my 1.13.2 server! No errors and spam console. Thanks, keep it up!឵឵឵឵឵឵឵឵឵឵឵឵឵឵឵឵឵឵឵឵឵
  5. Master15985
    Master15985
    5/5,
    Version: 1.6.1
    Buen Complemento Bueno mejor dicho Excelente Complemento Deberias de Ponerlo para Bungeecord para Ver cuando se conecta A que Servidor se Cambio que Comandos ejecuto
    1. Ajneb97
      Author's Response
      Gracias por la review y sugerencia!
  6. dinoboss2001
    dinoboss2001
    5/5,
    Version: 1.5.1
    La verdad la actualización me encantó solució errores de compatibilidad con mis plugin y además nueva versión más estable gracias espero tu próximo éxito
    1. Ajneb97
      Author's Response
      Gracias por la review :)
  7. rey15
    rey15
    5/5,
    Version: 1.5.1
    usa base de datos por que esta bueno el pl para lo que veo aver si lo uso en mi servidor
  8. DTA0808
    DTA0808
    5/5,
    Version: 1.4.4
    Es muy útil pero me gustaría mas si también se pudiera saber los objetos que sacan estando en creativo, quizá sea algo complicado pero le aportaría mucho al plugin
  9. IAlekseyI
    IAlekseyI
    2/5,
    Version: 1.4.4
    Used the plugin from the first release, it's time to write a final review..

    + Good idea

    - Poor implementation (some functionality does not work correctly/no Mysql)
    - Poor optimization (server hangs when saving data, even not implemented asynchronous saving)

    The prospects of the plugin is. All hope for development. Unfortunately until forced to abandon the use of the plugin. In any case, thanks to the developer, good luck in further development. It's possible I'll come back when the plugin isn't so raw.
  10. Gustavo_Player
    Gustavo_Player
    5/5,
    Version: 1.4.4
    Good plugin! =D