mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Added developer API and events
Added essentials migrator
This commit is contained in:
1 parent
f1a1df6858
commit
739359cbd6
63 files changed
+1699
-259
No files matched your search
@@ -55,8 +55,8 @@ public class listHandler {
|
||||
|
||||
private static void displayPageButtons(Player p, int pageNumber, int homeListSize, int homeUpperBound, String command) {
|
||||
ComponentBuilder pageButtons = new ComponentBuilder();
|
||||
TextComponent nextPageButton = pageButton("[Next Page →]", net.md_5.bungee.api.ChatColor.GREEN, command + " " + (pageNumber + 1), "Click to view next 10");
|
||||
TextComponent previousPageButton = pageButton("[← Last Page]", net.md_5.bungee.api.ChatColor.RED, command + " " + (pageNumber - 1), "Click to view previous 10");
|
||||
TextComponent nextPageButton = pageButton("[Next Page >]", net.md_5.bungee.api.ChatColor.GREEN, command + " " + (pageNumber + 1), "Click to view next 10");
|
||||
TextComponent previousPageButton = pageButton("[< Last Page]", net.md_5.bungee.api.ChatColor.RED, command + " " + (pageNumber - 1), "Click to view previous 10");
|
||||
TextComponent divider = new TextComponent(" • ");
|
||||
divider.setColor(net.md_5.bungee.api.ChatColor.GRAY);
|
||||
|
||||
|
||||
Reference in new issue
Block a user