Closed lizfinite closed 2 years ago
This is actually to be expected, as you have to use /deathlog view <playername>
on a dedicated server to get the correct screen from which you can restore the death infos for a given player. In you case, you did still discover a bug because when opening the client-side screen on a dedicated server you should not be able to restore, so thanks for reporting
Cheers
Ah, I see. I must've missed the information regarding it requiring a command on server somewhere, apologies.
Just ran the updated build. As a user, I feel like if I have Operator and open the client side screen while in multiplayer; it should be equivalent to executing /deathlog view @p
, for a more seamless experience. Feels a like an weird extra step if I'm able to open the client side menu without a restore button, but typing the command and opening it provides the exact same menu with restore buttons. Having the command available to see/restore others that are not operator is great though, so glad to have it.
You see, the two screens you get from your client and the server are not equivalent at all. One of them has the deaths you client has tracked globally, for every world and server versus the other one which just shows the server-side log which is tracked by the server for each player individually and requires DeathLog to be installed on the server as well as operator permissions. So while I do see where you're coming from, it'll stay how it is to provide a clear separation of concerns.
Mods installed for test:
Steps for reproduction:
Here's the server log: https://pastebin.com/qfAb2QEs