️ NS Security - Advanced Login, Map Captcha & Admin GUI [1.21.x] ️ icon

️ NS Security - Advanced Login, Map Captcha & Admin GUI [1.21.x] ️ -----

NSSecurity: Secure Login, Managed via GUI



User Commands

  • /register <Password> <ConfirmPassword> (Alias: /reg)
    • Function: Allows a new player to register an account on the server by setting their password. If enabled in the config, this will trigger the map captcha verification process before registration is fully completed.
  • /login <Password> (Alias: /l)
    • Function: Allows a registered player to log in to their account using their password. If the daily captcha is enabled and required for the player, this will trigger the map captcha verification after successful password entry. Upon successful login (and captcha if needed), the player is teleported back to their original location (if a holding location was set).
Admin Commands (/nsadmin or /nsa)

  • /nsadmin help
    • Function: Displays a list of available /nsadmin subcommands and their basic usage to the command sender. Access requires nssecurity.admin permission.
  • /nsadmin reload
    • Function: Reloads the plugin's config.yml, the currently active language file (lang_*.yml), and the playerdata.yml cache from disk. It also forces all currently online players who are authenticated to log out internally (setting their state to NEEDS_LOGIN) and requires them to use /login again. They will be teleported to the holding location if set. Requires nssecurity.admin.reload permission.
  • /nsadmin setlanguage <LangCode>
    • Function: Changes the language used for all plugin messages instantly. <LangCode> should be the code of an available language file in the plugins/NSSecurity/lang/ folder (e.g., en, vi, zh). Requires nssecurity.admin.setlanguage permission.
  • /nsadmin setholdlocation
    • Function: Sets the location where unauthenticated players will be teleported to upon joining and held until they authenticate. The command saves the administrator's current location (world, coordinates, yaw, pitch) to the config.yml. Requires nssecurity.admin.setholdlocation permission and must be run by a player in-game.
  • /nsadmin manage
    • Function: Opens a GUI for the administrator, displaying a paginated list of all players registered in the playerdata.yml. Clicking a player's head in this list opens a detailed management GUI for that specific player. Requires nssecurity.admin.manage permission.
  • /nsadmin resetpassword <PlayerName> [NewPassword]
    • Function: Resets a registered player's password.
      • If [NewPassword] is provided: Sets the player's password directly to the new one (after hashing).
      • If [NewPassword] is not provided: Removes the player's current password hash from the data file, forcing them to use /register again the next time they join (they will appear as unregistered to the login system).
    • Requires nssecurity.admin.resetpassword permission.
Resource Information
Author:
----------
Total Downloads: 69
First Release: May 4, 2025
Last Update: May 4, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings