aromaa / WorldGuardExtraFlags

Extension for the WorldGuard plugin.
https://www.spigotmc.org/resources/worldguard-extra-flags.4823
MIT License
88 stars 70 forks source link

Plugin is creating deprecated timing handlers #236

Closed PhaserArray closed 1 year ago

PhaserArray commented 1 year ago

As of the Paper builds for 1.19.4 with Worldguard 7.0.8, it seems that they are starting to deprecate some feature that this plugin is using, the warning on start-up say to report it to the plugin author. I'm pasting the warnings below:

Click to show the entire log (it's the same warning for each flag) ``` log [09:25:52 INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.TeleportOnEntryFlagHandler [09:25:52 WARN]: Plugin 'WorldGuard' is creating timing 'Third-Party Session Handlers' - this is deprecated behavior, please report it to the authors: [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3 ``` ```log [09:25:52 INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.TeleportOnEntryFlagHandler [09:25:52 WARN]: Plugin 'WorldGuard' is creating timing 'Third-Party Session Handlers' - this is deprecated behavior, please report it to the authors: [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'TeleportOnEntryFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.TeleportOnExitFlagHandler [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'TeleportOnExitFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.CommandOnEntryFlagHandler [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'CommandOnEntryFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.CommandOnExitFlagHandler [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'CommandOnExitFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.ConsoleCommandOnEntryFlagHandler [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'ConsoleCommandOnEntryFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.ConsoleCommandOnExitFlagHandler [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'ConsoleCommandOnExitFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.WalkSpeedFlagHandler [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'WalkSpeedFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.BlockedEffectsFlagHandler [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'BlockedEffectsFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.GodmodeFlagHandler [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'GodmodeFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.GiveEffectsFlagHandler [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'GiveEffectsFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.FlyFlagHandler [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'FlyFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.FlySpeedFlagHandler [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'FlySpeedFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.PlaySoundsFlagHandler [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'PlaySoundsFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 INFO]: [WorldGuard] Registering session handler net.goldtreeservers.worldguardextraflags.wg.handlers.GlideFlagHandler [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'Session Handlers' - this is deprecated behavior, please report it to the authors: isokissa3 [09:25:52 WARN]: Plugin 'WorldGuardExtraFlags' is creating timing 'GlideFlagHandler' - this is deprecated behavior, please report it to the authors: isokissa3 ```

Seems to be related to this change in Paper:

[09:42:32 WARN]: [!] The timings profiler has been enabled but has been scheduled for removal from Paper in the future.
    We recommend installing the spark profiler as a replacement: https://spark.lucko.me/
    For more information please visit: https://github.com/PaperMC/Paper/issues/8948
aromaa commented 1 year ago

This stems from WorldGuard