You are viewing a potentially older version of this package. View all versions.
redos7-SharePermissions-2.39.2 icon

SharePermissions

Share host permissions among trusted players

Date uploaded 2 weeks ago
Version 2.39.2
Download link redos7-SharePermissions-2.39.2.zip
Downloads 47
Dependency string redos7-SharePermissions-2.39.2

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

README

SharePermissions

Lets the host of a R.E.P.O. lobby make trusted players moderators. Moderators can kick, ban, start the run or send everyone back to the lobby, and the host decides what each of them is allowed to do. Every action still goes through the host's game.

Features

  • Promote players to moderator, permanently or for 1, 7 or 30 days
  • Turn individual permissions on or off for each moderator
  • Kick and Ban buttons in the lobby list and the escape menu, with an optional reason
  • History of every moderation action, shared with your moderators
  • Shared player notes, and a warning when someone you kicked or banned joins again
  • Protect a player so moderators can't kick or ban them
  • Private voice channel for the host and moderators, and 1-on-1 calls with players
  • Lobby protection: who can join, host takeover block, voice guard, network flood auto-kick
  • Name colors and 185 lobby heads, or build your own head in the colors you pick
  • SP tag in the server list for lobbies that run the mod
  • Start countdown that moderators can cancel
  • Revive and heal the player you're holding with one key
  • Spectate any player in third person, with sound, and talk with the dead
  • Recent tab with the people you played with
  • English, Russian, Spanish, Italian, Portuguese (Brazil), Japanese, German and French

Who needs it

The host and the moderators. Other players can join and play without it. Players who have it also see name colors, lobby heads and the countdown, can build their own head, and can call the host or a moderator.

Getting started

  1. Install the mod. There is nothing to configure.
  2. Have your moderators install it too.
  3. In a multiplayer lobby, click Mod next to the menu title, or press F7.
  4. Go to Members, click a player and choose Promote to moderator.

To remove a moderator, click them again and choose Revoke moderator access. You can also do it from the Access tab, even when they are offline.

The Mod panel

Tab Who sees it What's in it
Members host, moderators Players in the lobby. The host promotes, sets permissions, protects players and sets name colors and heads here. Moderators open player notes. Both can Kick or ban a player from their page, one who never finished joining included; the host also reaches a player still loading.
Notes host, moderators Every player you hold notes on, in the lobby or not: search, and show those in the lobby or the ones you wrote
History host, moderators Searchable log of moderation events in this host's lobbies
Access host, moderators Moderators and their permissions, protected players, ban list
Settings everyone All settings, grouped into Room, Protection, Calls, Looks, Alerts and General
Recent everyone People you played with (up to 300, kept only on your PC)
Microphone icon host, moderators, players Private voice channel and 1-on-1 calls

Permissions

A new moderator gets all nine. The host can turn any of them off on the Members or Access tab. Changes apply right away and show up in History. Moderators promoted before Revive & heal or Spectate existed don't have that permission until the host turns it on for them.

Permission What it allows
Kick Kick players
Ban Ban players until the lobby is closed
Persistent ban Ban that lasts between sessions, for 1, 7 or 30 days or permanently, kept on the host's ban list

Ban opens one page with every length you may give: Until the lobby is closed, For 1 day, For 7 days, For 30 days and Permanently. The first needs the Ban permission, the others Persistent ban. | Admin Menu | Use the R.E.P.O. Admin Menu (host and moderator both need it) | | Notes | Add, edit and delete player notes (a moderator edits and deletes their own) | | Run control | Start the run, cancel the countdown, return to the lobby | | 1-on-1 voice | Start private calls | | Revive & heal | Revive and heal the player they're holding, with the Revive & heal key | | Spectate | Watch a player in third person from the Members tab, and move next to them to talk |

Timed moderator access runs out on its own, and the moderator gets a notice when less than a day is left.

Spectate

The host, and moderators with the Spectate permission, can watch any player, alive or dead. Open the Mod panel during a run (F7), point at the player on the Members tab and press the right mouse button, or click the player and press Spectate. While the pointer is on a player you can spectate, the line under the list names the key; change it under Settings > General > Members spectate key (any key, or the right, middle, 4th or 5th mouse button). Nobody but the host can watch the host. You get the view the game gives dead players: the camera circles that player, the mouse turns it, the wheel zooms, and you hear them and everything around them. Press Esc to go back to your own eyes, standing where you stood when you started.

While you watch, the body you left standing takes no damage, can't be knocked into a tumble and is out of the game's physics: nothing pushes it, it doesn't fall, and thrown things and carts go through it. With a host on this version enemies don't notice it either. Players who run this mod don't see your body at all and can walk through it; players without it see it crawling with its flashlight off.

A dead player is watched over their head, wherever it lies or is carried, and while the player you watch is dead you are in dead chat: you hear the dead talk, and they hear you. If the player you watch dies, you stay with them and switch to dead chat; if they are revived, you switch back. You are never shown in the game's list of the dead.

A strip at the top of the screen shows the keys while you watch, each as a key cap, and under them what your game has seen the watched player do since you joined the lobby: players killed, deaths and the value of valuables they broke.

  • 1 Speak: switches following on and off. While it is on your body stays a step behind the watched player wherever they go, so they hear your voice; the caption turns green. You keep watching, and switching it off, or Esc, puts you back where you started. Not shown while the watched player is dead: dead chat carries your voice then.
  • 2 Kick: press it, then press it again within a few seconds to confirm. Esc cancels.
  • 3 Ban: opens the ban page with every length you may give.
  • Esc: stop watching.

Kick and Ban are red, and show only if you have that permission and may remove that player.

Good to know:

  • While you watch, your body is protected: it takes no damage, and with a host on this version enemies don't notice it. It can't move, grab or use items, and your microphone still speaks from it, so without Speak the watched player hears you only if they are near your body.
  • The numbers are what your own game saw, so they start when you joined, and "players killed" is a best guess: a player who died within three seconds of being hit by something the watched player held, threw, drove or set off, unless an enemy killed them.
  • Dead chat while you are alive is this mod's doing, so it has limits. You hear the dead under any host. The dead hear you in dead chat only if they run this mod too; a dead player without it hears you as before, from your body. Players who are alive and run the mod stop hearing you while you are in dead chat. A moderator needs a host on this version for the speaking half.
  • Spectating stops on its own when the watched player leaves and when the level ends.
  • It works in a level, the shop and the truck, not in the lobby menu or the arena.
  • Nobody is told that they are being watched. Each start is written to History.
  • A moderator needs a host on this version.

Private voice

On the microphone tab the host can put the whole moderator team on a private channel, or start a 1-on-1 with one moderator or player. People on the channel hear each other at full volume anywhere on the map, and nobody else hears them. Talking on it doesn't attract monsters. The host can add more people to a running call, up to eight.

Moderators with the 1-on-1 voice permission can call the host, other moderators or players. Players can call the host or a moderator, unless the host turns off Players may call the team. You answer a call with Y or N and hang up with End. The host can also set a max call length and a wait between calls.

A list in the corner of the screen shows who is on the channel and who is talking. The game's own mute key mutes you there too.

Limits:

  • It isn't a secure channel. Anyone who learns the channel's name could listen in.
  • Text chat stays public.
  • Moderators on an old version of the mod can't join it.
  • Other mods' "force mic on" features don't work while you are on it.

Lobby protection

  • Who can join (a switch under the host's Mod button): Everyone, Friends only, Invites only or Nobody. Late-join mods need Everyone.
  • Block host takeover: if a cheater makes themselves host, you stay in the lobby, the real host gets the role back and the cheater is banned.
  • Voice guard: blocks voices that pretend to be another player, and the giant emoji spam.
  • Publish Steam IDs: flags players whose Steam ID doesn't match their Steam login.
  • Flood protection: kicks players who spam network messages (lobby only).

Looks

The host picks name colors and lobby heads for themself, for moderators and for single players. There are 185 heads: hats, glasses, faces, eyes, mustaches and more, and some of them move. Every player with the mod can also build their own head from parts in Settings > Looks > My head, if the host allows it, and save up to five looks there to switch between. 43 of the parts (hair, hats, clips, lipstick, collars and more) take a color you pick on the My head page, where they carry three small color bars and the colors open right under the part you wear. The color shows when the host and the other players run this version, and otherwise the part shows its original colors. Moderators can pick their own name color in Settings > Looks, if the host runs a version that supports it; a color the host sets for them wins.

In the Esc menu, every player's lobby head shows beside their name and moves when they talk.

Lobbies that run the mod get an SP tag and are listed first in the server list for players who have the mod. The host can also change the color of the lobby's name there.

Name colors, heads, head animations and the Esc menu heads can each be turned off for yourself in Settings.

Other mods

  • BanEnforcer (host only, optional): SharePermissions keeps its own ban list, so persistent bans work without it. With BanEnforcer installed, each new persistent ban goes on both lists, so it still holds if you remove BanEnforcer later, and lifting a ban on the Access tab lifts it from both. A ban you lift in BanEnforcer's own menu is dropped from SharePermissions' list too.
  • R.E.P.O. Admin Menu: moderators can use it if the host allows it. Both need it installed. It gives moderators cheat powers over everyone, so only allow it for people you trust.
  • LobbyReactions: reaction stickers, a separate mod. Its "Host and moderators" setting uses your moderators.
  • LoadingWidget: the moderation panel on loading screens. From LoadingWidget 1.3.0 it also shows every player's lobby head there.
  • LateJoinPlus: works alongside it. By default only its late joining stays on, so the two mods don't do the same things twice.

Keys

  • F7: open or close the Mod panel (change it in Settings > General)
  • Y / N: accept or decline a call
  • End: hang up
  • Shift + click Start: start the run right away, without the countdown (host only)
  • H: revive and heal the player you're holding with the grabber (host, and moderators with the Revive & heal permission). Hold a dead player's head and they get up on the spot with full health; hold a living player and their health is topped up. Works in a level, not in the shop, lobby or arena. Change the key in Settings > General. A moderator needs a host on this version.

Y, N and End are the defaults. You can change them in Settings > Calls.

Your files

Tokens, notes, History and the log are stored in %LOCALAPPDATA%\SharePermissions, not in the BepInEx config folder, so exporting a mod profile doesn't share them. Don't share that folder: a copied token works until the host revokes it.

How it works

Moderators send requests to the host, and the host's game does the kick or ban. The host checks that a request comes from the connection of someone it promoted, not from a Steam ID, since those can be faked. Each moderator gets a private token when they are promoted and proves it with a one-time code whenever they rejoin, so the token itself is only ever sent once.

Problems

If you are the host or a moderator, Settings > General > Diagnostics shows what the mod sees, and Write diagnostics to log copies it into the BepInEx log for a bug report.

The changelog has the full details on every feature.

CHANGELOG

Changelog

2.48.0

Added

  • Mic for everyone. From a slider beside a player's name on their page (Members tab) the host can set that player's microphone anywhere from Muted to Normal, in steps of 5%, for the whole lobby, and press Set; Reset beside it sets Normal in one click. A player held at Muted wears a larger red mute icon, in the lobby's player list too. Everyone hears it, players without the mod too, and it can only turn a mic down, never louder than the player's own setting. It follows the player across a leave and rejoin and lasts until it is set back to Normal or the lobby closes. Monsters still hear a muted player. Moderators can do it with the new Mic volume permission (a moderator can't hold another moderator or a protected player, but can give anyone their mic back), and a held player with the mod is told. The host can't be held. It shows up in History. Moderators promoted earlier don't have Mic volume until the host turns it on.
  • Change the lobby's size from the Moderation panel. As host, the line under the Moderation title (the lobby's name and (players/limit)) is now one button: click it anywhere to open the lobby page, with a slider for how many players the lobby takes, up to what the game allows and never below the number already in it. The limit changes only when you press the green Save; Cancel, Close and Esc drop the change. The game's own setting is what changes, so the server list and Steam show the new size too. The Lobby button beside the title also no longer overlaps its arrow, and its word is a little larger.
  • Only the host and moderators with Run control leave the shop. In the shop, holding the truck screen that drives on to the next level now takes the Run control permission: anyone else who grabs it is let go before the message goes out, so one impatient player can no longer send the whole lobby off. It works on every player, with or without the mod, since the host enforces it. The host can turn it off in Settings > Room (Only Run control leaves the shop) to let everyone leave as before.
  • Stay in the lobby after handing it over. The Make host page has a new switch, Leave after the hand-over. It is on by default, and you leave once the new host has taken over, as before. Turn it off and you stay in the lobby as a player once the new host has taken over, with no moderator rights unless the new host gives you some. The page remembers your choice.
  • See who is muted. The heads in the escape menu's player list, on the Members tab and on a player's page now wear the game's own mute icon while that player has muted their microphone, the same one the lobby shows, and it pops in and out the way the lobby's does.
  • One profile for every player, from Members or Recent. Clicking a player in either opens the same page: their head, name in its lobby color, a status line and Steam ID, then the buttons and tabs you may use. For someone who has left it shows them as you last saw them, marked "when last seen". A new History tab says how often you met, the time together, whether they hosted you, the last lobby, the other names they used, how they were when they left and their own built head; Forget moves there. A star right after the name stars or unstars them. A plain player, or anyone on the main menu, sees the header with its star, Steam profile and History.
  • Heads in Recent. Every row shows the player's head: live while they are in the lobby, the way you last saw it otherwise. Your computer now remembers each player's head, body colors, name color, names and last health or death, only while they are on your Recent list.
  • The host acts on someone who has left, from their profile. Ban (any length, with a reason), Lift a ban, and for a moderator the host promoted: change their permissions, Change how long and Revoke on the Access tab, which they get at their next join.
  • Moderators can ban someone who has left. A moderator with the Persistent ban permission gets Ban on that player's profile when the host runs this version. The host accepts it only for a player on the host's own Recent list, and says why when it refuses ("the host has not played with this player", already banned, in the room).
  • The moderator taking over the host sees it coming. Once a moderator accepts a hand-over At level end, a banner at the top of their screen says they become the host at the next level change, and who offered it. It goes away if the host calls it off.

Changed

  • History opens straight on its search bar. The dim Showing: ... line above it, which named whose lobbies the list covers, is gone.
  • A tidier Moderation panel. The microphone button has moved out of the tab row: it now stands beside the Moderation title, sized to its letters and level with them. The Notes tab shows how many players you have notes on right on the tab (Notes (92)), and the heading that repeated it is gone; the Recent tab does the same (Recent (300)). The Access tab has tabs of its own, the same ones a player's page has: Moderators, Protected, Your access and Bans, each with its count, so the ban list is one click away and no longer a scroll past everything else. The Lobby button that returns everyone to the lobby during a run has moved up too, to the left of the title, level with it and with a proper back arrow.
  • A taller Members list. The key hints (Click Manage, Spectate, Revive / heal) moved down to the bottom row beside Close, with no dark strip behind them, so the list gets that room back.
  • Recent no longer has a page of its own, and its "Manage Member" row is gone: the row opens the profile.
  • The profile says "Not banned: this player can no longer be banned" when its Ban cannot go ahead, and a moderator's refused offline ban reads "Not banned", not "Not removed".
  • Japanese: the page title and History's field label "Player" read プレイヤー, not 対象.
  • A cleaner Overview on a player's page. Its facts now read as a neat two-column sheet: a label on the left, its value lined up in one column beside it, and long values wrap under their own column instead of running back to the edge. A moderator's Access and Permissions sit on rows of their own, with the permissions they hold listed first. Their built head names only the pieces they wear, with no more "None" in between. Related facts are grouped with a little space between them.
  • Cancel hand-over moved to the Access tab. While a hand-over is offered or waiting for the level to end, the Make host button on that moderator's Access tab turns into Cancel hand-over, with the hand-over's status just under it. Cancel it and Make host is back in the same place.
  • A timed ban ends on time, even in the same lobby. A player banned for 1, 7 or 30 days used to stay out of that lobby until it closed, even after the ban ran out. Now they are kept out only while the ban lasts, and once it runs out they can join the same lobby again. Each rejoin attempt before then is still refused. Until the lobby is closed and Permanently work as before.

Fixed

  • A cleaner hand-over banner. The host's banner fits its text instead of stretching wide, has a soft blue edge and a pulsing dot while it waits, and slides in. The cancel bar now appears only while you hold the key and drains when you let go: before, a small green mark sat in its corner even when nothing was held.
  • Moderators get their role back when the host role comes back to you. After a moderator handed the host back, your moderators could stay plain players until someone else joined. While you were still loading in, your answer to their check-in got lost, and they never checked in again. Now they keep checking in until you answer, so they get their role back as soon as your load finishes.

2.47.0

Added

  • Eight more Extras for My head. Worn over any eyes, under the nose, mustache and hat: Angry brows and Worried brows (both take a color, like the mustaches), a Scar across the right eye, a Black eye, a cartoon Sweat drop and Anger mark beside the head, athlete's Eye black and Freckles. Each is also a lobby head of its own the host can pick. Players on an older version see your head without the new piece.

Changed

  • A player's page on the Members tab, without the long scroll. It is now as wide as the panel. The top never scrolls: the player's head, their name in its lobby color, their role, "protected" and health (or the red dagger), their Steam ID, and the buttons used most - Spectate, Steam profile, Banish and Kick or ban, each only when you may use it. Everything else sits in tabs: Overview (the facts: this level's numbers, a moderator's permissions and how long they last, their heads, Removed before), Access (host: promote, permissions, change how long, make host, revoke, protect), Looks (host: name color and lobby head) and Notes.
  • Permissions are buttons. On a moderator's Access tab the eleven permissions are a grid of buttons, lit when held: click one to turn it on or off, point at one to read what it covers. Change how long, Make host and Revoke moderator access sit side by side under them.
  • The page keeps up with the player. Health, death, role, protection and leaving show at the top as they happen, and when the player is promoted, protected, finishes loading or can be banished once the level starts, the page rebuilds itself on the same tab (never while you are typing a note). Coming back from a picker, a note, Promote or Kick or ban lands on the tab you left; Notes (N) on the Kick or ban page opens the Notes tab.

Removed

  • Go to notes on a player's page: the Notes tab replaces it.

Fixed

  • The sleepy face and the hockey mask keep their pupils in view. The sleepy face's pupils slid under its heavy lids, and vanished whenever the head looked up; the hockey mask's eye holes cut the pupils off whichever way they looked. Both now move inside the opening, as the angry face's do.
  • The lollipop is held in the mouth. Its candy sat out on the left of the jaw with only the tip of the stick near the mouth. Now the candy is at the mouth and the stick points out of it.
  • A lobby handed to you never replaces a save you already have. If your machine already had a save with the same name as the run a host hands you, the run is now saved under a new name and your own save is left alone. Before, it was pushed into the game's backups and lost a few saves later.
  • Demoting a moderator you inherited with a hand-over removes only that grant. It could also delete a saved grant of yours for the Steam ID that player announced, which need not be theirs.
  • The old host cannot quietly take a handed-over lobby back. Once the new host has taken over, Block host takeover treats a grab by the old host like any other takeover.
  • A run handed to you arrives as plain text. Its team name loses formatting tags, and nothing in it can write extra lines into your log.
  • A new host is told what came with the lobby. After a hand-over you see which moderators you kept, and each is noted in History. If a player on your ban list was already in the lobby, they are still not removed, but you are now told, so you can decide.
  • A modified client can no longer delete the lobby's objects on your game. The game's network layer obeys a "destroy" command from any player, which let a cheat remove other players' objects or take the host role without the "Host disconnected" popup. With the mod you now ignore such a command unless the host or the object's own owner sent it. Players without the mod are not protected.
  • An offer to make you the host is ignored while a host takeover is in progress, unless it comes from the host the lobby was taken from.

2.46.0

Added

  • Hand the lobby to a moderator. A new Make host button on a moderator's page on the Members tab hands them the host role, and you leave once they have taken over. Nobody sees "Host disconnected", players without the mod included. Pick the moment: Hand over in the lobby menu, or in a run At level end (nothing lost), Now, back to lobby (the run is kept, this level's progress is lost) or Right now (a fresh level, this level's progress is lost). The moderator accepts a prompt with the 1-on-1 accept key first. The run, the session's moderators and the Steam lobby move with it; your own save stays on your machine. While At level end waits, a banner at the top of your screen says so: hold the 1-on-1 decline key (N) to call it off. The buttons are coloured by what they cost: green nothing, gold this level's progress, red right away. Idea by Колбасный торт.
  • Credits thank Колбасный торт for the idea of the hand-over.

2.45.1

Fixed

  • Punish and Banish work under a host with No Tumble. A host who had given themselves the Admin Menu's No Tumble made every Punish and Banish do nothing, to anyone, while it still reported a hit. Both now knock the player over whatever that switch says, and a knock the game still refuses is reported as not working instead of as done.
  • The R.E.P.O. Admin Menu's teleports work again. Teleport to, Summon, Return to truck and Send to did nothing to a living player on the current game. The host now moves them the way the game moves a player who fell out of the map: they land lying down and stand up a moment later. This covers Admin Menu 1.0.17 and older; a newer Admin Menu uses its own teleport, in case its author has fixed it.

2.45.0

Changed

  • No way out of a banish by dying. A banished player can't use Self destruct: with this mod they are told so, and one without it who self-destructs anyway is stood up again by the host and keeps falling. The host's own kill (the Admin Menu's Kill) still ends the banish, and once every extraction point is done self-destruct works as usual, so the truck can leave.
  • Nothing kills a spectator. While you spectate, kills that skip health (the Admin Menu's Kill, an explosion) are refused as well as damage, for the host and for moderators.
  • Spectate while dead. A dead host or moderator can spectate any player once the death shot is over: the game's own camera moves to the player you pick, with the usual keys except Speak and "Everyone hears you". Esc gives the camera back; being revived ends the spectate.

2.44.0

Added

  • Banish. A new button on a player's page on the Members tab, in a level: the player is knocked down and drops into the dark under the level, and keeps falling, unable to get up, while the game's "fell out of the map" rescue never catches them. The button turns to Unbanish, which puts them back where they stood. Whoever banished the player hears them the whole time, as if they stood beside them, and can talk to them (the banished player needs this mod for that). It ends by itself when the level ends or the player dies or leaves. Moderators need the new Banish permission, and can't banish the host, another moderator or a protected player. Both show up in History. While spectating, key 6 does the same to the player you watch.
  • Health on the Members list and while spectating. Each living player's health follows their name on the Members tab ("75 HP"), in green, yellow or red by how much is left. While you spectate, the strip shows the watched player's health after their name ("45/100 HP").

Changed

  • Admin Menu spawns land by the player you spectate. While you spectate someone, the items, valuables, enemies and cosmetic boxes you spawn appear in front of them, where they are looking, instead of by your own body. With Speak on or off, for the host and for moderators.
  • The lobby line takes the server list's colour. The lobby name under the Moderation title is drawn the way the server list draws it: in the lobby's own colour when it is advertised there, in plain light text when it is listed but not advertised, and dim grey for a lobby the list does not show. The player count beside it stays grey.
  • The kill, death and loot numbers are per level. On the Members tab and the spectate strip they start again when a level ends, and read "Seen this level".
  • Credits thank мокрая эротика and So Good for ideas too.

Older versions: see the full changelog at https://github.com/redos7/SharePermissions/blob/master/CHANGELOG.md