RicketyWrecked-AdminMenuButtonPositionFix icon

AdminMenuButtonPositionFix

Evenly re-spaces every pause-menu button so mod buttons never overlap. With RepoAdminMenu installed (optional), also adds a one-click Admin Menu button for the host or single player.

Last updated 2 weeks ago
Total downloads 34356
Total rating 5 
Categories Mods AI Generated Quality Of Life Tools Client-side
Dependency string RicketyWrecked-AdminMenuButtonPositionFix-1.5.3
Dependants 1 other package depends on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2305
REPOModding-MenuLib-2.6.0 icon
REPOModding-MenuLib

A library for creating UI!

Preferred version: 2.6.0

README

Admin Menu Button Position Fix

Keep your pause menu tidy. Spaces every pause-menu button evenly, so buttons added by mods never overlap. If you use RepoAdminMenu, it also adds an Admin Menu button that opens it in one click.

Support me on Ko-fi

Highlights

  • Admin Menu button (needs RepoAdminMenu). 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. A moderator another mod has allowed the Admin Menu gets the button too. (LateJoinPlus 1.2.0 has its own Admin panel and doesn't need this button.)
  • 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. MenuLib installs with it. RepoAdminMenu is optional: install it if you want the Admin Menu button.
  2. Host a game (or play single player) and press Esc. If RepoAdminMenu is installed, the Admin Menu button is in the list.

Nothing about the admin menu itself changes. This mod adds no permissions: the admin menu opens for the host, in single player, or for a moderator another mod has allowed it.

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 MenuLib 2.6.0 on R.E.P.O v0.5.0 (RepoAdminMenu's button was last tested with 1.0.16 on v0.4.4.3).

Support

All my mods are free and always will be. If they made your lobby better, a tip helps me keep testing, fixing and adding new features. Thank you! 💛

Support me on Ko-fi

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.

Bug reports: Discord. The Discord is strictly for bug reports (please include your BepInEx/LogOutput.log); requests for the source code or permission to reuse any part of the mod will be declined.