# Configuration file

##########################################################################################################
# globaloptions
#--------------------------------------------------------------------------------------------------------#
# These settings affect both servers and clients that loads the mod.
##########################################################################################################

globaloptions {
    # Enable receiving of model files to the server/client?
    # 
    # Min: 0
    # Max: 1
    I:allowReceivingOfHats=1

    # Enable sending of model files to the server/client?
    # 
    # Min: 0
    # Max: 1
    I:allowSendingOfHats=1

    # Enable mod mob support for Hats?
    # 
    # Min: 0
    # Max: 1
    I:modMobSupport=1

    # Read the local mod mob support file (HatModMobSupport.json) from the /hats/ folder?
    # If turned off, it'll pull the online GitHub version.
    # Use this to do testing with custom mob hats.
    # 
    # Min: 0
    # Max: 1
    I:readLocalModMobSupport=0

    # Enable safe load?
    # Safe load forces the mod to reject Techne Model Files that have files other than xml and png files.
    # 
    # Min: 0
    # Max: 1
    I:safeLoad=1
}


##########################################################################################################
# randomoboptions
#--------------------------------------------------------------------------------------------------------#
# These settings affect either the client on randoMob settings or Mob Hunting Mode.
##########################################################################################################

randomoboptions {
    # 
    # 
    # Min: 0
    # Max: 1
    I:hatBat=1

    # 
    # 
    # Min: 0
    # Max: 1
    I:hatBlaze=1

    # 
    # 
    # Min: 0
    # Max: 1
    I:hatChicken=1

    # 
    # 
    # Min: 0
    # Max: 1
    I:hatCow=1

    # 
    # 
    # Min: 0
    # Max: 1
    I:hatCreeper=1

    # 
    # 
    # Min: 0
    # Max: 1
    I:hatEnderman=1

    # 
    # 
    # Min: 0
    # Max: 1
    I:hatGhast=1

    # 
    # 
    # Min: 0
    # Max: 1
    I:hatHorse=1

    # 
    # 
    # Min: 0
    # Max: 1
    I:hatOcelot=1

    # 
    # 
    # Min: 0
    # Max: 1
    I:hatPig=1

    # 
    # 
    # Min: 0
    # Max: 1
    I:hatSheep=1

    # 
    # 
    # Min: 0
    # Max: 1
    I:hatSkeleton=1

    # 
    # 
    # Min: 0
    # Max: 1
    I:hatSlime=1

    # 
    # 
    # Min: 0
    # Max: 1
    I:hatSpider=1

    # 
    # 
    # Min: 0
    # Max: 1
    I:hatSquid=1

    # 
    # 
    # Min: 0
    # Max: 1
    I:hatVillager=1

    # 
    # 
    # Min: 0
    # Max: 1
    I:hatWither=1

    # 
    # 
    # Min: 0
    # Max: 1
    I:hatWolf=1

    # 
    # 
    # Min: 0
    # Max: 1
    I:hatZombie=1

    # Do mobs have a random chance of having a hat?
    # 0 = Disabled (0%)
    # 100 = All mobs (100%)
    # (Client)This follows the randomHat setting, meaning if randomHat is 0, all mobs will wear the favouriteHat setting
    # 
    # Min: 0
    # Max: 100
    I:randomMobHat=10

    # Allow the use of contributor hats when getting a random hat?
    # 0 - 100%
    # 
    # Min: 0
    # Max: 100
    I:useRandomContributorHats=80
}


##########################################################################################################
# serveroptions
#--------------------------------------------------------------------------------------------------------#
# These settings affect only the server that loads the mod.
##########################################################################################################

serveroptions {
    # Send a "First join" message to the player when they connect to a server for the first time?
    # 
    # Min: 0
    # Max: 1
    I:firstJoinMessage=1

    # The random seed for hats generation. Used for Hat Hunting mode and Time Active mode. Please do not put 0, although rarity will be enabled on the server, on the client it's marked as an indicator that rarity is disabled.
    # 
    I:hatGenerationSeed=-999401545

    # Should hats have their own rarity?
    # 
    # Min: 0
    # Max: 1
    I:hatRarity=1

    # What hat do players wear in Locked mode (see playerHatsMode 2).
    # If you want different players to wear different hats, use command giver mode.
    S:lockedHat=Straw Hat

    # Player Hats Mode:
    # 1 = Free Mode, All players are free to choose what hat to wear.
    # 2 = Locked mode, all players must wear the same hat, defined in the config.
    # 3 = Command Giver Mode, what hat you wear is chosen by people who can use commands.
    # 4 = Hat Hunting Mode, see a mob with a hat, kill it to unlock
    # 5 = King of the Hat Mode, only one shall wear a hat. The king has to defend their spot or lose the crown!
    # 6 = Time Active Mode, players unlock more hats the more time they are active on the server.
    # 
    # Min: 1
    # Max: 6
    I:playerHatsMode=4

    # Should player hats be reset when they die?
    # Only in unlockable hats modes
    # 
    # Min: 0
    # Max: 1
    I:resetPlayerHatsOnDeath=0

    # For playerHatsMode 6:
    # Time required to be active on the server to unlock the first hat.(In ticks)
    # 
    # Min: 10
    I:startTime=6000

    # For playerHatsMode 6:
    # Amount of extra time required to get the next level hat.
    # Default is 125 (1.25%).
    # For 200% time put 20000
    # 
    # Min: 0
    I:timeIncrement=125
}


