Server

From wiki.minecolonies.com
Jump to: navigation, search

IF YOU ARE LOOKING FOR HOW TO INSTALL A SERVER GO TO FORGE OR FORGE.

General Config

Here you will find the "Configuration" file settings and command line options to manage the Colonies.

The Configuration file is in the "config" folder of your Minecraft Installation (Client and/or Server): ...\minecraft\config\minecolonies.cfg

# Configuration file

gameplay {
    # Allow infinite placing of Supply Chests?
    B:allowInfiniteSupplyChests=false

    # Allow player to use their own schematics (in MP)
    B:allowPlayerSchematics=false

    # Always render Citizen's name tag?
    B:alwaysRenderNameTag=true

    # Block mining Delay modifier, taken into account to determine how long a block need to be successfully mined
    I:blockMiningDelayModifier=1000

    # How many tick between placing blocks for the builder?
    I:builderBuildBlockDelay=0

    # Does Builder have infinite resources?
    B:builderInfiniteResources=false

    # Players get RespawnCitizensCommand
    B:canPlayerRespawnCitizensCommand=true

    # Players get AddOfficerCommand
    B:canPlayerUseAddOfficerCommand=true

    # Players get CitizenInfoCommand
    B:canPlayerUseCitizenInfoCommand=true

    # Players get DeleteColonyCommand
    B:canPlayerUseDeleteColonyCommand=true

    # Players get KillCitizensCommand
    B:canPlayerUseKillCitizensCommand=true

    # Players get ListCitizensCommand
    B:canPlayerUseListCitizensCommand=true

    # Players can use the MC TP Command or not
    B:canPlayerUseRTPCommand=true

    # Players get RefreshColonyCommand
    B:canPlayerUseRefreshColonyCommand=false

    # Players get ShowColonyInfoCommand
    B:canPlayerUseShowColonyInfoCommand=true

    # Chat Frequency (seconds)
    I:chatFrequency=30

    # Citizen respawn interval in seconds (range: 10 ~ 600, default: 30)
    I:citizenRespawnInterval=30

    # Does Deliveryman have infinite resources?
    B:deliverymanInfiniteResources=false

    # Display in-development features which do not work and may break your game
    B:development=false

    # Enable the automatic colony protection?
    B:enableColonyProtection=true

    # Blocks players should be able to interact with inside any colony.
    S:freeToInteractBlocks <
        block:dirt
        0 0 0
     >

    # Ignore the schematic from the jar file
    B:ignoreSchematicsFromJar=false

    # Limits the number of checked blocks per builder update
    I:maxBlocksCheckedByBuilder=1000

    # How many chached schematics the server can store before deleting them
    I:maxCachedSchematics=100

    # Maximum number of citizens
    I:maxCitizens=4

    # Distance from spawn in all directions
    I:maxDistanceFromWorldSpawn=8000

    # Required Op level to execute commands
    I:opLevelForServer=3

    # Should builder place construction tape
    B:placeConstructionTape=true

    # Allow crafting of a Supply Chest
    B:supplyChests=true

    # Time until the next teleport in seconds
    I:timeBetweenTeleport=120

    # Empty space between town hall boundaries
    I:townHallPadding=20

    # Turn off explosions inside the colonies radius?
    B:turnOffExplosionsInColonies=true

    # Colony size (radius)
    I:workingRangeTownHall=100
}

names {
    # Female First Names
    S:femaleFirstNames <
        Aaliyah
        ...
        Winifred
     >
    # Last Names
    S:lastNames <
        Brown
        ...
        Hampden
     >
    # Male First Names
    S:maleFirstNames <
        Aaron
        ...
        William
     >
}

pathfinding {
    # Render pathfinding results for debugging purposes (SSP only)
    B:debugDraw=false

    # Debug output verbosity of pathfinding (0=none, 1=results, 2=live work)
    I:debugVerbosity=0

    # Maximum number of threads to use for pathfinding.
    I:maxThreads=2
}

In-Game Commands

These are all the in-game commands. The commands require elevated privileges, which means that you have to be "/OP" if you are playing in SSP or LAN mode. If you are in a dedicated server you must have the proper permissions in the permission system you use.

This is the general command with all it's options:

/mc <colonies | colony | citizens | rtp | backup>

This is the First Command and it will show you the list of all the Towns. And all the Town's information: the Colony ID#, the Colony Name and the Coordinates.

/mc colonies list

Colony List.png
delete | addOfficer | refresh | ownerchange>
The Town information can be seen using the Colony ID# or the Player name. /mc colony info <colony ID#>

/mc colony info <player>

Colony Info.png
Command to Delete a Town using the Colony ID#. /mc colony delete <colony ID#>
Command to Add a Player as an Officer to a Town using the Colony ID# or the Player name. If none is provided it will add the player running the command. /mc colony addOfficer <colony ID#><Player name>
Command to "refresh" the Town's information using the Colony ID#. /mc colony refresh <colony ID#>
Command to change the Owner of the Town using the Colony ID# and the new owner Player's name. If none is provided it will add the player running the command.

/mc colony ownerchange <colony ID#><Player name>

kill | respawn | info>
Command to list all the citizens' information from a specific Town using the Colony ID#. If none is provided it will show the citizens' information of the player running the command. It will show the ID# and name of the Citizen. /mc citizens list <colony ID#>
Citizen List.png
Command to Eliminate a Citizen from a Town using the Colony ID# and the Citizen's ID#. /mc citizens kill <colony ID#><citizen ID#>
Command to respawn a Citizen. Requires using the Colony ID# and the Citizen ID#. /mc citizens respawn <colony ID#><citizen ID#>
Command to get the information of a Citizen. Requires using the Colony ID# and the Citizen ID#. /mc citizens info <colony ID#><citizen ID#>
This is the Fourth Command "rtp". It will execute a random teleport, no additional options. /mc rtp
This is the Fifth Command "backup" used to do a manual "minecolonies.dat" file backup. /mc backup

Sponge Config

entity-activation-range {
        # If enabled, newly discovered entities will be added to this config with a default value.
        auto-populate=false
        # Default activation ranges used for all entities unless overidden.
        defaults {
            ambient=32
            aquatic=32
            creature=32
            misc=16
            monster=32
        }
        # Per-mod overrides. Refer to the minecraft default mod for example.
        mods {
            minecolonies {
                defaults {
                    misc=512
                }
                # Set to false if you want mod to ignore entity activation rules and always tick.
                enabled=false
                entities {
                    citizen=512
                }
            }
    }
}