The best plugin to protect anarchy servers and mc servers in general against op attacks.

Overview

AdminSecure

The best plugin to protect anarchy servers and mc servers in general against op attacks

How does it work?

When the server detects a player has been oped or has gamemode creative or special permissions it sends a message to the webhook you configured. Then, it tells the player to input the code sent to the webhook and if the code is valid, it verifies the player but if the code isn't valid, it kicks the player(or what you told the plugin to do).

Commands

  • /adminsc-reload -> Reload the configuration.
  • /adminsc <code> -> Verify command.
  • /adminsecure -> Info command.

Permissions

  • adminsecure.command.adminsc (/adminsc command permission)
  • adminsecure.code (Main webhook trigger permission)

Config

discord_webhook: 'https://discord.com/api/webhooks/YOUR/DISCORD_WEBHOOK_HERE' # Your discord webhook.
messages:
  prefix: '&8[&cAdmin&3Secure&8]&r ' # Message prefix.
  auth_wait: '&6Please wait...' # Connecting message.
  auth_error: '&cThere was an error trying to communicate to the webhook! Please rejoin or check config!' # Error message.
  auth_request: "&6We need to verify it's you, please look at your administration discord and put the following command &e/adminsc <code>" # Code request messsage.
  auth_valid: "&aWe have successfully verified it's you! &6&nHave fun!" # Valid code message.
  auth_invalid: "&cThe code was invalid!" # Invalid code message.
login_persistence: # Send a message every X ms.
  enabled: true
  delay: 5000
commands:
  auth_valid: # Commands sent when valid code.
    - ''
  auth_invalid: # Commands sent when invalid code.
    - 'kick %player_name% &cThe code was invalid!'
security_code: # Security code config.
  max_number: 9999999 # Max code number.
  allowed_commands: # Allowed commands while verification process.
    - login
    - l
    - reg
    - register
  join_config: # Config when joining.
    apply_blindness: true # Apply blindness to player when joining.
    play_sound: true # Play a sound when joining.
    check_ip: false # Check if the ip is already verified.
    triggers:
      gamemode: true # Trigger webhook when gamemode.
      op: true # Trigger webhook when op.
      permissions: # Trigger webhook when permissions. (Apart from the main one)
        enabled: true 
        perms: # Permissions that trigger the plugin
          - worldedit.*
          - minecraft.command.teleport
          - minecraft.command.tp
          - minecraft.command.gamemode
          - minecraft.command.op
  responses: # Webhook messages.
    auth_request:
      content: # Content of webhook message.
        0:
          type: EMBED
          content: # Content of embed.
            0:
              type: TITLE
              content: AdminSecure
            1:
              type: DESCRIPTION
              content: 'Security Code requested!'
            2:
              type: FIELD
              content:
                title: Player
                content: '%player_name%'
                inline: true
            3:
              type: FIELD
              content:
                title: Code
                content: '%new_code%'
                inline: true
            4:
              type: COLOR
              content: YELLOW
            5:
              type: AUTHOR
              content:
                author: AdminSecure
                url: https://github.com/PK2-Stimpy
                imageUrl: https://i.imgur.com/LR2A6vq.png
            6:
              type: FOOTER
              content:
                footer: PK2_Stimpy
                url: https://i.imgur.com/LR2A6vq.png
    auth_valid:
      content:
        0:
          type: EMBED
          content:
            0:
              type: TITLE
              content: AdminSecure
            1:
              type: DESCRIPTION
              content: 'Security Code was correct!'
            2:
              type: FIELD
              content:
                title: Player
                content: '%player_name%'
                inline: true
            3:
              type: COLOR
              content: GREEN
            4:
              type: AUTHOR
              content:
                author: AdminSecure
                url: https://github.com/PK2-Stimpy
                imageUrl: https://i.imgur.com/LR2A6vq.png
            5:
              type: FOOTER
              content:
                footer: PK2_Stimpy
                url: https://i.imgur.com/LR2A6vq.png
    auth_invalid:
      content:
        0:
          type: EMBED
          content:
            0:
              type: TITLE
              content: AdminSecure
            1:
              type: DESCRIPTION
              content: 'Security Code was incorrect!'
            2:
              type: FIELD
              content:
                title: Player
                content: '%player_name%'
                inline: true
            3:
              type: COLOR
              content: RED
            4:
              type: AUTHOR
              content:
                author: AdminSecure
                url: https://github.com/PK2-Stimpy
                imageUrl: https://i.imgur.com/LR2A6vq.png
            5:
              type: FOOTER
              content:
                footer: PK2_Stimpy
                url: https://i.imgur.com/LR2A6vq.png
Webhook messages content
Types
  • AVATAR_URL
    • content = Url.
  • CONTENT
    • content = Message content.
  • EMBED
    • content = Embed object list.
  • TTS
    • content = true/false.
  • USERNAME
    • content = Webhook username.
Embed object types
  • AUTHOR
  • COLOR
    • content = Embed color. (Ex. RED, BLUE, BLACK, PINK)
  • DESCRIPTION
    • content = Description.
  • FIELD
    • content
      • title = Title of field.
      • content = Content of field.
      • inline = true/false. (Field goes inline)
  • FOOTER
    • content
      • footer = Footer message.
      • url = Footer image url.
  • IMAGE
    • content = Image url.
  • THUMBNAIL
    • content = Thumbnail image url.
  • TITLE
    • content = Embed title.
  • URL
    • content = Embed url.
You might also like...

AspectJ Maven Plugin

AspectJ Maven Plugin Overview This plugin weaves AspectJ aspects into your classes using the AspectJ compiler ajc. Typically, aspects are used in one

Dec 9, 2022

Flutter plugin to listen to the process text intent stream.

Flutter plugin to listen to the process text intent stream.

Flutter Process Text Plugin Compatibility ✅ Android ❌ iOS (active issue: iOS support) Show some ❤️ and ⭐ the repo Why use Flutter Process Text? Flutte

Jul 1, 2022

This simple Android Studio plugin includes keyboard shortcuts for many common actions.

This simple Android Studio plugin includes keyboard shortcuts for many common actions.

Hotkeys This simple Android Studio plugin includes keyboard shortcuts for many common actions. Features • Build process • Contribute • License Feature

Apr 26, 2022

A simple but helpful fight plugin with rank support

RankFight A simple but helpful fight plugin with rank support HighLights PlceholderAPI Support %rankfight_rank% %rankfight_credit% %rankfight_shopCred

Nov 20, 2021

Source code of Trend's Manhunt plugin

Trend's Manhunt This is the official repository of my Manhunt plugin. Contribution You are allowed to contribute, but NOT to yoink all of my plugin co

Oct 19, 2022

A Flutter plugin to extract waveform data from an audio file suitable for visual rendering.

A Flutter plugin to extract waveform data from an audio file suitable for visual rendering.

just_waveform This plugin extracts waveform data from an audio file that can be used to render waveform visualisations. Usage final progressStream = J

Dec 4, 2022

GMC-Tools - Plugin with basic tools for Minecraft server administrator

GMC-Tools - Plugin with basic tools for Minecraft server administrator. Currently we do not support configuration files and we do not recommend using this plugin on production servers.

Jan 14, 2022

Googleads-mobile-flutter - A Flutter plugin for the Google Mobile Ads SDK

Google Mobile Ads for Flutter This repository contains the source code for the Google Mobile Ads Flutter plugin, which enables publishers to monetize

Jan 2, 2023

QuickShell is an Eclipse plugin to use Java JShell inside the Eclipse IDE.

QuickShell is an Eclipse plugin to use Java JShell inside the Eclipse IDE.

QuickShell is an Eclipse plugin to use Java JShell (REPL) inside Eclipse IDE. JDK 9+ is not installed on your system? No worries, you can still use Qu

Oct 3, 2022
Releases(v1.2)
Owner
PK2_Stimpy
I do stuff
PK2_Stimpy
:package: Gradle/Maven plugin to package Java applications as native Windows, Mac OS X, or GNU/Linux executables and create installers for them.

JavaPackager JavaPackager is a hybrid plugin for Maven and Gradle which provides an easy way to package Java applications in native Windows, Mac OS X

Francisco Vargas Ruiz 665 Jan 8, 2023
Maven plugin to help creating CHANGELOG by keeping one format and solving merge request conflicts problem by extraction of new CHANGELOG entries to seperate files.

keep-changelog-maven-plugin CHANGELOG.md is one of the most important files in a repository. It allows others to find out about the most important cha

Piotr Zmilczak 22 Aug 28, 2022
HopLa Burp Suite Extender plugin - Adds autocompletion support and useful payloads in Burp Suite

HopLa ?? All the power of PayloadsAllTheThings, without the overhead. This extension adds autocompletion support and useful payloads in Burp Suite to

Synacktiv 522 Dec 24, 2022
Ask and replay plugin for Mirai-Console

EntryLib EntryLib 是一个基于 Mirai-Console 的插件,用于实现群词条、自定义回复或更多功能。 目录 声明 使用方法 基本指令列表 额外说明 配置项 控制台 数据库结构 To-Do List 插件依赖 声明 本插件仅作为学习交流等使用,请勿用于盈利,否则法律后果自负。 欢

Bill Yang 33 Oct 25, 2022
Ghidra Wasm plugin with disassembly and decompilation support

Module to load WebAssembly files into Ghidra, supporting disassembly and decompilation. This plugin borrows loader functionality from this repo: https

Garrett Gu 54 Nov 22, 2022
Ghidra Plugin for Texas Instrument CC 8051 SOC's especially CC1110 and CC2510

Texas Instruments CCxxxx Ghidra CPU Plugin Ghidra Plugin for Texas Instrument CC 8051 core SOC's especially CC1110 and CC2510 This helps to name the d

null 6 Dec 22, 2022
maven plugin for making chmod +x jar files

To use it, add a plugin to your pom like <!-- You need to build an exectuable uberjar, I like Shade for that --> <plugin> <groupId>org.apache.mave

Brian McCallister 113 Dec 8, 2022
Launch4j Maven Plugin

Launch4j Maven Plugin

Lukasz Lenart 301 Dec 29, 2022
A BurpSuite plugin for BBRF

bbrf-burp-plugin What's BBRF? The Bug Bounty Reconnaissance Framework (BBRF) is intended to facilitate the workflows of security researchers across mu

Pieter 19 Jun 22, 2022
Flutter plugin to listen to the process text intent stream.

Flutter Process Text Plugin Show some ❤️ and ⭐ the repo Why use Flutter Process Text? Flutter Process Text Plugin is known for : Flutter Process Text

Divyanshu Shekhar 14 Jul 1, 2022