Skip to content

Persistence: Also Known As Admin Fuckery - #4577

Open
eris-webserv wants to merge 8 commits into
Monolith-Station:mainfrom
eris-webserv:persistence2electricboogaloo
Open

Persistence: Also Known As Admin Fuckery#4577
eris-webserv wants to merge 8 commits into
Monolith-Station:mainfrom
eris-webserv:persistence2electricboogaloo

Conversation

@eris-webserv

Copy link
Copy Markdown
Contributor

About the PR

Adds an updated version of the persistence system from HULLROT, allowing administrators to save items, components and tags to a specific character slot.

Why / Balance

Remember to feed your local admins at least bi-monthly or else.

Media

image

Requirements

  • I have read relevant guidelines/documentation to this PR found on our devwiki.
  • I have added media to this PR or it does not require an ingame showcase.
  • I can confirm this PR contains either no AI-generated content, or AI-generated content that meets our guidelines.
  • I have confirmed that the database updates in this PR should properly apply and will not require hours of backbreaking migration reversals.

How to test

persistence:<get, add, remove> can be used to modify persistent data on a player during the round. They are self-explanatory.

Breaking changes

The database has had a new migration applied. This thing was horribly tempremental last time I tried something like this and I doubt AI assistance is going to make it any easier. Assume the worst.

New datafields on Profiles in the database. Have fun.

Changelog

🆑

  • add: Some items might stick with you if you can make it to the end of a shift.

@Ilya246

Ilya246 commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

testfail real

@eris-webserv

Copy link
Copy Markdown
Contributor Author

whoops

@Ilya246 Ilya246 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise if it works it works i guess
also, // Mono comments


public string SerializeComponent(IComponent component)
{
var name = _componentFactory.GetComponentName(component.GetType());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in entsys you can just use Factory iirc

Comment thread Content.Server.Database/Model.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants