You are viewing a potentially older version of this package. View all versions.
RicketyWrecked-AdminMenuButtonPositionFix-1.5.0 icon

AdminMenuButtonPositionFix

Adds an Admin Menu button to the pause menu that opens RepoAdminMenu in one click (host or single player), and evenly re-spaces every pause-menu button so mod buttons never overlap.

Date uploaded a day ago
Version 1.5.0
Download link RicketyWrecked-AdminMenuButtonPositionFix-1.5.0.zip
Downloads 2385
Dependency string RicketyWrecked-AdminMenuButtonPositionFix-1.5.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
nickklmao-MenuLib-2.5.4 icon
nickklmao-MenuLib

A library for creating UI!

Preferred version: 2.5.4
proferabg-RepoAdminMenu-1.0.16 icon
proferabg-RepoAdminMenu

The best admin menu for R.E.P.O.

Preferred version: 1.0.16

README

Admin Menu Button Position Fix

Open RepoAdminMenu in one click, and keep your pause menu tidy. Adds an Admin Menu button to the pause menu and spaces every pause-menu button evenly, so buttons added by mods never overlap.

Highlights

  • Admin Menu button. A button in the pause menu that opens and closes RepoAdminMenu. It shows when you're the host or in single player, which is when the admin menu can open.
  • No more overlapping buttons. Mods that add pause-menu buttons (Admin Menu, REPOConfig's Mods, and others) each pick a fixed spot, so they often land on top of each other, or on top of Main Menu once Active Moons shows up mid-run. Every time the pause menu opens, this spaces all the buttons between Continue and Quit Game evenly and keeps their order.
  • Replaces AdminMenuButton. The separate AdminMenuButton mod isn't needed any more. If it's still installed, its button is hidden so you only see one.

Getting started

  1. Install with r2modman or the Thunderstore app. RepoAdminMenu and MenuLib install with it.
  2. Host a game (or play single player) and press Esc. The Admin Menu button is in the list.

Nothing about the admin menu itself changes. There are no new permissions, and it still only opens for the host or in single player.

Settings

BepInEx/config/ricketywrecked.repo.adminmenubuttonfix.cfg, or REPOConfig in-game.

Setting Default What it does
Admin Menu Button.ShowButton on Show the Admin Menu button in the pause menu.

Technical details

MenuLib's CreateREPOButton has no layout or collision handling, and REPOConfig hardcodes Mods at (126, 65). Vanilla rows are 32 units apart, and with Active Moons showing, Main Menu sits at y = 91, so Main Menu, Admin Menu and Mods all overlap with no gap to aim for.

A postfix on MenuPageEsc.Start snapshots the buttons that exist at that moment, before MenuLib adds mod buttons, so those are exactly the vanilla buttons. The highest and lowest become the column's top and bottom (Continue and Quit Game). One frame later, every active MenuButton on the page within the column's x position and inside that span is spaced evenly. Each button's private originalButtonPosition cache (restored by MenuButton.ResizeToText) is updated along with its transform. Everything is wrapped so an unexpected layout leaves the menu alone rather than breaking MenuLib's button building.

Built and tested with RepoAdminMenu 1.0.16, MenuLib 2.5.4 and REPOConfig 1.2.6 on R.E.P.O v0.4.4.3.

License

Copyright (c) 2026 RicketyWrecked. All rights reserved. You may download and play with this mod, and list it as a dependency in your own Thunderstore modpack. You may not copy, modify, decompile, reuse or re-upload any of it without written permission. See the included LICENSE file. Permission requests: Discord.

Credits

Made by RicketyWrecked. Not affiliated with the R.E.P.O developers, proferabg or nickklmao. RepoAdminMenu is proferabg's mod; this one only adds a button that opens it.

Questions, bug reports, or suggestions: Discord.

CHANGELOG

Changelog

1.5.0

  • Adds its own Admin Menu button to the pause menu (host or single player) that opens RepoAdminMenu, so the separate AdminMenuButton mod is no longer needed or listed as a dependency. If it's still installed, its button is hidden so there's only one.
  • New setting Admin Menu Button.ShowButton (on).

1.4.1

  • Added a LICENSE file (all rights reserved; using it and listing it in modpacks is fine). No code changes.

1.4.0

  • The midpoint approach from 1.3.x couldn't work once Active Moons was showing - there's no gap between Main Menu and Mods to place the button in, so Main Menu, Admin Menu and Mods overlapped.
  • Now re-lays out the whole pause-menu column every time it opens: every button between Continue and Quit Game is spaced evenly, keeping its order. Works with or without Active Moons and with any number of mod buttons.

1.3.1

  • No functional changes. Fixes the website link (was blank on 1.3.0 due to a CI publishing bug) to point to the Discord.

1.3.0

  • The fixed position from 1.2.0 only worked when the vanilla "Active Moons" button was hidden; once a run progresses far enough for it to show, it pushes Main Menu down a row and the fixed position landed on top of Main Menu instead of the gap.
  • Now reads Main Menu's actual position from the menu each time it builds and places the button at the midpoint between that and Mods (which never moves), so it holds in both layouts.

1.2.0

  • Moved the Admin Menu button to (126, 94), measured from the real pause menu layout: the free gap between Main Menu (123) and REPOConfig's Mods (65).
  • Now lists RepoAdminMenu and AdminMenuButton as dependencies, since it does nothing without them.

1.1.0

  • Second attempt; added temporary position logging used to get the exact numbers.

1.0.0

  • Initial release.