v0.2.1 released
This commit is contained in:
24
Metropolis/README.txt
Normal file
24
Metropolis/README.txt
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
Metropolis generates a home for each user connecting to your world with roads between them. As new users connect the city expands.
|
||||||
|
|
||||||
|
WorldGuard regions are used for each home and for the city as a whole.
|
||||||
|
|
||||||
|
One region called "City" is created to protect the spawn and roads. As the assigned blocks expand this region is automatically updated.
|
||||||
|
|
||||||
|
Each user gets assigned a home region named "h_username" where username is replaced with their username. This region is surrounded by a road and located next to an existing region.
|
||||||
|
|
||||||
|
After creation these regions can be modified as normal via WorldGuard commands.
|
||||||
|
|
||||||
|
INSTALL:
|
||||||
|
To install just drop the jar into your plugins folder. All necessarry data will be created on first launch.
|
||||||
|
|
||||||
|
CONFIG:
|
||||||
|
There are no configuration options currently, eventually block size, road width, road height and space above the road will be configurable.
|
||||||
|
|
||||||
|
Changelog:
|
||||||
|
v0.2.1
|
||||||
|
Made config file save on load and disable.
|
||||||
|
v0.2
|
||||||
|
Added configuration options.
|
||||||
|
|
||||||
|
v0.1
|
||||||
|
Initial Release
|
||||||
@@ -4,7 +4,6 @@ import java.util.ArrayList;
|
|||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
@@ -49,6 +48,7 @@ public class MetropolisPlugin extends JavaPlugin {
|
|||||||
@Override
|
@Override
|
||||||
public void onDisable() {
|
public void onDisable() {
|
||||||
log.info(String.format("%s disabled", pdf.getFullName()));
|
log.info(String.format("%s disabled", pdf.getFullName()));
|
||||||
|
saveConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -110,6 +110,9 @@ public class MetropolisPlugin extends JavaPlugin {
|
|||||||
roadLevel = config.getInt("road.level");
|
roadLevel = config.getInt("road.level");
|
||||||
roadMaterial = config.getInt("road.material");
|
roadMaterial = config.getInt("road.material");
|
||||||
|
|
||||||
|
saveConfig();
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Set<String>strings = config.getKeys(true);
|
Set<String>strings = config.getKeys(true);
|
||||||
log.info(String.valueOf(strings.size()));
|
log.info(String.valueOf(strings.size()));
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name: Metropolis
|
name: Metropolis
|
||||||
main: com.majinnaibu.bukkit.plugins.metropolis.MetropolisPlugin
|
main: com.majinnaibu.bukkit.plugins.metropolis.MetropolisPlugin
|
||||||
depend: [WorldEdit, WorldGuard]
|
depend: [WorldEdit, WorldGuard]
|
||||||
version: 0.2
|
version: 0.2.1
|
||||||
database: true
|
database: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user