Update dependencies and improve configuration management
- Updated LoLib dependency to version 3.0.0 in build.gradle.kts - Added HikariCP and MySQL connector dependencies for improved database handling - Enhanced jar minimization process to exclude JDBC pool and driver - Refactored configuration management by introducing ConfigAccessor and ConfigLoader for better file handling and validation - Removed deprecated GenerationOptions class and integrated its functionality into the new structure - Improved command error handling and added cooldown hints for admin commands
This commit is contained in:
parent
978f739045
commit
3100c53229
86 changed files with 4324 additions and 3248 deletions
|
|
@ -18,36 +18,29 @@ public class PagedMenu {
|
|||
}
|
||||
|
||||
public PagedMenu addToDisplay(List<Item> items) {
|
||||
// TODO: Implement with LoLib GUI
|
||||
return this;
|
||||
}
|
||||
|
||||
public PagedMenu item(int slot, Item item) {
|
||||
// TODO: Implement with LoLib GUI
|
||||
return this;
|
||||
}
|
||||
|
||||
public PagedMenu nextPage(int slot, Item item) {
|
||||
// TODO: Implement with LoLib GUI
|
||||
return this;
|
||||
}
|
||||
|
||||
public PagedMenu prevPage(int slot, Item item) {
|
||||
// TODO: Implement with LoLib GUI
|
||||
return this;
|
||||
}
|
||||
|
||||
public void page(int direction) {
|
||||
// TODO: Implement with LoLib GUI
|
||||
}
|
||||
|
||||
public List<Object> getTotalToDisplay() {
|
||||
// TODO: Implement with LoLib GUI
|
||||
return new ArrayList<>();
|
||||
}
|
||||
|
||||
public void open(Player player) {
|
||||
// TODO: Implement with LoLib GUI
|
||||
player.sendMessage("§cМеню временно недоступно во время миграции");
|
||||
player.sendMessage("§c" + title + " (" + rows + " рядов, " + items.size() + " пунктов) — меню временно недоступно.");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue