PlayerScreen
PlayerScreen - Commands monitoring
PlayerScreen is the perfect Chat and Commands monitoring tool for Admins.
Do you know the problem if a user said someone posted some crap or used some bad command!? and you don't want to download the entire server.log?
PlayerScreen stores Commands, Chat and several Actions with Timestamp in the Database of your server.
Its so simple, just drop the .jar in the /plugins folder and enter your MySQL details in the config.
It also comes with a powerful GUI Client for reading the logs, just double tap the .jar file on your PC.
Plugin Features:
- log Command's
- log Chat
- log Login Location
- log Logout Location
- log Teleport Location
- log GameModeChange Location
- log CustomEvents with Location
- log complete Server log and Pluginmessages
- delete old log entries after x day
Client Features:
- search by username or IP
- write a IP to the user field in the gui, hit it and it shows the minecraft name
- search in Command's or Chat Messages
- get the Command Result
- search with wildcard function
- sort results ASC, DESC by username or date(Timestamp)
- select results in Timespan
- limit SQL Query
- stores Database login data
- auto refresh
Screenshots:
Create own Log Event:
Player player = null; // get a real player :p PlayerScreenLogEvent event = new PlayerScreenLogEvent(player, "i'm very stupid"); Bukkit.getServer().getPluginManager().callEvent(event);
Sourcecode Repository:
Notes:
I recommend you to create a extra User only for query the logs from Database over a SSH Tunnel. ProtocolLib is required since 1.7
@TechmoMaster
I think you need to: 1. Stop the server 2. Copy the .jar file to the plugins folder 3. Start the server 4. Stop the server
Now, in your plugins-folder, there should be created a new folder, called "PlayerScreen". (A ordinary windows folder). In that folder, there lies a config.yml. This is the one you need to configure.
If you not already got Notepad plus plus, I'd recommend you get it, as it would be a lot easier to configure these (and many other) type of files. EDIT: You can download it here http:notepad-plus-plus.org/download/v6.6.3.html
Set up the file with the creds you used in the workbench, and you should be ready to start the server and the plugin. EDIT: It should be very simple, once you get a hold on the right config.yml, you right click on it at make sure you open it with Notepad plus plus.
I hope it helps you
@tkvich
Do you mean my server config.yml or the file in the plugin called plugin.yml? What do I do to config it?
@TechmoMaster
Now, to the left of "Query1", you should see a "tool-window" called Navigator. (If not, you go to View -> Panels -> Show sidebar).
In this window you've got several options, Management, Instance, Performance and Schemas. And it is the Schemas-part we want here. You should have an Schema called "information_schema" there, and if you right-click right below that schema, you should get a contextmenu with 2 options. "Create schema" and "Refresh all".
Now you hit "Create schema" and the workbench want you to type a schema name. (It suggest "new_schema", but you want to go with "ps_minecraft"). Collation is set to server default and then you hit "Apply" in the right bottom corner of the window.
This should make you all set to configure the config.yml with the right password and launch the plugin.
@tkvich
Thanks. Now its come up in a new tab a blue window type thing. Theres a yellow tab called Query 1. What do I do now?
@simondu21
you have set "<psminecraft>" as you username... please remove the "<...>"
Hi, I get this error on logs: http://pastebin.com/viUWyFjT And this one: http://pastebin.com/KWm8d1zG
My sql database is on my website. It is not the same location as the server (I have put the sql host site)
@TechmoMaster
I'm not quite sure, where in the progress you are. Have you not connected to the database yet?
In my workbench, when i click "Connect to database", a window opens. There should be several spaces for you to type in.
The "Stored connection" parameter, you leave alone, and make sure the "Connection method" is Standard (TCP/IP).
Then you have 3 tabs, and you only use the first one; "Parameters". Set your hostname to localhost, port to 3306, username to root, and you should be ready to go. Leave the "Default schema" field blank. Click OK, and the workbench should set up the connection and store it under MySql Connections.
I hope it helps
@tkvich
When I go to Connect To Database is says 'Default Schema' and a space for me to type something in.
@200dvd
Hi 200dvd :)
Thank you so much, I've managed to download the new version, but now the plugin completely fails to start :(
I have uploadet the error:
EDIT: I'm so sorry, you wrote about protocollib, and I missed that tiny part... It works like a charm now, and it have also updated the database it self! I cannot begin to explain how cool I think you are!
Thank you, for the really quick error-fixes and for you to take the time to answer me. And once again for this must-have plugin. You now got my unconditional love <3 :)
@TechmoMaster
Hi TechnoMaster
If you have windows, and chosen to install the MySql Workbench along with the server, first step is to make the workbench connect to your database, so that you know you have it right. You connect under Database -> Connect to database
Under SCHEMAS in the left side of the screen, you might see a schema called "information_schema". Right click underneath that, and you should be able to choose "Create schema". And you call this one "ps_minecraft".
Then configure the .yml to the right connection-properties. If you've installed the server on your computer, refer to "localhost" as your hostname, so you can change internal IP without connection fails.
@TechmoMaster
On Linux you just have to install the Mysql package... On Windows you have to install xampp :)
@tkvich
How do i make a database?
@tkvich
The file is not approved yet. But you can play around with the numbers in the download URL ;) 7-player-screen-1-7
ProtocolLib is required since 1.7
@200dvd
I was just about to declare my unconditional love towards you, but then I discovered some minor details...
You post, that you've uploadet version 1.7, but all I can see on this page is up to version 1.6. And if I follow curse link, only version 1.5 is available.
I already got version 1.5 and downloaded 1.6 and do not see any changes... at all actually... I cannot get a hold on 1.7... (And yes I'm a noob, but could you please point me in the right direction)
Thank you in advance :)
EDIT: Also I've discovered, that ' (apostroph) not only makes chat-SQL-insert-command go bad. If the user types it in a command, it also spoils that log.
@tkvich
Just uploadet version 1.7 with uuid support and console output and ingame output for every command.
@200dvd
Hi again
Yeah, the console output for a command would be very usefull!
@TechmoMaster
Where is your server hosted? Local?
@tkvich
Do you mean the Console Output?
@TechmoMaster
You need to have access to a MySql server or install it on your own computer (like I did). It's fairly simple, but you need to create a database called ps_minecraft or rename the connection string in the config.yml, so that you have a database for the tables to be created in.
Other plugins may require MySql database access, so you might as well go ahead and install it, sooner than later. MySql server download
@200dvd
Thank you so much :) I have a suggestion, I don't know if it possible, but in the command-log, it would be a charm to see, if the command succeded or what effect it had. Thank you again for a great plugin
@tkvich
Lol MySQLi in Minecraft, I'm going to fix it today