Welcome Mat (Auth)

A simple, yet configurable auth plugin.

38

Quick challenge

How far can you run before the mobs catch you?

Welcome Mat (Auth)

Welcome Mat

> Contact: [email protected] > A simple, yet configurable auth plugin

🔴 Important 🔴

- The plugin has only been tested with MariaDB (v11.8.2) and SQLite. - The `config.yml` WILL change on first load (the sqlite file path will be set). - The plugin doesn't use commands for authentication (eg.: `/login` or `/register`), instead the user has to send their password as a chat message. - The plugin uses SHA-256 for password hashing.

📜 Commands and Permissions 📜

- `/welcomemat`: Administrator commands and information about the plugin - Permission: `welcomemat.welcomemat.use` - Usage: `/welcomemat` - Aliases: - `/wm` - Subcommands: - `delete`: Delete a user's account - Usage: `/welcomemat delete <player_name>` - Permission: `welcomemat.welcomemat.delete` - `change_password`: Change a user's password - Usage: `/welcomemat change_password <player_name> <new_password>` - Permission: `welcomemat.welcomemat.change_password.others` - `reload`: Reload the configuration file - Usage: `/welcomemat reload` - Permission: `welcomemat.welcomemat.reload` - `/change_password`: Changes the user's password - Usage: `/change_password <new_password>` - Permission: `welcomemat.welcomemat.change_password.self` - Aliases: - `/changepassword` - `/changepass` - `/cp`

Other

Default `config.yml`

```yml

╭──────────────────────────────────────────────────────────────────╮

│ Welcome Mat │

├──────────────────────────────────────────────────────────────────┤

│ If database mode is enabled, the sqlite file is ignored. │

│ Only MariaDB (v11.8.2) has been tested. │

╰──────────────────────────────────────────────────────────────────╯

database: enabled: false host: '127.0.0.1' port: 3306 user: password: database: ''

sqlite_jdbc: ''

auto_reload_config: false

functionality: kick_player_on_password_change: true kick_player_on_account_deletion: true kick_player_if_config_is_incorrect: true

messages: account_deleted: text: 'Your account has been deleted.' color: 'FF0000' password_changed: text: 'Your password has been changed.' color: 'FF0000' register: title: text: 'Register!' color: '0F7173' subtitle: text: 'Write your password to chat!' color: 'F05D5E' login: title: text: 'Log in!' color: '0F7173' subtitle: text: 'Write your password to chat!' color: 'F05D5E' ```

ADS