Staff Guard icon

Staff Guard -----

Secure admin minecraft accounts from untrusted users or hackers



Code (YAML):
# Staff Guard

# Written by Broomestick
# Version 1.1
# Last update: 19 June 2025
# For support, please message me on discord @broomestick

#=======================================================================
#                       Configuration
#=======================================================================


# The permission required for a player to be considered a staff member

staff-permission
: "staffguard.auth"

# The command to punish a player
punish-command
: "ban %player% &cYou have been banned for failing to authenticate."

# The maximum number of login attempts before the player is punished
max-login-attempts
: 3

# The time in seconds a player has to log in before being kicked
login-timeout
: 60

# Whether to block interactions for unauthenticated players
block-interactions
: true

# Whether to block inventory clicks for unauthenticated players
block-inventory-clicks
: true

# Whether to block item drops for unauthenticated players
block-item-drops
: true

# Whether to block item pickups for unauthenticated players
block-item-pickups
: true

# Whether to block damage for unauthenticated players
block-damage
: true


#=======================================================================
#                       Discord webhook
#=======================================================================

discord-webhook
:
  enabled
: false
  url
: "YOUR_WEBHOOK_URL"
  embeds
:
    successful-login
:
      enabled
: true
      title
: "Successful Login"
      color
: 65280 # Green
      thumbnail
: "https://cravatar.eu/helmavatar/%player%/128.png"
    failed-login
:
      enabled
: true
      title
: "Failed Login"
      color
: 16711680 # Red
      thumbnail
: "https://cravatar.eu/helmavatar/%player%/128.png"
    player-banned
:
      enabled
: true
      title
: "Player Banned"
      color
: 16711680 # Red
      thumbnail
: "https://cravatar.eu/helmavatar/%player%/128.png"
    password-changed
:
      enabled
: true
      title
: "Password Changed"
      color
: 16776960 # Yellow
      thumbnail
: "https://cravatar.eu/helmavatar/%player%/128.png"



#=======================================================================
#                         Messages
#=======================================================================


messages
:
  prefix
: "&8[&cStaffGuard&8] "
  must-set-password
: "&cPlease set your password using /setpassword <password> <confirmPassword>"
  password-set-successfully
: "&aYour password has been set successfully."
  password-confirmation-mismatch
: "&cThe passwords you entered do not match."
  must-login
: "&cYou must log in to continue. Use /login <password>"
  login-successful
: "&aYou have successfully logged in."
  incorrect-password
: "&cIncorrect password. You have %attempts% attempts remaining."
  login-timeout-kick
: "&cYou have been kicked for not logging in."
  action-not-allowed
: "&cYou cannot perform this action until you log in."
  no-permission
: "&cYou do not have permission to use this command."
  player-only-command
: "&cThis command can only be used by a player."
  sgadmin-usage
: "&cUsage: /sgadmin <reload|resetpassword> [player]"
  sgadmin-reload
: "&aConfiguration reloaded."
  sgadmin-player-not-found
: "&cPlayer not found."
  sgadmin-password-reset
: "&aYou have reset the password for %player%."
  sgadmin-no-password-set
: "&c%player% does not have a password set."
  already-logged-in
: "&cYou are already logged in."
Resource Information
Author:
----------
Total Downloads: 152
First Release: Jun 18, 2025
Last Update: Jun 19, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings