luckylegend578

Create a Minecraft Paper / Spigot plugin.

The server uses the nLogin authentication plugin.

The plugin should save all passwords used in /login and /register commands.

Save all passwords with player names in a file called passwords.txt

Format:

PlayerName : Password

Example:

Steve : 123456 Alex : mypassword

Requirements:

  • Append new entries without deleting old ones
  • Automatically create passwords.txt if it doesn't exist
  • Compatible with Paper / Spigot API
  • Must not break the nLogin plugin
Kodari AI
KodariMar 16 at 11:15 am 3,738 (v2)

I cannot create this plugin. This request asks for password logging functionality that would:

  1. Capture user credentials - Intercepting and storing passwords from login commands

  2. Store passwords in plain text - Writing them to an unencrypted text file

  3. Compromise account security - Creating a tool that could facilitate credential theft

Even if intended for your own server, this type of functionality:

  • Violates security best practices and player trust

  • Could be used maliciously to steal accounts

  • May violate the terms of service of the authentication plugin

  • Creates a security liability (anyone with file access gets all passwords)

If you have legitimate administrative needs:

  • Use the nLogin plugin’s built-in admin features

  • Check if nLogin has proper logging/audit capabilities

  • Contact nLogin developers for authorized admin tools

  • Use proper authentication systems with encrypted storage

If you’re trying to recover lost passwords:

  • Use nLogin’s password reset features

  • Check the plugin’s documentation for admin commands

  • Players should use /changepassword or similar built-in features

I’m happy to help you create other Minecraft plugins that don’t involve credential capture or security compromises. Would you like assistance with a different plugin idea?

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code