mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Add a command list
This commit is contained in:
1 parent
30cf917969
commit
7a47868f86
6 files changed
+89
-17
No files matched your search
@@ -77,6 +77,10 @@ public class Settings {
|
||||
private int publicHomesPerPage;
|
||||
private int warpsPerPage;
|
||||
|
||||
// Help menu options
|
||||
private boolean hideCommandsFromHelpMenuWithoutPermission;
|
||||
private boolean hideHuskHomesCommandFromHelpMenu;
|
||||
|
||||
// RTP command settings
|
||||
private boolean doRtpCommand;
|
||||
private int rtpRange;
|
||||
@@ -220,6 +224,9 @@ public class Settings {
|
||||
this.publicHomesPerPage = config.getInt("general.lists.public_homes_per_page");
|
||||
this.warpsPerPage = config.getInt("general.lists.warps_per_page");
|
||||
|
||||
this.hideCommandsFromHelpMenuWithoutPermission = config.getBoolean("general.help_menu.hide_commands_without_permission");
|
||||
this.hideHuskHomesCommandFromHelpMenu = config.getBoolean("general.help_menu.hide_huskhomes_command");
|
||||
|
||||
this.maximumHomes = config.getInt("general.max_sethomes");
|
||||
this.teleportRequestExpiryTime = config.getInt("general.teleport_request_expiry_time");
|
||||
this.teleportWarmupTime = config.getInt("general.teleport_warmup_time");
|
||||
@@ -438,4 +445,12 @@ public class Settings {
|
||||
public boolean doHideRestrictedWarps() {
|
||||
return hideRestrictedWarps;
|
||||
}
|
||||
|
||||
public boolean hideCommandsFromHelpMenuWithoutPermission() {
|
||||
return hideCommandsFromHelpMenuWithoutPermission;
|
||||
}
|
||||
|
||||
public boolean hideHuskHomesCommandFromHelpMenu() {
|
||||
return hideHuskHomesCommandFromHelpMenu;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user