Archy-X / AuraSkills

The ultra-versatile RPG skills plugin
https://aurelium.dev/auraskills
GNU General Public License v3.0
245 stars 96 forks source link

Skill data load on join but doesn't save when PlayerQuit(Bungee) #162

Open Mu-cream opened 1 year ago

Mu-cream commented 1 year ago

Server software and version

Paper 1.18.2

Expected behavior

When player skills up to X in Server A,Then join Server B immediately,Mysql doesn't change and Server B just load the old data,and when data save player still in Server B,old data was saved;

Actual behavior

Data doesn't save when PlayerQuit;

How to reproduce

Set One skill to a level and join other server,the skill level still old(Mysql:True Bungee)

Additional information

No response

Agreements

Archy-X commented 1 year ago

You should set mysql.load-delay to at least 10 on both servers, so joining a server waits for the left server to save data before loading. This is the only way around the issue currently. If it continues happening just increase the delay until it doesn't. (Delay is in ticks)

Mu-cream commented 1 year ago

Oh,Thanks,I'll try it;

------------------ 原始邮件 ------------------ 发件人: "Archy-X/AureliumSkills" @.>; 发送时间: 2023年2月7日(星期二) 上午6:08 @.>; @.**@.>; 主题: Re: [Archy-X/AureliumSkills] Skill data load on join but doesn't save when PlayerQuit(Bungee) (Issue #162)

You should set mysql.load-delay to at least 10 on both servers, so joining a server waits for the left server to save data before loading. This is the only way around the issue currently. If it continues happening just increase the delay until it doesn't. (Delay is in ticks)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>