Adds some deprecation notices to configuration.editor classes
This commit is contained in:
parent
20b44327e0
commit
eea951ecc6
|
@ -62,11 +62,13 @@ public class SongodaCore {
|
|||
/**
|
||||
* This is specific to the website api
|
||||
*/
|
||||
@Deprecated
|
||||
private final static int updaterVersion = 1;
|
||||
|
||||
private final static Set<PluginInfo> registeredPlugins = new HashSet<>();
|
||||
|
||||
private static SongodaCore INSTANCE = null;
|
||||
|
||||
private JavaPlugin piggybackedPlugin;
|
||||
private CommandManager commandManager;
|
||||
private EventListener loginListener;
|
||||
|
@ -233,6 +235,7 @@ public class SongodaCore {
|
|||
tasks.add(Bukkit.getScheduler().runTaskLaterAsynchronously(plugin, () -> update(info), 60L));
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
private void update(PluginInfo plugin) {
|
||||
try {
|
||||
URL url = new URL("https://update.songoda.com/index.php?plugin=" + plugin.getSongodaId()
|
||||
|
|
|
@ -26,7 +26,10 @@ import java.util.logging.Level;
|
|||
|
||||
/**
|
||||
* Edit a configuration file for a specific plugin
|
||||
*
|
||||
* @deprecated Needs a recode in another package
|
||||
*/
|
||||
@Deprecated
|
||||
public class ConfigEditorGui extends SimplePagedGui {
|
||||
final JavaPlugin plugin;
|
||||
final String file;
|
||||
|
|
|
@ -12,7 +12,10 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* Edit a string list
|
||||
*
|
||||
* @deprecated Needs a recode in another package
|
||||
*/
|
||||
@Deprecated
|
||||
public class ConfigEditorListEditorGui extends SimplePagedGui {
|
||||
final ConfigEditorGui current;
|
||||
|
||||
|
|
|
@ -18,7 +18,10 @@ import java.util.Map;
|
|||
|
||||
/**
|
||||
* Edit all configuration files for a specific plugin
|
||||
*
|
||||
* @deprecated Needs a recode in another package
|
||||
*/
|
||||
@Deprecated
|
||||
public class PluginConfigGui extends SimplePagedGui {
|
||||
final JavaPlugin plugin;
|
||||
LinkedHashMap<String, MemoryConfiguration> configs = new LinkedHashMap<>();
|
||||
|
|
Loading…
Reference in New Issue