forked from Upstream/CommandPanels
3.5.1 Updates
This commit is contained in:
parent
fe2e7086af
commit
a6bdd0039d
@ -1,8 +1,9 @@
|
|||||||
# CommandPanels #
|
# |------------------------------------------------------------------------
|
||||||
# Config File #
|
# | CommandPanels Config File
|
||||||
# By RockyHawk #
|
# | By RockyHawk v3.0
|
||||||
|
# | https://www.spigotmc.org/resources/command-panels-custom-guis.67788/
|
||||||
|
# |------------------------------------------------------------------------
|
||||||
config:
|
config:
|
||||||
version: '3.0'
|
|
||||||
refresh-panels: true
|
refresh-panels: true
|
||||||
panel-blocks: true
|
panel-blocks: true
|
||||||
refresh-delay: '4'
|
refresh-delay: '4'
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# CommandPanels #
|
# |------------------------------------------------------------------------
|
||||||
# Example File #
|
# | CommandPanels Example File
|
||||||
# By RockyHawk #
|
# | By RockyHawk v2.0
|
||||||
|
# | https://www.spigotmc.org/resources/command-panels-custom-guis.67788/
|
||||||
|
# |------------------------------------------------------------------------
|
||||||
panels:
|
panels:
|
||||||
example:
|
example:
|
||||||
perm: default
|
perm: default
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: 3.5.0
|
version: 3.5.1
|
||||||
main: me.rockyhawk.commandPanels.commandpanels
|
main: me.rockyhawk.commandPanels.commandpanels
|
||||||
name: CommandPanels
|
name: CommandPanels
|
||||||
author: RockyHawk
|
author: RockyHawk
|
||||||
|
@ -132,15 +132,6 @@ public class commandpanels extends JavaPlugin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
|
||||||
if (!Objects.equals(this.config.getString("config.version"), "3.0")) {
|
|
||||||
Bukkit.getConsoleSender().sendMessage("[CommandPanels]" + ChatColor.RED + " WARNING: Config version doesn't match the recommended version. You may run into issues.");
|
|
||||||
Bukkit.getConsoleSender().sendMessage("[CommandPanels]" + ChatColor.RED + " WARNING: Either remove the config and generate a new one, or restore the original version of the plugin initially being used.");
|
|
||||||
}
|
|
||||||
} catch (Exception e) {
|
|
||||||
Bukkit.getConsoleSender().sendMessage("[CommandPanels]" + ChatColor.RED + " WARNING: Could not find config version! Your config may be missing some information!");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (Objects.requireNonNull(this.config.getString("config.update-notifications")).equalsIgnoreCase("true")) {
|
if (Objects.requireNonNull(this.config.getString("config.update-notifications")).equalsIgnoreCase("true")) {
|
||||||
githubNewUpdate();
|
githubNewUpdate();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user