▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/Advanced-AdminMode
Advanced-AdminMode

Advanced-AdminMode

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

Оцените первым
135
1

!Logo

Simple, lightweight, customizable utility plugin for Paper servers, giving admins temporary permissions or OP while safely storing their inventory, location and stats.

Help needed? Check out our Discord Server!

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

CommandPermissionFunction
/adminmodeadminmode.use*Toggles adminmode on or off
/adminmode onadminmode.use*Turns adminmode on, if not already enabled
/adminmode offadminmode.use*Turns adminmode off, if not already disabled
/adminmode off force-survivaladminmode.use*Turns adminmode off and forces survival gamemode, even if a different gamemode was saved before
/adminmode reloadadminmode.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: "%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: true #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 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: "Adminmode is toggled on!" reload: "Adminmode Plugin successfully reloaded!" enter-line1: "<dark_red>Adminmode activated!" enter-line2: "Click <click:run_command:'/adminmode off'>Here to teleport back and leave!" exit: "<dark_red>Adminmode deactivated!" notify-enter: "%player% entered <dark_red>Adminmode" notify-exit: "%player% left <dark_red>Adminmode" already-on: "<dark_red>Adminmode is already activated!" already-off: "<dark_red>Adminmode is already deactivated!" still-in-adminmode-line1: "<dark_red>Adminmode is still enabled!" still-in-adminmode-line2: "Click <click:run_command:'/adminmode off'>Here to teleport back and leave!" notify-still-in-adminmode: "%player% is still in <dark_red>Adminmode!" forced-survival: "Forced survival gamemode!"

----- Command permissions -----

permissions: toggle: "adminmode.use" reload: "adminmode.reload" notify: "adminmode.notify"


This plugin uses bStats to monitor servers using Advanced-Adminmode
Партнёрский материал

Сервер для плагина Advanced-AdminMode - как у профи

Плагин Advanced-AdminMode создан для серверов: на своём сервере вы настраиваете его под себя и решаете, кому играть. Создать сервер с плагином Advanced-AdminMode для друзей можно за пару минут - BungeeHost всё уже подготовил.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

26.3.x26.2.x26.1.x1.21.x

Платформы

Поддерживаемые окружения

Сервер

Ссылки

Детали

Лицензия:
Опубликован:1 месяц назад
Обновлён:2 недели назад
Главная