PlayerControl | Save what Players do on your Server | [1.8-1
1.7.4Create log files automatically, which contains information of everything the players do
ATTENTION: THIS PLUGIN WILL NOT BE UPDATED ANYMORE!
If you want something better, use my plugin PlayerControlPlus: https://www.spigotmc.org/resources/...ayers-activity-on-your-server-1-8-1-15.78599/
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

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.
Config.yml
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:
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/
Global Variables
- %player%
- %player_x%
- %player_y%
- %player_z%
- %player_world%
JOIN VARIABLES:
You can use this variables on every join log message
Join Variables
- %ip%
WORLD CHANGE VARIABLES:
You can use this variables on every world change log message
World Change Variables
- %worldFrom%
- %worldTo%
CHAT VARIABLES:
You can use this variables on every chat log message
Chat Variables
- %message%
COMMANDS VARIABLES:
You can use this variables on every commands log message
Commands Variables
- %command%
BLOCK BREAK/BLOCK PLACE VARIABLES:
You can use this variables on every block break log message
BlockBreak Variables
- %block% (Block Breaked/Placed)
- %block_x%
- %block_y%
- %block_z%
- %block_world%
- %item% (Item used to break the block)
PLAYER KILL VARIABLES:
PlayerKill Variables
- %victim%
PLAYER DEATH VARIABLES:
PlayerDeath 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.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta