Getting Started
Once the plugin is installed and Bukkit has been restarted, you'll need to configure the plugin to connect to a database, and optionally turn on the web server.
Creating a database
You must either create a new MySQL database or use an existing one. In either case, a MySQL user must exist will the following permissions for the database:
- CREATE
- ALTER
- INDEX
- DROP
- SELECT
- INSERT
- UPDATE
- DELETE
Gather and make a note of the following information:
- MySQL server hostname or IP address
- MySQL port number (if MySQL is not using the default port of 3306)
- Database name
- User name with the privileges listed above for the database.
- Password
If the database will not be used exclusively by the plugin, you may also want to decide on a table name prefix to make sure the plugin's tables don't conflict with existing tables. If you decide to use a prefix, make a note of it as well.
For the commands listed in the following steps, the following values will be used. Your values will probably be different, so make adjustments as necessary.
- server: localhost
- port: 3306 (default)
- database name: inquisitor
- user name: bukkit
- password: very_clever
Configure the plugin: database
At the Bukkit console, issue the following commands, making adjustments for the actual values in your environment.
inq db set url jdbc:mysql://localhost:3306/inquisitor inq db set username bukkit inq db set password very_clever
The plugin should report successfully connecting to the database after the last command. At this point, the plugin will also start statistics collection and records will be written to the database periodically.
Configure the plugin: web server
If you'd like to use the built-in web server to view player statistics, you must configure and enable it. The configuration defaults should be adequate for a simple installation but may need to be adjusted for servers with a large number of users. Use the following command to enable to web server:
inq webserver enable
Once successfully enabled and assuming you haven't changed the default listen address, open a web browser and navigate to http://localhost:8080.
Going further
Read the Commands and Configuration pages for more information and options.
-
View User Profile
-
Send Message
Posted Jul 9, 2012Very nice Plugin! Easy use and Configuration =)
-
View User Profile
-
Send Message
Posted Aug 20, 2012Could someone put simple instructions how to install and run this on my server, I don't get this SQL business I'm a noob when i comes to this kind of thing, an example of the config.yml would be helpful
-
View User Profile
-
Send Message
Posted Aug 29, 2012Could you make it possible to change the webserver port?
-
View User Profile
-
Send Message
Posted Nov 21, 2012Very clever password you got there.
-
View User Profile
-
Send Message
Posted Jan 7, 2013How do I put the http://localhost:8080 players file online?
Where's the file? How do I change the directory?
-
View User Profile
-
Send Message
Posted Jan 19, 2013Firstly this looks like a really good plugin, but im unfortunately having problems connecting to the localhost:8080 to view the files, Is there any way to change this page (What you connect to it with), so I can create links to it on my site so any of the players on my server can view it?
Thanks in advance.
-
View User Profile
-
Send Message
Posted Feb 1, 2013@iiAnderson
you need to forward the port. then it will be your-ip:8080 from any browser. works the same way as webserver plugin does. I, on the other hand, prefer apache.
-
View User Profile
-
Send Message
Posted Feb 8, 2013Hi I have a problem. my server is use port 8080 now I can not use inquisitor is there a option to change this port to a other one ?
-
View User Profile
-
Send Message
Posted Feb 10, 2013I'm getting null pointer when trying to start the webserver or set options for it.
-
View User Profile
-
Send Message
Posted Feb 10, 2013Re: You must either create a new MySQL database or use an existing one. In either case, a MySQL user must exist will the following permissions for the database:
CREATE ALTER INDEX DROP SELECT INSERT UPDATE DELETE
How do I give Inquisitor permission to access that?
-
View User Profile
-
Send Message
Posted Feb 10, 2013Is there a way I can make it show my servers plugins?
-
View User Profile
-
Send Message
Posted Feb 10, 2013@Leenert
A lot of ISP's do not allow people port 80, nor 8080 due to some proxie issues. just change your port, and forward it in your router settings.
@pkminer
go to http://www.noip.com/ Get a host/redirect make sure to download the client.
@iiAnderson
Read above.
@hipperdehopper
Read above.
@Xehara
do you have a sql server setup?
-
View User Profile
-
Send Message
Posted Feb 12, 2013Yes the server is set up and there is a database just for inquistor set up. We have the information set up to link it, but it tells us it doesn't have permission when we try to connect it.
EDIT: Fixed my own problem.
-
View User Profile
-
Send Message
Posted Feb 16, 2013@Xehara Lolz.
frdfsnlght: Is there a way we can do a name instead of a port? instead of localhost:8080 Do like Localhost/stats ??
-
View User Profile
-
Send Message
Posted Feb 22, 2013Great plugin! I am having one issue though, when I go to the web site, it shows the list of players. But when I click on a player name, it shows a blank screen and shows the following error message in the console:
EDIT: Nevermind, it randomly started working.
21:35:19 [SEVERE] [Inquisitor] web server encountered an error while processing a request from Socket[addr=/<my IP address>,port=54977,localport=8080]: java.lang.UnsupportedOperationException: mapped objects cannot be read from the database at com.frdfsnlght.inquisitor.StatisticsGroup.loadStatistics(StatisticsGroup.java:269) at com.frdfsnlght.inquisitor.handlers.PlayerHandler.getPlayer(PlayerHandler.java:76) at com.frdfsnlght.inquisitor.handlers.PlayerHandler.handleRequest(PlayerHandler.java:50) at com.frdfsnlght.inquisitor.WebWorker.handleRequest(WebWorker.java:84) at com.frdfsnlght.inquisitor.WebWorker.run(WebWorker.java:51) at java.lang.Thread.run(Thread.java:722)
Any idea what is causing this or how I can fix it?
-
View User Profile
-
Send Message
Posted Mar 4, 2013little thing I noticed with Inquisitor, the avatar displayed doesn't show my helmet, I see it uses Three.js but it would be nice if this file can show the helmet (if the player has one)
-
View User Profile
-
Send Message
Posted Mar 12, 2013where do i download the webfiles?
-
View User Profile
-
Send Message
Posted Mar 19, 2013Inquisitor is not working for me. I am running Bukkit 1.5 and the files do not load up.
-
View User Profile
-
Send Message
Posted Mar 31, 2013It works perfectly! I love your plugin. maybe you can add that you can still order the players to set blocks or so
-
View User Profile
-
Send Message
Posted Apr 4, 2013I have a server run by a hosting company. Any way I can get this to work consider I am getting a StatisticsManager error