Login
#1
Login is a security plugin for Cuberite. It requires a player to log in before they can do any action on the server. This way people can't login on the account of an admin or moderator. This would be particuarly useful for servers that don't use the traditional Minecraft authentication.

Configuration
If a configuration file doesn't exist yet Login will create one with the default settings. Currently there are 2 things you can configurate
  • Storage: This can be "sqlite" (default). If choosen for sqlite the plugin will save everything in an sqlite database.


  • LoginMessageTime: This is the time in ticks (50 msec) between an "You have to login" message.

Commands

General
  • /changepass - Change your password
    Permission required: login.changepass

    /login - Login into the server
    Permission required: login.login

    /register - Register an account
    Permission required: login.register

    /removeacc - Remove an account from the database
    Permission required: login.removeacc


Permissions
  • - login.changepass - Allows a player to change his password.
    • Commands affected:
      - /changepass
    • Recommended groups: Default
    - login.login - Allows a player to log in
    • Commands affected:
      - /login
    • Recommended groups: Default
    - login.register - Allows a player to create an account for himself.
    • Commands affected:
      - /register
    • Recommended groups: Default
    - login.removeacc - Allows a player to remove an account
    • Commands affected:
      - /removeacc
    • Recommended groups: Admins
Source: here
Download: here
Reply
Thanks given by: Antonio , LogicParrot , Seadragon91
#2
Might be worth noting the minimum server revision on which the plugin works, especially if it's only the latest one Smile

Also, if the player enters bad password 3 times, is he just kicked, or is his name / IP banned? That would be a reasonable course of action.
Reply
Thanks given by:
#3
(02-22-2013, 01:55 AM)xoft Wrote: Might be worth noting the minimum server revision on which the plugin works, especially if it's only the latest one Smile
done Smile thanks for pointing that out Wink
Quote:Also, if the player enters bad password 3 times, is he just kicked, or is his name / IP banned? That would be a reasonable course of action.
the player gets kicked. i thought about ban or ip ban but i was too lazy to implement that ;P
Reply
Thanks given by:
#4
Tempban, maybe calling the core functions with your own paramaters?
Reply
Thanks given by:
#5
i tried calling my BanIP plugin and it didn't work so i have to look a bit better in this page: https://forum.cuberite.org/showthread.php?tid=579
Reply
Thanks given by:
#6
Does this plugin replace tAuthentication?
Reply
Thanks given by:
#7
i think so. but if someone prefers tAuthentication he can still use that. I found a few bugs in this plugin so i'm currently fixing those.
Reply
Thanks given by:
#8
OK, can you put it on github so it is easier for me to contribute?
Reply
Thanks given by:
#9
https://github.com/STRWarrior/Login
Reply
Thanks given by:
#10
Thanks Smile

I get this error: LUA: Plugins/Login/main.lua:217: attempt to index field '?' (a nil value) when I try to register. Is this a known bug?
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)