Simple auth plugin and working in web with permissionsEx. version 0.5.3 Futures: * Single file with password for each player. * If one player yet loginned, no one can login with this nickname. * Nickname can entry only latin, numbers or underscore. * On login every players in radius 150 meteres heare door sound. * Multy account protect. Commands(permissions): /login <password> - for login /registration <password> - for register /logout - for logout /isreg <nickname> - test for site(lokiauth.isreg) Example PHP: Code: <? if(isset($_GET['pass'])&&isset($_GET['nick'])&&$_GET['pass']=="qwerty12345") { mysql_connect("database", "name", "pass"); mysql_select_db("name"); $query="SELECT id FROM table WHERE nick=\"".strtolower($_GET['nick'])."\" LIMIT 1"; if(!empty(mysql_fetch_array(mysql_query($query), MYSQL_NUM))) { echo "true"; //user is regged } else { echo "false"; } } else { echo "error"; } ?> Configuration: * enable: true - is plugin enabeled. * online: - * enable: false - is web function enabled. * unregistered: default - group of player(Pex) from what plugin move player(also you can use permission lokiauth.fromthis). * registered: success - group of player(Pex) to what plugin move player after login. * regpage: http://yandex.ru/ - link for web page from what plugin get information*. * regpass: qwerty12345 - password for web page. - effects: true - enabling virtual lightstrike on player login. - anti-multiakkount: true - multy account protect, need LokiBan 0.1.6 or higher. - lang: ru - language ru or en. - ips: - nickname and IP list for autologin with static IPs. * nickname: ip - if nickname and ip mathc with one of this list, player needn't prompt login/password . * [nickname2: ip]... * - When player login with command /login, plugin send GET query to page regpage, where nick - player nickname, pass - regpass. If first char of page is 't', then plugin test having player permission lokiauth.fromthis or his entry group unregistered(from config) and move him to group registered(from config). Page format - UTF-8 <Edit by Moderator: Redacted mediafire url> <Edit by Moderator: Redacted mediafire url> Versions log: <Edit by Moderator: Redacted mediafire url> * First version on bukkit
Hello, I've downloaded and pasted the LokiAuth0.5.3.jar in "plugins" folder but when I run the server it won't run the plugin, I don't see any msg on the console about the plugin.