UserLogin 1.4.0

A very simple to use login system for your server!

  1. ElCholoGamer
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    -----------------------------------------------------------------------------------------------

    UserLogin

    About:

    I think we can all agree in that hackers sure are a great pain for server administrators. A common problem that happens in offline servers is hackers joining the server as an operator's account, and it can cause a lot of damage. (Trust me, it happened to me twice)

    If so, boy do I have the solution for you! This simple to use plugin integrates a login system into your server. It automatically teleports a player to the defined login spawn point as soon as they join the server, and sends them a message to register or login with their password, depending on if they're new to the server or not. When the player registers their account, or logs in, they are automatically teleported to a defined lobby spawn.

    All of this prevents hackers from hacking into an operator's account and using their privileges to damage the server, as they will now require a password first to join.

    But wait, since they are joining as operators, can't they use operator commands in the login spawn too?

    Well, that also has a solution. See, the plugin takes away a player's operator privileges as soon as they leave the server, and only grants them said permissions when they log in with their password.That way, no hacker can use operator commands before logging in.



    Features:
    - Login and register commands for players to join the server
    - Fully customizable login and lobby spawn coordinates, made easy with commands
    - Fully customizable chat messages for everything that the plugin includes, in messages.yml
    - Automatic operator permissions takeaway and grant
    - Time-out functionality to prevent players from staying AFK in the login zone. [Fixed in last update]
    - Configurable permissions assignable to non-operators
    - Easy to configure playerData.yml file, where all passwords, player IDs, names and operator permissions are stored
    - Option to enable password encryption, so that not even the administrator knows the players' passwords!
    - Option to disable player movement before they log in.
    - Option to disable chat messages from non-logged in players



    Player commands:
    - /login <password>: If registered and the password is correct, it will teleport the player to the defined lobby coordinates
    - /register <password> <password>: If the player isn't registered, and both passwords match, the command will register them in playerData.yml and teleport the player to the defined lobby coordinates.



    Admin commands:
    - /setlogin: Sets the login spawn coordinates at the player's current position
    - /setlobby: Sets the lobby spawn coordinates at the player's current position
    - /reloadlogin: Reloads the three configuration files. (config.yml, messages.yml and playerData.yml)



    Permissions:
    - userLogin.setLogin: Permission for /setlogin command
    - userLogin.setLobby: Permission for /setlobby command
    - userLogin.reloadlogin: Permission for /reloadlogin command




    config.yml configuration:
    Code (YAML):
    #-------------------------------------------------
    #Configuration file for UserLogin plugin
    #For any doubts, feel free to send me a message
    #on my Discord (ElCholoGamer#3291)
    #-------------------------------------------------
    loginSpawn
    :
      world
    : default
      x
    : 0
      y
    : 70
      z
    : 0
      yaw
    : 0
      pitch
    : 0
    lobbySpawn
    :
      world
    : default
      x
    : 0
      y
    : 70
      z
    : 0
      yaw
    : 0
      pitch
    : 0
    timeOut
    :
      timeOutEnabled
    : true
      timeOutSeconds
    : 60
    passwords
    :
      encryptPasswords
    : false
      minimumCharacters
    : 4
    restrictions
    :
      disableChatBeforeLogin
    : true
      disableOpWhenQuit
    : true
      disableMovement
    : false
      loginDisabledCommands
    :
       - tell
        - help
        - trigger
        - tm
        - seed
        - msg
    teleport
    :
      lobbyTeleportOnLogin
    : true
      loginTeleportOnJoin
    : true
    - loginSpawn (and subcategories): They can be modified to manually configure the login spawn coordinates and world.
    - lobbySpawn (and subcategories): Like loginSpawn, these can be modified to change the lobby spawn coordinates and world.
    - timeOutEnabled: Can be configured to enable or disable time-out player kicking
    - timeOutSeconds: Time (in seconds) that players can stay in the login world before being kicked if time-out kicking is enabled.

    - encryptPasswords: Enable or disable password encryption.
    - minimumCharacters: The minimum amount of characters a new player's password requires.
    - disableChatBeforeLogin: Determines wether to block chat messages from non-logged in players.

    - disableOpWhenQuit: If enabled, operators will no longer have such permissions when they quit, and only regain them when they log in with their password.
    - disableMovement: Determines wether to restrict movement for non-logged in players or not.
    - loginDisabledCommands: The list of commands disabled for non-logged in players.

    - lobbyTeleportOnLogin: Enable or disable teleporting players to the lobby coordinates when they log in or register.
    - loginTeleportOnJoin: Determines wether to teleport a player to loginSpawn on join or not.



    Anyways, that's all for this plugin. If you have any doubts or suggestions, feel free to make a comment, or contact me on Discord. (ElCholoGamer#3291)


    -----------------------------------------------------------------------------------------------

Recent Updates

  1. Update 1.4.0
  2. Update 1.3.1
  3. Update 1.3

Recent Reviews

  1. CroaBeast
    CroaBeast
    4/5,
    Version: 1.3.1
    It will be cool if has BungeeCord support to connect all your servers in the system login and not login in every server of a network. Hope you can add that. Good luck dude
    1. ElCholoGamer
      Author's Response
      Yeah, I was thinking of that. It will take some time, though. Thanks for the suggestion!
  2. SebaSpel
    SebaSpel
    5/5,
    Version: 1.2.3
    Hello, it's me again, I want to comment on some things, when you leave the server and enter again, it sends you to the loginspawn even though the lobbyTeleportOnLogin option is disabled, and another thing is that users can write and place commands without having been logged in
    1. ElCholoGamer
      Author's Response
      Thanks for the feedback! I just released a new version that fixes the bugs you mention. You can now use "loginDisabledCommands" to set which commands you want to block for non-logged in players.
  3. xlLord_Sheenlx
    xlLord_Sheenlx
    5/5,
    Version: 1.2.3
    The author is super fast responsive, we found a bug and in like 2 minutes he fixed it. Recommended.
  4. SebaSpel
    SebaSpel
    5/5,
    Version: 1.2
    I like it, it's easy to use, but even if you enable or disable the TimeOut option, it takes you out of the server and says "disconnect timeout"
    1. ElCholoGamer
      Author's Response
      Could you tell me more about the problem?