Skyauth
Skyauth - A simple auth plugin
This documentation is for : Skyauth v0.7.x
Skyauth is a lightweight auth plugin with a simple register / login system.
Thanks to OutGame for helping me to translate this page ;)
This plugin uses MCStats and the Skyupdater.
Commands and Permissions
/login <password> - skyauth.login - Login on the server. The player will be disconnected when his session expires. (See below.)
/logout - skyauth.logout - Logout from the server.
/register <password> <confirm> - skyauth.register - Register on the server. It will give you an unique code for changing your password later if you want.
/change <code> <password> <confirm> - skyauth.change - Change the password on the server. The code is gave when you register.
/reload-skyauth - skyauth.change - Reload the config / MySQL database.
The permission skyauth.bypass is used for bypassing all the auth system, so be careful when you use it !
Configuration
Please edit the config file only when your server is stopped !
config.yml
SessionLength - The length of each player session. (In sec.)
ForgiveDelay - The delay for forgiving the player when he has entered some wrong passwords. (In sec.)
MaxTry - Set the max try number for /login.
ReloadDelay - The delay between two plugin reloads (for MySQL / config update).
PasswordAlgorithm - The encryption of players passwords. Can be 'PLAIN', 'CHAR', 'MD2', 'MD5', 'SHA-1', 'SHA-256', 'SHA-384' or 'SHA-512'.
CheckForUpdates - Choose if you want to automatically check and update this plugin.
messages.yml
Here you can edit the plugin messages.
If you have a translation and want to share it with people, simply post a comment with a link to your 'messages.yml' file.
Translations :
French by Info4Geek - Skyauth v0.7.x.
Polish by THEkondiMAN - Skyauth v0.7.x.
Czech by MareonCZ - Skyauth v0.7.x.
mysql.yml
Use - Choose if you want to use a MySQL database.
Username - Your MySQL username.
Password - Your MySQL password. We will NOT send your password to any server excepted for commercials usages... No, this is a simple joke !
Host - Your MySQL host. You can have a free database here ;)
Database - Your MySQL database.
Port - Do not touch at this if you do not know your port !
Medias
Donate for Skyauth
Development cost time and time is the money of the life. Please feel free to donate.
@Nathanael_Mtd
D'accord, merci :p (Oui, je suis français !)
EDIT : Tu n'as pas mis les codes couleurs ?
Hey !
I juste created a messages.yml for french language :) http://l.i4g.me/messages.yml
Have a good day :)
@TruDan97
I do not know, try it by yourself (I do not have a BungueeCord server) ;)
I noticed this is on the BungeeCord resources, does this mean that players won't have to re-log in when they switch servers?
@Skyost
Hi esque ca be possible to disable / + register / login to preunuim but then all start to put a secret question and save the ip. Apres if a cracked version that takes its name so that changes ip asked the answer to the question like that if it's just the player who changed the IP it will be able to reconnect and ip will be changed.
@nette18
Please speak english on this page, otherwise, users who do not speak english cannot understand what do you mean ;)
So yes it is possible but BukkitDev do not want to make a support for offline servers.
@Skyost
Slt esque ca serait possible de désactiver le /register + /login pour les preunuim mais alors au tous début mettre une question secrète et de sauvegarder l'ip.Apres si une version cracké qui prend son nom donc qui change d'ip on lui demande de la reponse a la question comme ça si c'est juste le joueur qui a changé d'ip il pourras se reconnecter et son ip seras changé.
@MareonCZ
Thanks ;)
Hi! Your plugin is awesome, simple and usefull, good job.
I also make the czech translation for messages.yml, so you can add it too :) Link Removed: http://www.mediafire.com/download/enf59oqcza0v044/messages.yml
Keep it up!
@THEkondiMAN
Okay, I add this link to the page ;)
I also make the polish messages.yml, so you can add it, too!
https://www.dropbox.com/s/es6cg9s7x2and9s/messages.yml
:D
@THEkondiMAN
Thanks :D
== POLISH VIDEO FOR THIS PLUGIN! ==
http://www.youtube.com/watch?v=5fBf1mmwC0o&feature=youtu.beYOUTUBE!
By THEkondiMAN
@marcuspoo
Yes ;)
@Skyost Is this safe for cracked servers?
Video Tutorial on the Plugin
https://www.youtube.com/watch?v=xy3p8aVKh84
Credits: (AbsintoJ/Skyauth)
@Lord_Drailmon
Sorry, download this one ;)
Hi, I just tried the newest version on my server and I'm getting errors when I try and run it. It also doesn't behave properly in game.
2:30:34 PM [severe] com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
2:30:34 PM [severe] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 2:30:34 PM [severe] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 2:30:34 PM [severe] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 2:30:34 PM [severe] at java.lang.reflect.Constructor.newInstance(Unknown Source) 2:30:34 PM [severe] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) 2:30:34 PM [severe] at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116) 2:30:34 PM [severe] at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343) 2:30:34 PM [severe] at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334) 2:30:34 PM [severe] at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371) 2:30:34 PM [severe] at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163) 2:30:34 PM [severe] at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794) 2:30:34 PM [severe] at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) 2:30:34 PM [severe] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 2:30:34 PM [severe] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 2:30:34 PM [severe] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 2:30:34 PM [severe] at java.lang.reflect.Constructor.newInstance(Unknown Source) 2:30:34 PM [severe] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) 2:30:34 PM [severe] at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378) 2:30:34 PM [severe] at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305) 2:30:34 PM [severe] at java.sql.DriverManager.getConnection(Unknown Source) 2:30:34 PM [severe] at java.sql.DriverManager.getConnection(Unknown Source) 2:30:34 PM [severe] at fr.skyost.auth.AuthPlugin.init(AuthPlugin.java:81) 2:30:34 PM [severe] at fr.skyost.auth.AuthPlugin.onEnable(AuthPlugin.java:40) 2:30:34 PM [severe] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) 2:30:34 PM [severe] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) 2:30:34 PM [severe] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 2:30:34 PM [severe] at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugin(CraftServer.java:284) 2:30:34 PM [severe] at org.bukkit.craftbukkit.v1_6_R3.CraftServer.enablePlugins(CraftServer.java:266) 2:30:34 PM [severe] at net.minecraft.server.v1_6_R3.MinecraftServer.l(MinecraftServer.java:315) 2:30:34 PM [severe] at net.minecraft.server.v1_6_R3.MinecraftServer.f(MinecraftServer.java:292) 2:30:34 PM [severe] at net.minecraft.server.v1_6_R3.MinecraftServer.a(MinecraftServer.java:252) 2:30:34 PM [severe] at net.minecraft.server.v1_6_R3.DedicatedServer.init(DedicatedServer.java:152) 2:30:34 PM [severe] at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:393) 2:30:34 PM [severe] at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) 2:30:34 PM [severe] Caused by: java.net.ConnectException: Connection refused: connect 2:30:34 PM [severe] at java.net.DualStackPlainSocketImpl.connect0(Native Method) 2:30:34 PM [severe] at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) 2:30:34 PM [severe] at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) 2:30:34 PM [severe] at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) 2:30:34 PM [severe] at java.net.AbstractPlainSocketImpl.connect(Unknown Source) 2:30:34 PM [severe] at java.net.PlainSocketImpl.connect(Unknown Source) 2:30:34 PM [severe] at java.net.SocksSocketImpl.connect(Unknown Source) 2:30:34 PM [severe] at java.net.Socket.connect(Unknown Source) 2:30:34 PM [severe] at java.net.Socket.connect(Unknown Source) 2:30:34 PM [severe] at java.net.Socket.<init>(Unknown Source) 2:30:34 PM [severe] at java.net.Socket.<init>(Unknown Source) 2:30:34 PM [severe] at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254) 2:30:34 PM [severe] at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292) 2:30:34 PM [severe] ... 27 more
@LeeoSantos
Why do you want a line separator ?
If you want MySQL, you can vote at the poll :) At the moment, I can not add it because all people do not want it :/
good plugin, please add
mysql support and support code \n (newline)