v0.2.1 released

This commit is contained in:
2012-02-08 04:38:11 -08:00
parent 7af44c742b
commit c875973453
3 changed files with 29 additions and 2 deletions

24
Metropolis/README.txt Normal file
View 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

View File

@@ -4,7 +4,6 @@ import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.logging.Logger;
import org.bukkit.World;
@@ -49,6 +48,7 @@ public class MetropolisPlugin extends JavaPlugin {
@Override
public void onDisable() {
log.info(String.format("%s disabled", pdf.getFullName()));
saveConfig();
}
@Override
@@ -110,6 +110,9 @@ public class MetropolisPlugin extends JavaPlugin {
roadLevel = config.getInt("road.level");
roadMaterial = config.getInt("road.material");
saveConfig();
/*
Set<String>strings = config.getKeys(true);
log.info(String.valueOf(strings.size()));

View File

@@ -1,6 +1,6 @@
name: Metropolis
main: com.majinnaibu.bukkit.plugins.metropolis.MetropolisPlugin
depend: [WorldEdit, WorldGuard]
version: 0.2
version: 0.2.1
database: true