mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
heightmapinterface permission
Heightmapinterface permission added as you can download it on any server
This commit is contained in:
parent
4b07928994
commit
39ba616ffa
@ -175,6 +175,7 @@ public class UtilityCommands extends MethodCommands {
|
|||||||
aliases = {"/heightmapinterface"},
|
aliases = {"/heightmapinterface"},
|
||||||
desc = "Generate the heightmap interface: https://github.com/boy0001/HeightMap"
|
desc = "Generate the heightmap interface: https://github.com/boy0001/HeightMap"
|
||||||
)
|
)
|
||||||
|
@CommandPermissions("fawe.admin")
|
||||||
public void heightmapInterface(FawePlayer player, @Optional("100") int min, @Optional("200") int max) throws IOException {
|
public void heightmapInterface(FawePlayer player, @Optional("100") int min, @Optional("200") int max) throws IOException {
|
||||||
player.sendMessage("Please wait while we generate the minified heightmaps.");
|
player.sendMessage("Please wait while we generate the minified heightmaps.");
|
||||||
File srcFolder = MainUtil.getFile(Fawe.imp().getDirectory(), Settings.IMP.PATHS.HEIGHTMAP);
|
File srcFolder = MainUtil.getFile(Fawe.imp().getDirectory(), Settings.IMP.PATHS.HEIGHTMAP);
|
||||||
|
Loading…
Reference in New Issue
Block a user