TechnicallyCoded / Inventory-Rollback-Plus

Spigot/Bukkit plugin that allows server moderators to restore player items and data from backups.
https://www.spigotmc.org/resources/85811/
Other
78 stars 44 forks source link

bungeecord support #51

Open BearLeonLight opened 2 years ago

BearLeonLight commented 2 years ago

What is missing:

Can I add bungeecord support? I use him to make cross-server connections, but I can’t know which server he died, left, etc. to check the backpack, and I must first go to the individual server logs.

Specific changes to make:

I hope to add a server record when recording to record which server he came from.

This feature already exists here:

N/A

Additional context:

N/A

TechnicallyCoded commented 2 years ago

Maybe I don't understand the context of why you would need that very well, but couldn't you just use different table prefixes for each server if you want to keep the backups separate?

I may just not be understanding why this wouldn't work for your setup. If so, could you give me a description of how your server is setup. What are the different worlds, how players move from one server to another and what player data gets transferred to each server when a player moves over.

BearLeonLight commented 2 years ago

Because I link resources, survive, and two servers through BC. There is synchronization by hanging the server backpack, so the backpacks of the two servers are synchronized. I need to know the last time he used it to help restore the player's backpack. I use MysqlPlayerDataBridge for cross-server synchronization, and I can add support if I can hope.

TechnicallyCoded commented 2 years ago

Ah, I see, it would require that you give each server a name in the config though. I could probably add it for a next update.