
Help needed? Check out our Discord Server!
Adminmode softdepends on Luckperms for the permission-list option in the config.
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
# ================================
# Missing Features, Bugs or Support needed? -> here's our dc : https://discord.gg/DyX736yAMz
# ----- 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
# 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"
- "minecraft.command.*"
- "luckpems.*"
# Conditional example: players who already have "myserver.ismod"
# additionally get a smaller set of extra permissions
- if: "myserver.ismod"
then:
- "aplugin.fly"
- "aplugin.vanish"
# ---- Command-Aliases ----
#A list of commands that can be uses instead of /adminmode
aliases:
- am
# ----- 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%"
#NOTE: this feature REQUIRES VANISH++
vanish:
disable-vanish-actionbar: true
#To use any vanish command, nearly regardless of what plugin you are using.
alternative-vanish:
enabled: false
#NOTE: this method cant check whether the player already is in vanish when entering adminmode.
#If you know that your plugin has an api or command to check this, feel free to report that on our dc: https://discord.gg/DyX736yAMz
#DO NOT put / at the beginning, this is not required.
command: "vanish"
#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
# ---- Toggle Command users ----
#This Option allows you to grant /adminmode on | off without truly granting the permission (can be usefully if luckperms isn't installed.)
use-players:
# aPlayersName1abc
# aPlayersName2abc
# ---- Reload Command users ----
#This Option allows you to grant /adminmode reload without truly granting the permission (can be usefully if luckperms isn't installed.)
reload-players:
# aPlayersName1abc
# aPlayersName2abc
This plugin uses bStats to monitor servers using Advanced-Adminmode
Blockcraft0176 in adminmode holding two custom ban-hammers
The Player went in Adminmode. All his data was saved in the plugins Folder.
The Player has changed his effects, items and armor. Also he doesn`t take void damage.
His effects, items, Rotation, Coordinates and more were set back to his previus position!
Oh no! The player accidently deleted a few config options while editing it. But the plugin was able to fix itself!
Allows you to teleport to specific Players, change your gamemode, turn godmode off. This Feature is disabled by default.
| Version | Minecraft | Loader | Download |
|---|---|---|---|
|
1.3-Bugfixes & QOL 1.3-Release |
1.21.10, 1.21.11, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2, 26.3
|
paper, purpur
|
Download |
|
1.2-Vanish-Hook 1.2-Release |
1.21.10, 1.21.11, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2, 26.3
|
paper, purpur
|
Download |
|
1.1-Adminmode 1.1-Release |
1.21.10, 1.21.11, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2, 26.3
|
paper, purpur
|
Download |
|
1.0.1 Update 1.0.1-Release |
1.21.10, 1.21.11, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2, 26.3
|
paper, purpur
|
Download |
|
1.0 Full-Release 1.0-Release |
26.1, 26.1.1, 26.1.2, 26.2, 26.3
|
paper, purpur
|
Download |