Skip to content
This repository has been archived by the owner on Aug 1, 2018. It is now read-only.
/ fallout Public archive

Hassle free and robust minecraft kingdom engine ready to bring action in your adventure / freebuild server and start the clash of cities and clans. Provides and extensive API and easily integrates within your existing environment with support for many other plugins.

Notifications You must be signed in to change notification settings

felixklauke/fallout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fallout

Hassle free and robust minecraft city build engine ready to bring action in your adventure / freebuild server and start the clash of cities and clans. Provides and extensive API and easily integrates within your existing environment with support for many other plugins.

API Example

1. Obtain application instance:

FalloutSpigotPlugin falloutPlugin = Bukkit.getPluginManager().getPlugin("fallout");
FalloutSpigotApplication falloutApplication = falloutPlugin.getFalloutApplication();

2. Get specific controller:

KingdomController kingdomController = falloutApplication.getKingdomController();

3. Execute some cool actions.

Creating a kingdom:

Note: When you create a kingdom you have to provide the player who creates the kingdom and the location of the initial holding the kingdom will use as capital.

UUID kingdomUniqueId = UUID.randomUUID();
UUID playerUniqueId = UUID.randomUUID();
String kingdomName = "CoolKingdom";
String kingdomDescription = "Another cool kingdom";

kingdomController.createKingdom(kingdomUniqueId, playerUniqueId, kingdomName, 500, kingdomDescription, worldName, chunkX, chunkZ, new Consumer<Boolean>() {
    @Override
    public void accept(Boolean result) {
        // callback
    }
});

About

Hassle free and robust minecraft kingdom engine ready to bring action in your adventure / freebuild server and start the clash of cities and clans. Provides and extensive API and easily integrates within your existing environment with support for many other plugins.

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages