Vijos Bukkit Auth

An HTTP(s)-API-based craftbukkit authorization plugin for Vijos.org
Alternatives To Vijos Bukkit Auth
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Rakkess1,103
a month ago20November 01, 20219apache-2.0Go
Review Access - kubectl plugin to show an access matrix for k8s server resources
Mosquitto Go Auth391
a month ago6March 11, 20216mitGo
Auth plugin for mosquitto.
Go Plugins Helpers2945745a year ago3February 11, 201628apache-2.0Go
Go helper packages to extend the Docker Engine
Wp Graphql Jwt Authentication287
a day ago10May 16, 202263gpl-3.0PHP
Authentication for WPGraphQL using JWT (JSON Web Tokens)
Caddy Authz219
12 years ago3July 03, 20191apache-2.0Go
Caddy-authz is a middleware for Caddy that blocks or allows requests based on access control policies.
Docker Casbin Plugin210
4 months agoapache-2.0Go
Docker Casbin Plugin
Authz200
3 years agoJanuary 12, 201610apache-2.0Go
Docker Authorization Plugin
Rabbitmq Auth Backend Http196
2 years agootherMakefile
HTTP-based authorisation and authentication for RabbitMQ
Capacitor Oauth2170
3 months ago47October 04, 201836mitJava
Generic Capacitor OAuth 2 client plugin! Stop the war in Ukraine!
Negroni Authz153
5 years agoMay 24, 2021mitGo
negroni-authz is an authorization middleware for Negroni
Alternatives To Vijos Bukkit Auth
Select To Compare


Alternative Project Comparisons
Readme

vijos-bukkit-auth

vijos-bukkit-auth is a CraftBukkit plugin originated from MineLoginPlugin.

Features

  • HTTP(s)-API-based authorization
  • Customize authorization URI

Configuration

Login:
  AtSpawn: true                         # teleport to spawnpoint
API:
  HashMethod: md5                       # hash method (md5/sha1/sha256/plain)
  CheckCredentials: false               # check SSL credentials
  StatusURI: https://localhost/status   # query user existance
  LoginURI: https://localhost/login     # check password

API

Your HTTP-API should return just one line with an integer.

StatusAPI

  • 0: exists
  • 1: banned
  • 2: user not found

Example:

<?php

if (!isset($_POST['username']))
{
    echo '2';
    exit();
}

$result = \user\is_exists($_POST['username']);

if ($result === true)
    echo '0';
else
    echo '2';

?>

LoginAPI

  • 0: OK
  • 1: password or username mismatch

Example:

<?php

if (!isset($_POST['username']) || !isset($_POST['hash']))
{
    echo '1';
	exit();
}

$result = \user\login_with_md5($_POST['username'], $_POST['hash']);

if ($result === true)
	echo '0';
else
	echo '1';

?>

TODO

Please be free to contribute to this project!

  • Permission
  • Sessions
  • Combine multiple notice messages
  • "Logged in from another location" protection

Licence

GPL v3

Author

Breezewish

Popular Plugin Projects
Popular Authorization Projects
Popular Libraries Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Java
Plugin
Http
Auth
Authorization
Bukkit