Compatibility
Minecraft: Java Edition
26.3
26.2
26.1.x
1.21.6–1.21.11
Platforms
Tags
Creators
Details
Licensed ARR
Published 2 days ago
Updated 2 weeks ago

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
- Toggle between a normal player state and Operator/Admin with
/adminmode - Automatically saves and restores your inventory, location, and stats (see Saved Data below)
- Fully customizable permissions via config, optionally using LuckPerms instead of full OP
- Restores everything back to how it was the moment you leave adminmode
- When not disabled in the config admins get an compass that can be used to teleport to players, enter godmode or switch gamemode.
Saved Data
While adminmode is active, the plugin can save and later restore:
- Coordinates & rotation
- Inventory, armor, and offhand item
- Gamemode
- Selected hotbar slot
- Level and XP
- Health
- Hunger and saturation
- Active potion effects and their durations
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"


