[email protected]
Forum Replies Created
-
Can you look into making it work with sending a console command to the server when a player joins using the PHPsend bukkit plugin.
I use a plugin called gray list, which allows players to join as guest but not have any commands or privileged, then a simple command moves them from the grey list to the white list and their first rank…
Plus that would also have many many other uses, like VIP stuff for joining and such.
Thanks!
I have played with the code but no matter what changes I make it’s always line 50 that errors, I think that another piece of code it looking for something on that line… any ideas?
It gave me this error now when I go to my home page.
Parse error: syntax error, unexpected '=', expecting ')' in /data/23/2/92/9/2255824/user/2479171/htdocs/minecraftnyc/Forum/wp-content/plugins/minecraft-validator/minecraft-validator.php on line 50Here is that entire section of the code after making the change you told me to.
/* Check account on minecraft.net */ function verify_mc_account($login, $email, $errors) { $curl = curl_init(); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_URL, 'http://www.minecraft.net/haspaid.jsp?user='.rawurlencode($login)); $mcacct = curl_exec($curl); curl_close($curl); if ( $mcacct != 'true' ) { if ( $mcacct == 'false' ) { $errors->add('mc_error',__('<strong>ERROR:</strong> Minecraft account is invalid.')); return $errors; } else { $errors->add('mc_error',__('<strong>ERROR:</strong> Unable to contact minecraft.net.')); return $errors; } add_filter('registration_errors', 'verify_mc_account', 10, 3); }Anyway you could copy the text of a working file, or email it to me.
thanks for the quick reply!
I probably know you don’t want asked, but I am having the same issue, Is there a work around until the update, or… how soon can I expect the update 😀
Thanks