Paul2708 / simple-commands

An (even more) simplified and intuitive command framework for Spigot.
MIT License
14 stars 2 forks source link

Load language file from outside #15

Closed Paul2708 closed 5 years ago

Paul2708 commented 5 years ago

Description

As the framework already provides a "language system" (based on resource bundles), the user should load them from outside the jar (e.g. plugin data folder) to create new languages and customize existing ones.

Usage

Implementation idea Add a method like void loadFromFile(String directory) to LanguageSelector to load the resources from a defined path.