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.
Hi! This pluging is just what I'm looking for. I've set it up and it's working.
I've an apache2-server listening at port 80 on the server, and I would like the webpages (i.e players/) to be a subdir on my main site.
Like if someone open http://www.myserver.com/inq they open the inquisitor-page showing all the players.
I tried to copy web-cache and web-root to my webserver directory, but I get a 404-error: The requested URL /players/ was not found on this server.
I did get http://www.myserver.com:8080 to work, but I'm afraid changing the default port in inquisitor will conflict with apache2....?
So that didn't work... Anyone who got tha same problem and maybe a fix?
And is there a way to make the wevservice available even if the bukkit-server is down?
Thanks!
Joachim
The best bukkit plugin ever. Extremely smart and creative :D !
See this plugin/webserver at http: www.Zyinx.com. If you have any questions just post them on our forum there.
Thank you!
@Zyinx
just noticing your site is set up oddly..... iframes everywhere :D...
just a random comment here
Can I get a pre-made MySQL Database?
I don't know how to make one.
What Could I do if The MySQL Access Denied And I Make Sure i open the sql remote mode and you know if it can't connect the db i can't use it at all i need it to share the data between my cord server is there same help?
WARNING web server cannot be started: statisticsManager is not started
why help D;