Home›Java›Mods›Advanced-AdminMode
Advanced-AdminMode
ModsJava

Advanced-AdminMode

Java mod listed for Minecraft 1.21–26.x. Downloads from the MC Java Mods app on Android.

by The_To_Craft · on Modrinth

Adds /adminmode : toggle temporary OP or custom permissions while your inventory, location and stats stay savely stored until you switch back.

⬇ Download on Modrinth
Advanced-AdminMode — screenshot 1Advanced-AdminMode — screenshot 2Advanced-AdminMode — screenshot 3Advanced-AdminMode — screenshot 4Advanced-AdminMode — screenshot 5

Logo

Simple, lightweight, customizable plugin for Paper servers, giving admins temporary permissions or OP while safely storing their inventory, location and stats without adding any unnecessary features.

Features

Saved Data

While adminmode is active, the plugin can save and later restore:

Each of these can be individually enabled or disabled in the config.

Commands

Command Permission Function
/adminmode adminmode.use* Toggles adminmode on or off
/adminmode on adminmode.use* Turns adminmode on, if not already enabled
/adminmode off adminmode.use* Turns adminmode off, if not already disabled
/adminmode off force-survival adminmode.use* Turns adminmode off and forces survival gamemode, even if a different gamemode was saved before
/adminmode reload adminmode.reload* Reloads the config and adds any missing keys

Players with the adminmode.notify* permission will get messages, when a staff member toggles adminmode.

*= These permissions are only the default values — you can change them in the config.

Config

This is the default config, nearly everything is customiseble but you can also use the default settings without experiencing any problems.

# ================================
#         AdminMode Config
# ================================

# ----- Permission handling -----
# How players get admin permissions while adminmode is active.
#
# OPERATOR         -> grants full OP (not recommended, very broad access)
# PERMISSIONS-LIST -> grants only the permissions listed below (REQUIRES LUCKPERMS)
permission-method: OPERATOR

# Only used if permission-method is PERMISSIONS-LIST
# REQUIRES LUCKPERMS
#
# Two kinds of entries are allowed here:
#   - a plain string  -> always granted while in adminmode
#   - an "if"/"then" block -> only granted if the player already has the
#     permission listed in "if"; everything under "then" is granted on top
permissions-list:
  # Vanilla admin commands
  - minecraft.command.gamemode
  - minecraft.command.give
  - minecraft.command.tp
  - minecraft.command.teleport
  - minecraft.command.time
  - minecraft.command.weather
  - minecraft.command.ban
  - minecraft.command.kick
  - minecraft.command.op
  - minecraft.command.effect
  - minecraft.command.enchant
  # Essentials
  - essentials.fly
  - essentials.vanish
  - essentials.invsee
  - essentials.heal
  - essentials.feed
  - essentials.god
  - essentials.tppos
  # WorldEdit
  - worldedit.*
  # Conditional example: players who already have "myserver.isadmin"
  # additionally get real OP-level commands while in adminmode
  - if: "myserver.isadmin"
    then:
      - "minecraft.command.op"
      - "essentials.*"
  # Conditional example: players who already have "myserver.ismod"
  # additionally get a smaller set of extra permissions
  - if: "myserver.ismod"
    then:
      - "essentials.fly"
      - "essentials.vanish"

# ----- Features -----
# Whether these features are enabled at all.
# (people without permissions still cant see them)
features:
  # whether to enable the notify messages.
  notify: true
  # whether to give the player a compass which can be used to teleport to players when in adminmode
  teleport-compass:
    enabled: false
    #selected for mainhand, or 0-8
    slot: selected
    title: "<dark_red>Admin Teleport Compass"
    player-head-name: "<!italic><green>%player%"
  #whether to clear the players inventory when entering adminmode
  clear-inv: false

# ----- Data to save & restore -----
# Everything listed here as "true" will be saved before entering
# adminmode, and restored when leaving it.
# Everything set to "false" will be ignored.
save:
  coords: true
  inventory: true
  gamemode: true
  selected-hotbar-slot: true
  levels: true
  health: true
  hunger: true
  potion-effects: true

# ----- Messages -----
# All chat messages support MiniMessage formatting.
messages:
  # Permanent actionbar message shown while adminmode is active.
  enable-actionbar-message: true
  actionbar: "<white>Adminmode is toggled on!"
  reload: "<green>Adminmode Plugin successfully reloaded!"
  enter-line1: "<dark_red>Adminmode <green><bold>activated!"
  enter-line2: "<white>Click <yellow><click:run_command:'/adminmode off'>Here</click><white> to teleport back and leave!"
  exit: "<dark_red>Adminmode <red><bold>deactivated!"
  notify-enter: "<yellow>%player% <green><bold>entered<!bold> <dark_red>Adminmode"
  notify-exit: "<yellow>%player% <red><bold>left<!bold> <dark_red>Adminmode"
  already-on: "<dark_red>Adminmode <white>is already activated!"
  already-off: "<dark_red>Adminmode <white>is already deactivated!"
  still-in-adminmode-line1: "<dark_red>Adminmode<white> is still <green><bold>enabled<!bold>!"
  still-in-adminmode-line2: "<white>Click <yellow><click:run_command:'/adminmode off'>Here</click><white> to teleport back and leave!"
  notify-still-in-adminmode: "%player% is still in <dark_red>Adminmode!"
  forced-survival: "<green>Forced survival gamemode!"

# ----- Command permissions -----
permissions:
  toggle: "adminmode.use"
  reload: "adminmode.reload"
  notify: "adminmode.notify"
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more