diff --git a/Plan/api/src/main/java/com/djrapitops/plan/extension/annotation/PluginInfo.java b/Plan/api/src/main/java/com/djrapitops/plan/extension/annotation/PluginInfo.java index d7f08e0b3..b6689f4d7 100644 --- a/Plan/api/src/main/java/com/djrapitops/plan/extension/annotation/PluginInfo.java +++ b/Plan/api/src/main/java/com/djrapitops/plan/extension/annotation/PluginInfo.java @@ -67,4 +67,22 @@ public @interface PluginInfo { * @return Preferred color. If none are specified defaults are used. */ Color color() default Color.NONE; + + /** + * Should Plan call the player data provider methods when the player leaves. + *
+ * By default Plan calls the player methods only short time after joining. + * + * @return {@code false} by default. + */ + boolean updatePlayerDataOnLeave() default false; + + /** + * Should Plan call the server data provider methods periodically. + *
+ * By default Plan calls the server methods only short time after the extension is registered. + * + * @return {@code false} by default. + */ + boolean updateServerDataPeriodically() default false; }