mirror of
https://github.com/BentoBoxWorld/CaveBlock.git
synced 2025-01-25 21:31:20 +01:00
Startup (#21)
* Fixed for BentoBox 1.5.0 API Enables dedicated caveblock world operation * Added island near command. * Update pom.xml
This commit is contained in:
parent
418eb7bef2
commit
a119181b46
2
pom.xml
2
pom.xml
@ -46,7 +46,7 @@
|
|||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
<!-- More visible way how to change dependency versions -->
|
<!-- More visible way how to change dependency versions -->
|
||||||
<spigot.version>1.13.2-R0.1-SNAPSHOT</spigot.version>
|
<spigot.version>1.13.2-R0.1-SNAPSHOT</spigot.version>
|
||||||
<bentobox.version>1.4.0</bentobox.version>
|
<bentobox.version>1.5.0</bentobox.version>
|
||||||
<!-- Revision variable removes warning about dynamic version -->
|
<!-- Revision variable removes warning about dynamic version -->
|
||||||
<revision>${build.version}-SNAPSHOT</revision>
|
<revision>${build.version}-SNAPSHOT</revision>
|
||||||
<!-- This allows to change between versions and snapshots. -->
|
<!-- This allows to change between versions and snapshots. -->
|
||||||
|
@ -32,6 +32,12 @@ public class CaveBlock extends GameModeAddon
|
|||||||
this.saveDefaultConfig();
|
this.saveDefaultConfig();
|
||||||
this.loadSettings();
|
this.loadSettings();
|
||||||
this.saveWorldSettings();
|
this.saveWorldSettings();
|
||||||
|
|
||||||
|
this.chunkGenerator = new ChunkGeneratorWorld(this);
|
||||||
|
|
||||||
|
this.playerCommand = new IslandCommand(this);
|
||||||
|
this.adminCommand = new AdminCommand(this);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -41,8 +47,6 @@ public class CaveBlock extends GameModeAddon
|
|||||||
@Override
|
@Override
|
||||||
public void onEnable()
|
public void onEnable()
|
||||||
{
|
{
|
||||||
this.playerCommand = new IslandCommand(this);
|
|
||||||
this.adminCommand = new AdminCommand(this);
|
|
||||||
|
|
||||||
// Register flags
|
// Register flags
|
||||||
CaveBlock.ALTERNATIVE_TELEPORT_FLAG.addGameModeAddon(this);
|
CaveBlock.ALTERNATIVE_TELEPORT_FLAG.addGameModeAddon(this);
|
||||||
@ -113,8 +117,6 @@ public class CaveBlock extends GameModeAddon
|
|||||||
this.getLogger().info("Creating CaveBlock world ...");
|
this.getLogger().info("Creating CaveBlock world ...");
|
||||||
}
|
}
|
||||||
|
|
||||||
this.chunkGenerator = new ChunkGeneratorWorld(this);
|
|
||||||
|
|
||||||
// Create the world if it does not exist
|
// Create the world if it does not exist
|
||||||
this.islandWorld = WorldCreator.name(worldName).
|
this.islandWorld = WorldCreator.name(worldName).
|
||||||
type(WorldType.FLAT).
|
type(WorldType.FLAT).
|
||||||
|
@ -44,6 +44,7 @@ public class IslandCommand extends CompositeCommand {
|
|||||||
new IslandBanCommand(this);
|
new IslandBanCommand(this);
|
||||||
new IslandUnbanCommand(this);
|
new IslandUnbanCommand(this);
|
||||||
new IslandBanlistCommand(this);
|
new IslandBanlistCommand(this);
|
||||||
|
new IslandNearCommand(this);
|
||||||
|
|
||||||
// Expel command
|
// Expel command
|
||||||
new IslandExpelCommand(this);
|
new IslandExpelCommand(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user