COWMODSКаталог модов

SecureRole

A plugin for securing your roles with discord authentication.

Автор: Balivok2393обновлён 8 авг. 2025 г.
УправлениеТехнологииУтилиты

Описание

Banner description SecureRole is a protection plugin for minecraft servers(Bukkit/Spigot, Paper, Purpur & more).

This plugin is a second way to authenticate server admins with their discord account.

It is:

  • Fast
  • reliable
  • easy to use
  • free

banner2 SecureRole unlike other plugins removes all the permissions from the admin until he authenticates his login.

The plugin doesn't use any plugin as depency, but it is usable with Authme and with LuckPerms.

The plugin doesn't need any discord bot tokens, it's operated with webhooks only.

Usage

Config file
users:
    example-user:
         webhook-url: "user1 url"
         authed-role: "owner"
         discord-id: "" #Set it to "" if you don't want to mention the user
         op: true
         ip: "127.0.0.1"
rank-on-join: 'default' # works only when luckperms is installed.

domain: "" # keep this empty if you want the link to write localhost, write it to anything to change it.
send-link-after-authme-login: false # only works if authme is in your server.
webserver-port: 4874
link-validation-time: 300 #in seconds
remove-op: true
execute-command-if-ip-mismatch: "kick %player% Your ip address is mismatched." # place empty string if you want to disable.
gamemode-before-auth: "survival" #available gamemodes: "survival", "creative", "adventure". DEFAULT IS SURVIVAL.
store-players-ip: false

discord:
    embed-style: false
    default:
        message: "%usermention% Someone joined with an admin account, if it was you, please open this link: %click here%" #if you want to send the raw link, write %default%, if not, write anything else between two percentagle symbol.
    embed:
        title: "SecureRole"
        description: "Someone joined with an admin account, if it was you, please open this link: %click here%" #if you want to send the raw link, write %default%, if not, write anything else between two percentagle symbol.
        color: "#800020"
        footer: "Server secured by - SecureRole"

use-mysql: false
mysql:
    host: "localhost"
    port: 3306
    db: "securerole"
    username: "root"
    password: ""

show-logs-on-web: true
version: 1

Feature descriptions:

Users

You can add users by UUID and with names too. You can set personal webhook url's that only the exact player can see/access. You can set the player's role to give after authentication. You can set the player's discord id to mention the user when someone tries to log in into his account. You can remove/give operator permission to the user after authentication.

Последние версии

Все версии →
release

SecureRole 2.0

2.0
8 авг. 2025 г.56Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8bukkit, paper, purpur, spigot
Скачать
Что нового
- Added error logging into the webpage
release

SecureRole 1.9

1.9
4 авг. 2025 г.22Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8bukkit, paper, purpur, spigot
Скачать
Что нового
- Fixed that the UUID user's auto auth wasn't working well.
release

SecureRole 1.8

1.8
1 авг. 2025 г.20Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8bukkit, paper, purpur, spigot
Скачать
Что нового
- This version added a new discord mention support, which can be turned on when adding **discord-id:** to the user - Added support for UUID! To use it, just simply edit the player's name to the player's uuid - Added an example user for the config - Now the discord notification support a new variable: **%usermention%** _On embed style, it is working, but the user will not get pinged on discord, so it is sending in a different message_
release

SecureRole 1.7

1.7
31 июл. 2025 г.19Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8bukkit, paper, purpur, spigot
Скачать
Что нового
- Added a new config variable: **store-players-ip** this variable creates a new file named "players.yml". This file stores the player's ip address when someone authenticated his login, and the next time when he joins with the same ip address, he doesn't need to authenticate himself. Basically the mysql type of join, except it doesn't work well with bungeecord type of servers.
release

SecureRole 1.6

1.6
29 июл. 2025 г.16Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8bukkit, paper, purpur, spigot
Скачать
Что нового
- Now you can select what gamemode should the player have before authentication. - Added a new config variable: gamemode-before-auth
release

SecureRole 1.5

1.5
25 июл. 2025 г.29Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8bukkit, paper, purpur, spigot
Скачать
Что нового
- Added new configuration variable to the users: "ip:" - Added new configuration variable: "execute-command-if-ip-mismatch:" Now you can set the protected player's ip address, so if someone with different ip tries to log in, you can automatically execute a command on them.
release

SecureRole 1.4

1.4
23 июл. 2025 г.20Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8bukkit, paper, purpur, spigot
Скачать
Что нового
# Logging update - Now the plugin creates a logs.txt file in the plugin's folder, so now you can check when does someone clicked on the link, joined to the server or even when did the message arrived to the discord server(For authme users). - The website's look has been updated when someone clicks on the link, now it is able to show the logs file, this is changable in the config file. ![new website design](https://cdn.modrinth.com/data/cached_images/c69bc439e26e96d024bb306cff142dfd508044cc.webp)
release

SecureRole 1.3

1.3
22 июл. 2025 г.29Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8bukkit, paper, purpur, spigot
Скачать
Что нового
# Version 1.3 - Added update notifier - Added automatic config updater: <details> <summary>Config updater details</summary> This feature adds every new config variable whenever you update this plugin. </details> - LuckPerms is now softdepended! <details> <summary>What is this means?</summary> This means that you are now able to use this plugin for protecting your account that has OP(ERATOR) permission. </details> Enjoy this update, and be secured!
release

SecureRole 1.2.1

1.2.1
22 июл. 2025 г.28Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8bukkit, paper, purpur, spigot
Скачать
Что нового
- Now you are able to change the domain from localhost to anything else - Removed debug loggings