Neos-Metaverse / NeosPublic

A public issue/wiki only repository for the NeosVR project
197 stars 9 forks source link

Banning and Unbanning from headless console doesn't persist after restart #2714

Open Vegasx opened 3 years ago

Vegasx commented 3 years ago

Describe the bug?

Reported by BigRedWolfy:

After a user is banned or unbanned from the console, restarting the headless seems to undo any bans or unbans. So far the only way for a ban to say registered is to log into the normal neos client with the headless account and unban or ban from all my hosted sessions.

To Reproduce

Tested on two headless clients:

Expected behavior

Users banned on a headless client via the client console should remain banned after restarting the headless client.

Log Files

I've included logs and copied console text because commands typed into the console don't appear to show in the logs, at least in this case.

BigGreenWolfy - Log 02 - Copied Console.log BigGreenWolfy - Log 01 - Raw.log SmallBlueFox - Log 02 - Raw.log SmallBlueFox - Log 01 - Raw.log BigGreenWolfy - Log 02 - Raw.log BigGreenWolfy - Log 01 - Copied Console.log SmallBlueFox - Log 02 - Copied Console.log SmallBlueFox - Log 01 - Copied Console.log

How often does it happen?

Always

Does the bug persist after restarting Neos?

Yes

Neos Version Number

Beta 2021.7.25.489

What Platforms does this occur on?

Windows, Headless on Ubuntu 20.04.2 Linux. Pterydactyl panel 1.4.2

Did this work before?

I Don't Know

Reporters

BigRedWolfy Red Wolf#6715

Frooxius commented 3 years ago

I can't replicate this on my end, the ban persists correctly.

Medravr commented 3 years ago

@Frooxius I think I can replicate this issue. Would you like me to add you to the Creator Jam group. I have working examples to use for testing.

Medravr commented 3 years ago

I have used the ban user command in the both the contacts list and the session menu. And unbanned the same user in the contacts list and debug menu.

The ban is listed when you use the listbans command--even after the unban has been created (note the world has been saved with the unban).

The headless is shutdown the proper way through commands. Close (wait) Shutdown.

Frooxius commented 3 years ago

@Medravr Are you using the Ban commands in Contacts list on the same account that's the headless? Or different account?

The bans aren't part of the world data itself, they're stored separately, so saving the world shouldn't make a difference there.

Medravr commented 3 years ago

@Frooxius Yes. I was using the ban commands in the same account as the headless. The ban however persists in separate group accounts too. Perhaps this is related to groups.