Skip to content

Configuration

Andrew edited this page Jul 19, 2019 · 2 revisions

Configuration File

# Configuration file

banmanager {
    # When no tempban duration is specified, how long should the player be banned by default?
    S:defaultBanDuration=1h

    # When no ban message is specified, what message should be sent to the banned player?
    S:defaultBanMessage=The Ban Hammer Has Spoken!

    # When no warn message is specified, what message should be sent to the warned player?
    S:defaultWarnDuration=You Have Been Warned!
}


chat {
    # Allows editing chat messages, includes different Mod support
    S:chatModifications=[ExampleMod][GroupPrefix][UserPrefix] PlayerName [UserSuffix][GroupSuffix]: message

    # Specify the default chat channel name
    S:defaultChatChannel=Global

    # Specify the default chat channel's prefix
    S:defaultChatChannelPrefix=&6[G]

    # Should players be forced into the default channel on logging in?
    B:forceDefaultChannelLogin=true
}


database {
    # Database Host
    S:dbHost=Host

    # The Name Of The Database
    S:dbName=ConstitutionDB

    # Database Password
    S:dbPassword=password

    # Alternative Database Path
    S:dbPath=dbPath

    # Database Type, Supported Options: MySQL, SQLite, SQL
    S:dbType=SQLite

    # Database Username
    S:dbUsername=username
}


economy {
    # Default financial balance of players, must be in decimal format ie (0.00)
    D:defaultUserBalance=0.0
}


localization {
    # The localization file used, currently we only support English.
    S:localization=en_US
}


permissions {
    # Specify Default Group Description
    S:defaultGroupDesc=This Is The Default Group

    # Specify Default Group Name
    S:defaultGroupName=default

    # Specify Default Group prefix
    S:defaultGroupPrefix=&8[&2Default&8]

    # Specify Default Group Rank
    I:defaultGroupRank=10

    # Specify Default Group suffix
    S:defaultGroupSuffix=

    # Specify Whether Ops get Full Access
    B:fullAccessForOps=true

    # Specify Permission System To Be Used, Currently no other modular support implemented, changing will crash, don't touch unless you know what you're doing.
    S:permissionSystem=$Constitution
}


users {
    # Controls Whether or Not To Force All Players To Survival Mode on Succesful Login
    B:forceSurvivalMode=false

    # Changes The Game Mode of The User Back To Last Recorded Mode (ie: before they logged off)
    B:setLastGameMode=true
}

Clone this wiki locally