If a LorePowers callback is triggered for a player, it can reset certain things because they don't have the associated powers, even when those things did not originate from powers. An example is disabling creative mode flight for someone if they are hit with a callback and don't have an active BEE_FLIGHT power. My solution is storing a copy of the data file that gets overwritten on each power edit. This has the positive side effect of backing up during power edits, in case a power outage or other server-disrupting event happens, which will save the data storage from being irreparably corrupted.
If a LorePowers callback is triggered for a player, it can reset certain things because they don't have the associated powers, even when those things did not originate from powers. An example is disabling creative mode flight for someone if they are hit with a callback and don't have an active
BEE_FLIGHTpower. My solution is storing a copy of the data file that gets overwritten on each power edit. This has the positive side effect of backing up during power edits, in case a power outage or other server-disrupting event happens, which will save the data storage from being irreparably corrupted.