# Configuration file

##########################################################################################################
# clientonly
#--------------------------------------------------------------------------------------------------------#
# These settings affect only the client that loads the mod.
##########################################################################################################

clientonly {
    # Enable hats in servers without the mod?
    # 
    # Min: 0
    # Max: 1
    I:enableInServersWithoutMod=1

    # What hat do you want to use on servers without the mod? Only when randomHat = 0
    S:favouriteHat=Top Hat

    # Do you want to apply a colourizer to your favourite hat?
    # If no, leave as #ffffff
    # (Google "hex color codes" if you don't understand)
    # Format: #<colour index>
    # Eg: #ffffff for white
    S:favouriteHatColourizer=#ffffff

    # Max number of hats to render in one tick
    # 
    # Min: 0
    # Max: 5000
    I:maxHatRenders=300

    # This config is for your GUI personalization.
    # Please don't change this if you don't know what you're doing.
    S:personalizeEnabled=1 2 3 4 5 6 7 8 9

    # Should each player have a random hat?
    # They randomly change from time to time.
    # 0 = No
    # 1 = Yes
    # 2 = Yes, but not the player!
    # Only when enabled on servers without the mod
    # 
    # Min: 0
    # Max: 2
    I:randomHat=2

    # Render Hats?
    # 
    # Min: 0
    # Max: 1
    I:renderHats=1

    # Should your hat render in first person?
    # 
    # Min: 0
    # Max: 1
    I:renderInFirstPerson=0

    # Do other players have hats? Only when enabled on servers without the mod.
    # 
    # Min: 0
    # Max: 1
    I:shouldOtherPlayersHaveHats=1

    # Show Contributor Hats in the GUI?
    # 
    # Min: 0
    # Max: 1
    I:showContributorHatsInGui=1
}


##########################################################################################################
# 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=-90720016

    # 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
}


