When I start hawk eye this happens:
[HawkEye] Starting HawkEye 1.0.5b initiation process...
16:55:05 [INFO] [HawkEye] Using Permissions for user permissions
16:55:05 [INFO] [HawkEye] Performing update check...
16:55:06 [INFO] [HawkEye] No updates available for HawkEye
16:55:06 [SEVERE] [HawkEye] Error whilst attempting to get connection: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
16:55:06 [SEVERE] [HawkEye] Error initiating HawkEye database connection, disabling plugin
16:55:06 [INFO] [HawkEye] Version 1.0.5b disabled!
Error whilst attempting to get connection: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
21:39:40 [SEVERE] [HawkEye] Error initiating HawkEye database connection, disabling plugin
21:39:40 [INFO] [HawkEye] Version 1.0.5b disabled!
Where have you placed your server? It may not be able to write to the database.
Few ideas here. For one, are you using an online database, or is it local?
Two, can you put code tags around the config file you posted above?
Three, can you also post config.php, also with code brackets?
~~~
Edit: You can be attempting to connect to an online database, even if you are hosting yourself.
Where have you placed your server? It may not be able to write to the database.
Few ideas here. For one, are you using an online database, or is it local?
Two, can you put code tags around the config file you posted above?
Three, can you also post config.php, also with code brackets?
~~~
Edit: You can be attempting to connect to an online database, even if you are hosting yourself.
PHP:
<?php
///////////////////////////////////////////////////
// HawkEye Interface Config File //
// by oliverw92 //
///////////////////////////////////////////////////
// Edit the config array below with your //
// details. Make sure all strings are //
// escaped. If you can't work this out, //
// ask in the thread on bukkit.org. //
///////////////////////////////////////////////////
$hawkConfig = array(
//Enter your MySQL database information
//Do not change 'dbTable'
"dbHost" => "localhost:3306",
"dbDbase" => "minecraft",
"dbUser" => "root",
"dbPass" => "",
"dbTable" => "hawkeye",
"dbPlayerTable" => "hawk_players",
"dbWorldTable" => "hawk_worlds",
//Set this to the password you want people to have to use to access the interface
//Leave blank for no password
"password" => "",
//Default radius to search for if user supplies a location
"radius" => 30,
//Limit the maximum number of results that can be returned. Do not use quotes
//Set to 0 for no limit
"maxResults" => 0,
//Language pack - default is english.php
//You can create your own based off the english.php file,
//then change the name below to your language file name
"langFile" => "english.php",
//Log queries to log.txt
//Useful to keep track of who is querying what
"logQueries" => true,
//Use forum for authentication?
//Default is false
"forumAuth" => false,
//The relative location for the forum to this file.
//Default is "../forum/"
"forumDir" => "../forum/",
//The type of forum that will be used.
//Default is phpbb3
//Available types are: phpbb3 and smf
"forumType" => "phpbb3"
);
//The user wants to use forumAuth
if ($hawkConfig["forumAuth"])
{
//We need to require the specified forumType. Hopefully we support it (Or the user is using their own file)
require('./forumAuth/'.$hawkConfig['forumType'].'.php');
}
$con = mysql_connect($hawkConfig["dbHost"], $hawkConfig["dbUser"], $hawkConfig["dbPass"]);
if (!$con)
return error("Could not connect to MySQL Database!");
if (!mysql_select_db($hawkConfig["dbDbase"], $con))
return error(mysql_error());
mysql_query("SET NAMES UTF8");
function handleError($errno, $errstr, $errfile, $errline, array $errcontext) {
// error was suppressed with the @-operator
if (0 === error_reporting()) return false;
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
}
Well, you need to have a mySQL database running to have this work. You can probably google mySQL software and find the software to make a mySQL off your own computer.
Can you put code brackets around it?
[fcode]
text
[f/code]
^^That without the F's
<?php
///////////////////////////////////////////////////
// HawkEye Interface Config File //
// by oliverw92 //
///////////////////////////////////////////////////
// Edit the config array below with your //
// details. Make sure all strings are //
// escaped. If you can't work this out, //
// ask in the thread on bukkit.org. //
///////////////////////////////////////////////////
$hawkConfig = array(
//Enter your MySQL database information
//Do not change 'dbTable'
"dbHost" => "localhost:3306",
"dbDbase" => "minecraft",
"dbUser" => "root",
"dbPass" => "",
"dbTable" => "hawkeye",
"dbPlayerTable" => "hawk_players",
"dbWorldTable" => "hawk_worlds",
//Set this to the password you want people to have to use to access the interface
//Leave blank for no password
"password" => "",
//Default radius to search for if user supplies a location
"radius" => 30,
//Limit the maximum number of results that can be returned. Do not use quotes
//Set to 0 for no limit
"maxResults" => 0,
//Language pack - default is english.php
//You can create your own based off the english.php file,
//then change the name below to your language file name
"langFile" => "english.php",
//Log queries to log.txt
//Useful to keep track of who is querying what
"logQueries" => true,
//Use forum for authentication?
//Default is false
"forumAuth" => false,
//The relative location for the forum to this file.
//Default is "../forum/"
"forumDir" => "../forum/",
//The type of forum that will be used.
//Default is phpbb3
//Available types are: phpbb3 and smf
"forumType" => "phpbb3"
);
//The user wants to use forumAuth
if ($hawkConfig["forumAuth"])
{
//We need to require the specified forumType. Hopefully we support it (Or the user is using their own file)
require('./forumAuth/'.$hawkConfig['forumType'].'.php');
}
$con = mysql_connect($hawkConfig["dbHost"], $hawkConfig["dbUser"], $hawkConfig["dbPass"]);
if (!$con)
return error("Could not connect to MySQL Database!");
if (!mysql_select_db($hawkConfig["dbDbase"], $con))
return error(mysql_error());
mysql_query("SET NAMES UTF8");
function handleError($errno, $errstr, $errfile, $errline, array $errcontext) {
// error was suppressed with the @-operator
if (0 === error_reporting()) return false;
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
}
?>
Not your permissions plugin, the literal permissions on the folder "Hawkeye". Out of the minecraft lingo, right click the "Hawkeye" folder and select "properties". From there, go to "security", select "advanced", "Change permissions", click "add", name is "everyone", and give them access to everything. :laugh.gif:
~~~~~~
Edit: This is ALL assuming your using windows, if you have a different OS then post it.
[HawkEye] Starting HawkEye 1.0.5b initiation process...
16:55:05 [INFO] [HawkEye] Using Permissions for user permissions
16:55:05 [INFO] [HawkEye] Performing update check...
16:55:06 [INFO] [HawkEye] No updates available for HawkEye
16:55:06 [SEVERE] [HawkEye] Error whilst attempting to get connection: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
16:55:06 [SEVERE] [HawkEye] Error initiating HawkEye database connection, disabling plugin
16:55:06 [INFO] [HawkEye] Version 1.0.5b disabled!
I don't know what to do. ANY HELP?
log:
lava-bucket: true
water-bucket: true
painting-place: true
pvp-death: true
mob-death: true
other-death: true
command: true
chat: true
join: true
quit: true
door-interact: true
open-container: true
container-transaction: true
item-pickup: true
item-drop: true
button: true
teleport: true
lever: true
sign-place: true
sign-break: true
painting-break: true
flint-steel: true
block-place: true
block-break: true
block-burn: true
block-fade: true
block-form: true
leaf-decay: true
mushroom-grow: true
tree-grow: true
water-flow: false
lava-flow: false
explosion: true
enderman-pickup: true
enderman-place: true
other: true
general:
max-lines: 0
log-item-drops-on-death: false
cleanse-period: 20m
cleanse-age: 0
delete-data-on-rollback: true
log-ip-addresses: true
debug: false
max-radius: 0
tool-block: '17'
default-here-radius: 5
default-tool-command: ''
check-for-updates: true
mysql:
hawkeye-table: hawkeye
port: 3306
player-table: hawk_players
username: root
world-table: hawk_worlds
hostname: localhost
max-connections: 10
password: ''
database: minecraft
ignore-worlds:
- thisworldisignored
- soisthisone
version: 1.0.5b
command-filter:
- /login
- /restartsrv
- /register
block-filter:
- 140
- 150
~~~~
Edit: Nevermind ¬¬
Above you
to
And repost what you get.
(If you even get anything, sometimes this fixes the Sql errors)
Error whilst attempting to get connection: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
21:39:40 [SEVERE] [HawkEye] Error initiating HawkEye database connection, disabling plugin
21:39:40 [INFO] [HawkEye] Version 1.0.5b disabled!
Few ideas here. For one, are you using an online database, or is it local?
Two, can you put code tags around the config file you posted above?
Three, can you also post config.php, also with code brackets?
~~~
Edit: You can be attempting to connect to an online database, even if you are hosting yourself.
PHP:
<?php
///////////////////////////////////////////////////
// HawkEye Interface Config File //
// by oliverw92 //
///////////////////////////////////////////////////
// Edit the config array below with your //
// details. Make sure all strings are //
// escaped. If you can't work this out, //
// ask in the thread on bukkit.org. //
///////////////////////////////////////////////////
$hawkConfig = array(
//Enter your MySQL database information
//Do not change 'dbTable'
"dbHost" => "localhost:3306",
"dbDbase" => "minecraft",
"dbUser" => "root",
"dbPass" => "",
"dbTable" => "hawkeye",
"dbPlayerTable" => "hawk_players",
"dbWorldTable" => "hawk_worlds",
//Set this to the password you want people to have to use to access the interface
//Leave blank for no password
"password" => "",
//Default radius to search for if user supplies a location
"radius" => 30,
//Limit the maximum number of results that can be returned. Do not use quotes
//Set to 0 for no limit
"maxResults" => 0,
//Language pack - default is english.php
//You can create your own based off the english.php file,
//then change the name below to your language file name
"langFile" => "english.php",
//Log queries to log.txt
//Useful to keep track of who is querying what
"logQueries" => true,
//Use forum for authentication?
//Default is false
"forumAuth" => false,
//The relative location for the forum to this file.
//Default is "../forum/"
"forumDir" => "../forum/",
//The type of forum that will be used.
//Default is phpbb3
//Available types are: phpbb3 and smf
"forumType" => "phpbb3"
);
//The user wants to use forumAuth
if ($hawkConfig["forumAuth"])
{
//We need to require the specified forumType. Hopefully we support it (Or the user is using their own file)
require('./forumAuth/'.$hawkConfig['forumType'].'.php');
}
$con = mysql_connect($hawkConfig["dbHost"], $hawkConfig["dbUser"], $hawkConfig["dbPass"]);
if (!$con)
return error("Could not connect to MySQL Database!");
if (!mysql_select_db($hawkConfig["dbDbase"], $con))
return error(mysql_error());
mysql_query("SET NAMES UTF8");
function handleError($errno, $errstr, $errfile, $errline, array $errcontext) {
// error was suppressed with the @-operator
if (0 === error_reporting()) return false;
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
}
?>
Can you put code brackets around it?
[fcode]
text
[f/code]
^^That without the F's
I couldn't find any permissions folder with hawk eye. I use group manager (yes yes I know permissions ex is better). Should I change anything?
~~~~~~
Edit: This is ALL assuming your using windows, if you have a different OS then post it.