XConfig icon

XConfig -----

A simple and lightweight library to create and handle configuration files.




Changed
• Renamed return methods from YamlFile objects -> folderName(), fileName(), file().
• Renamed getYaml() methods from ConfigurationManager objects -> file().
• Made void type static methods from SimpleConfigurationHandler objects.

Fixed
• Fixed error Cannot create the file {} to create a new file.
• Fixed error Cannot delete the file {} because already doesn't exist error to trying to delete a file.

Release v1.1.7 · InitSync/XConfig (github.com)
----------, Feb 24, 2023

Changes
• Ignored bin project directory for Git.
• Removed main library interfaces (XConfigBukkit / XConfigBungee).
• Made handlers and managers constructors as private (replaced with instance methods).

Features
• Implemented ConfigurationManager#getYaml(String) and ConfigurationManager#getYaml(String...) methods for get YamlFile objects from files.
• Implemented get() method to get an instance of SimpleConfigurationHandler or SimpleConfigurationManager.
• Implemented register()/ unregister() method for manage handlers/managers instances providers.

Release v1.1.6 · InitSync/XConfig (github.com)
----------, Feb 13, 2023

Changes
• Cached server version/protocol version on static final var at TextUtils to avoid repeatedly method calls for get and check value for colorize.
• Added extra Preconditions#checkNotNull checks at the methods of the main interfaces.
• Removed necessity of folderName parameter usage on almost all methods.
• Add initial check on TextUtils#colorize(String) (Bungee type) method for check that the version is minor than 735 (1.16).

Features
Improved and simplified ConfigurationManager inheritors classes, removed double Table objects and using a single Map object for cache the files using a new file for it -> YamlFile. This simplifies the creation/load of the files.
• Implemented ConfigurationManager#get(String...) method to get a List of FileConfiguration or Configuration objects.

Release v1.1.5-t1 · InitSync/XConfig (github.com)
----------, Feb 10, 2023

Features
Reorganized library directories and renamed classes.

Added new method called TextUtils#containsIgnoreCase, allows check if the string given contains (without import the case sensitive) the char-sequence (String) specified.

Optimized TextUtils#colorize method and improved her structure.

Release v1.1.4 · InitSync/XConfig (github.com)
----------, Jan 17, 2023

Improvements
• Added new method: buildCustom() this method is available for the two library platforms (Bukkit/Bungee). This method allows you create new custom files out of jar, these files are not included inside of plugin jar file.

• Added new method: isCreated() this method is available for the two library platforms (Bukkit/Bungee). This method checks if the file specified exists.

Release v1.1.3 · InitSync/XConfig (github.com)
----------, Dec 24, 2022

Improvements
• Re-organized project components separating between subprojects ( bukkit/ bungee).
• Added publications for each subproject, now you can import just the subproject that you need.
• Added interfaces for every subproject type. XConfigBukkit | XConfigBungee.
• New installation guide.

Removed
• Old single XConfig interface.

Release v1.1.26 · InitSync/XConfig (github.com)
----------, Dec 16, 2022

Improvements
• Now you can get a file using their folder name (if there a folder for this). Ex: BukkitConfigurationHandler# file("languages", "messages_en.yml");
• Now you can require if the String/ List<String> object that you get must be colorized with TextUtils#colorize().

Removed
Required Logger type parameters from the Handlers/Managers and the interface XConfig.

Release v1.1.23 · InitSync/XConfig (github.com)
----------, Dec 10, 2022

Improvements
• Reduced the library size.

Fixed
• TextUtils ( BungeeCord) class error with the ProxyServer object that can't be found when the API is running at Spigot servers.

Modified
doSomething() methods renamed to write() and modified for just set objects.
• Replaced Validate#notEmpty() from commons-lang methods by Preconditions#checkArgument() methods.

Removed
• Action Enum to reduce complexity
• commons-lang library to reduce size.
save(String folderName, String fileName) methods from the handlers.

Release v1.1.2 · InitSync/XConfig (github.com)
----------, Dec 7, 2022

Added
• Variants of the methods to return values for the handlers [Not for all] (Bukkit/BungeeCord), with that new methods you can get a concrete value.

Modified
BukkitConfigurationModel & BungeeConfigurationModel interfaces declaring the methods build(...) and delete(...) as default and removing it from their implementations.

Fixed
• An error with the custom file creation (out of jar), removed this function to avoid more errors by now (BETA)

Release v1.1.1 · InitSync/XConfig (github.com)
----------, Nov 30, 2022

Fixed
• An error with the file's creation ( build() method) that not let create a new file if this not exist and have a folder to insert.

Release v1.1.0 · InitSync/XConfig (github.com)
----------, Nov 29, 2022

Modified
create() method renamed to build().

Fixed
create() method because not load the file if this already exists.

Removed
load() method.

Release v1.0.8 · InitSync/XConfig (github.com)
----------, Nov 27, 2022

Added
(BETA) delete() method for the Bukkit/BungeeConfigurationModel interfaces, this method allows you delete any file if that file yet exists.
• Dependency Injection for the Logger at the Bukkit/Bungee classes to remove unnecessary calls to the logger with Bukkit#getLogger() or ProxyServer#getInstance()#getLogger().
• New methods to return values implemented at the Bukkit/Bungee handler classes.

Modified
create() method for Bukkit/BungeeConfigurationModel interfaces to allow create custom files even if this isn't inside the plugin jar (Not Resource)

Removed
• JetBrains Annotations to reduce size.

Release v1.0.7 · InitSync/XConfig (github.com)
----------, Nov 26, 2022

Added
XConfig interface added to replace old ConfigurationService interface.

Fixed
• An error to save a file that was created with a folder.

Removed
ConfigurationService interface.
----------, Nov 20, 2022

Added
• Checks for some methods ( BukkitConfigurationHandler & BungeeConfigurationHandler) to verify if their return values had null.
• TextUtils class for Bukkit and BungeeCord platforms to allow colorize the String values and add HEX colors support.

Release v1.0.5 · InitSync/XConfig (github.com)
----------, Nov 17, 2022

Fixed
• The number() method from the handlers due to an error to write the new code.
----------, Nov 6, 2022

Added
• New way of get the file using the handlers, now already not necessary use an enum to identify what files you want to get, with just write the file name is most easy.

Removed
• 'File' enum class.

Release v1.0.3 · InitSync/XConfig (github.com)
----------, Nov 6, 2022

Fixed:
• Modified 'create(...)' method of BukkitConfigurationModelImpl and BungeeConfigurationModelImpl.

Release v1.0.2 · InitSync/XConfig (github.com)
----------, Oct 31, 2022

Added:
• Support for BungeeCord.
• New methods to create files.
Fixed:
• A error with the 'create()' method for the Bukkit Configuration Manager.
Modified:
Renamed some files to separate Bukkit and Bungee controllers.
• ManagerModel renamed to BukkitConfigurationModelImpl.
• HandlerModel renamed to BukkitConfigurationHandlerImpl.
• ConfigurationModel renamed to BukkitConfigurationModel.
• ConfigurationHandler renamed to BukkitConfigurationHandler.​
----------, Oct 30, 2022

Resource Information
Author:
----------
Total Downloads: 1,367
First Release: Oct 29, 2022
Last Update: Feb 24, 2023
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings