Package valorless.havenbags.commands
Class CommandConvertEpicBackpacks
java.lang.Object
valorless.havenbags.commands.CommandConvertEpicBackpacks
Utility command to convert data from the EpicBackpacks plugin into
HavenBags format.
This class provides methods used by the conversion command to read EpicBackpacks player files, create corresponding HavenBags and register them in the plugin's player mapping.
- Since:
- 1.27.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CommandConvertEpicBackpacks
public CommandConvertEpicBackpacks()
-
-
Method Details
-
Run
Execute the EpicBackpacks -> HavenBags conversion routine.- Parameters:
command- the HBCommand representing the command invocation context- Returns:
- true if the command execution completed (either successfully or after handling an error)
- Since:
- 1.27.0
-
getFiles
Return a list of file names contained in the given folder that end with the .yml extension. The returned names will not include the .yml suffix.- Parameters:
folder- the directory to scan for .yml files- Returns:
- a list of file names (without the .yml extension)
- Since:
- 1.27.0
-