LokiAuth
Simple auth plugin and working in web with permissionsEx.
version 0.5.3
Futures:
/logout - for logout
/isreg <nickname> - test for site(lokiauth.isreg)
Example PHP:
Configuration:
Download Versions log:
0.5.4 [1.2.5 R5.0/1.3.1 R2.0] 11.09.2012 17:08:22
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.
- Just type your password to login.
/logout - for logout
/isreg <nickname> - test for site(lokiauth.isreg)
Example PHP:
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]...
Download Versions log:
0.5.4 [1.2.5 R5.0/1.3.1 R2.0] 11.09.2012 17:08:22
- Fixed some bugs.
- Removed login and register commands.
- Added message for /logout.
- First version on bukkit
@o0Julia0o
On my server plugin works great. (1.5.2)
can you update it for 1.5 plz.. thx :)
Where can i find the passwords? Someone forgot theirs.
Not good enough English.. Or this would be perfect. "If this is your first time joining, Press the Chat button, and type in your password, Then press space and type it in again to confirm it." "If you already have done this, Just type in your password"
You should make the config file editable.