# FTB Essentials config file
# If you're a modpack maker, edit defaultconfigs/ftbessentials-server.snbt instead

{
	# If true, the mod will register its commands to the 'ftbessentials' namespace as well as the root namespace
	# otherwise it will only register to the root namespace
	# This setting has no effect if 'register_to_namespace' is false
	# Default: false
	register_alias_as_well_as_namespace: false
	
	# If true, the mod will register its commands to the 'ftbessentials' namespace,
	# otherwise it will register to the root namespace
	# Default: false
	register_to_namespace: false
	
	# Admin commands for cheating and moderation
	admin: {
		# Allows admins to extinguish themselves or a player using a command
		extinguish: {
			# Default: true
			enabled: true
		}
		
		# Allows admins to fully feed themselves or a player using a command
		feed: {
			# Default: true
			enabled: true
		}
		
		# Allows admins to toggle flying status using a command, without having to use Creative Mode
		fly: {
			# Default: true
			enabled: true
		}
		
		# Allows admins to toggle invincibility using a command, without having to use Creative Mode
		god: {
			# Default: true
			enabled: true
		}
		
		# Allows admins to fully heal (health, food, fire, potion effects) themselves or a player using a command
		heal: {
			# Default: true
			enabled: true
		}
		
		# Allows admins to view other users' inventories using a command
		invsee: {
			# Default: true
			enabled: true
		}
		
		# Allows admins to configure kits of items that can be given to players.
		kit: {
			# Default: true
			enabled: true
		}
		
		# Allows admins to restrict players from chatting by using a command to mute (or unmute) them
		mute: {
			# Default: true
			enabled: true
		}
		
		# Allows admins to change walk speed for themselves or a player
		speed: {
			# Default: true
			enabled: true
		}
		
		# Allows admins to change the location of offline players.
		tp_offline: {
			# Default: true
			enabled: true
		}
	}
	
	# Cross-mod integration
	integration: {
		# If true, and FTB Team Bases is installed, then the '/spawn' command will instead send players to the lobby
		# Default: true
		team_bases_spawn_override: true
	}
	
	# Miscellaneous features and utilities
	misc: {
		# Allows users to access an Anvil GUI without needing an Anvil.
		anvil: {
			# Default: true
			enabled: true
		}
		
		# Allows users to access a Crafting Table GUI without needing a Crafting Table.
		crafting: {
			# Default: true
			enabled: true
		}
		
		# Allows users to access their ender chest, as well as admins to manage other players' ender chests.
		enderchest: {
			# Default: true
			enabled: true
		}
		
		# Allows users to set a custom hat as their head item by using a command
		hat: {
			# Default: true
			enabled: true
		}
		
		# Allows users to kick themselves from the server, for example if they are stuck or desynced
		kickme: {
			# Default: true
			enabled: true
		}
		
		# Allows users to view leaderboard stats about everyone on the server.
		leaderboard: {
			# Default: true
			enabled: true
		}
		
		# Allows users to list nearby players, sorted by distance
		near: {
			# Default: true
			enabled: true
		}
		
		# Allows users to change their display name, as well as admins to change nicknames for other users
		nick: {
			# Default: true
			enabled: true
		}
		
		# Allows users to announce their recording or streaming status to the server by using commands
		rec: {
			# Default: true
			enabled: true
		}
		
		# Allows users to access a Smithing Table GUI without needing a Smithing Table.
		smithing: {
			# Default: true
			enabled: true
		}
		
		# Allows users to access a Stonecutter GUI without needing a Stonecutter.
		stonecutter: {
			# Default: true
			enabled: true
		}
		
		# Enables usage of a trash can inventory, which can be used to void unneeded items
		trashcan: {
			# Default: true
			enabled: true
		}
	}
	
	# Teleportation-related settings
	teleportation: {
		# If true, admin-level players (i.e. permission level >= 2) are exempt from
		# the dimension controls defined in teleportation -> blacklists and
		# in teleportation -> rtp -> dimension_blacklist/whitelist
		# Default: true
		admins_exempt_dimension_blacklists: true
		
		# Allows users to return to their previous location after teleporting (or dying)
		back: {
			# Cooldown between /back commands (in seconds)
			# You can override this with FTB Ranks using ftbessentials.back.cooldown
			# Default: 30
			# Range: 0 ~ 604800
			cooldown: 30
			
			# Default: true
			enabled: true
			
			# Max size of the teleport history. This limits how many times you can use /back
			# You can override this with FTB Ranks using ftbessentials.back.max
			# Default: 10
			# Range: 0 ~ 2147483647
			max: 10
			
			# Should be the /back command only be used for returning to the last death point?
			# Default: false
			only_on_death: false
			
			# Warm-up time before /back command executes (in seconds)
			# You can override this with FTB Ranks using ftbessentials.back.warmup
			# Default: 0
			# Range: 0 ~ 604800
			warmup: 0
		}
		
		# Blacklists for all teleport commands
		# Wildcarded dimensions (e.g. 'somemod:*') are supported
		blacklists: {
			# Dimensions players aren't permitted to run teleport commands in.
			# Default: []
			from: [ ]
			
			# Dimensions players aren't permitted to teleport into.
			# Default: []
			to: [ ]
		}
		
		# Allows users to set 'homes', which they can then freely teleport to by using /home afterwards
		home: {
			# Cooldown between /home commands (in seconds)
			# You can override this with FTB Ranks using ftbessentials.home.cooldown
			# Default: 10
			# Range: 0 ~ 604800
			cooldown: 10
			
			# Default: true
			enabled: true
			
			# The minimum Y value for homes, as set by the /sethome command
			# Default: -2147483648
			# Range: -∞ ~ +∞
			home_min_y: -2147483648
			
			# Max amount of homes a user can have.
			# You can override this with FTB Ranks using ftbessentials.home.max
			# Default: 1
			# Range: 0 ~ 2147483647
			max: 1
			
			# Warm-up time before /home command executes (in seconds)
			# You can override this with FTB Ranks using ftbessentials.home.warmup
			# Default: 0
			# Range: 0 ~ 604800
			warmup: 0
		}
		
		# Allows admins to jump (teleport) to the focused block
		jump: {
			# Default: true
			enabled: true
		}
		playerspawn: {
			# Cooldown between /playerspawn commands (in seconds)
			# You can override this with FTB Ranks using ftbessentials.playerspawn.cooldown
			# Default: 10
			# Range: 0 ~ 604800
			cooldown: 10
			
			# Default: true
			enabled: true
			
			# Warm-up time before /playerspawn command executes (in seconds)
			# You can override this with FTB Ranks using ftbessentials.playerspawn.warmup
			# Default: 0
			# Range: 0 ~ 604800
			warmup: 0
		}
		
		# Allows players to teleport to a random point in the Wilderness
		# Note: This currently does not respect Claimed Chunks yet!
		rtp: {
			# Allow player to specify (only) custom max distance in rtp command
			# You can override this with FTB Ranks using ftbessentials.rtp.custom_max
			# Default: false
			allow_custom_max_distance: false
			
			# Allow player to specify custom min and max distance in rtp command
			# You can override this with FTB Ranks using ftbessentials.rtp.custom_min_max
			# Default: false
			allow_custom_min_max_distance: false
			
			# Cooldown between /rtp commands (in seconds)
			# You can override this with FTB Ranks using ftbessentials.rtp.cooldown
			# Default: 600
			# Range: 0 ~ 604800
			cooldown: 600
			
			# Blacklisted dimension ID's for /rtp (player *must not* be in any of these dimensions)
			# Wildcarded dimensions (e.g. 'somemod:*') are supported
			# Default: ["minecraft:the_end"]
			dimension_blacklist: ["minecraft:the_end"]
			
			# Whitelisted dimension ID's for /rtp (if non-empty, player *must* be in one of these dimensions)
			# Wildcarded dimensions (e.g. 'somemod:*') are supported
			# Default: []
			dimension_whitelist: [ ]
			
			# Default: true
			enabled: true
			
			# /rtp max distance from spawn point
			# Default: 25000
			# Range: 0 ~ 30000000
			max_distance: 25000
			
			# Number of tries before /rtp gives up
			# Default: 100
			# Range: 1 ~ 1000
			max_tries: 100
			
			# /rtp min distance from spawn point
			# Default: 500
			# Range: 0 ~ 30000000
			min_distance: 500
			
			# Warm-up time before /rtp command executes (in seconds)
			# You can override this with FTB Ranks using ftbessentials.rtp.warmup
			# Default: 0
			# Range: 0 ~ 604800
			warmup: 0
		}
		spawn: {
			# Cooldown between /spawn commands (in seconds)
			# You can override this with FTB Ranks using ftbessentials.spawn.cooldown
			# Default: 10
			# Range: 0 ~ 604800
			cooldown: 10
			
			# Default: true
			enabled: true
			
			# Warm-up time before /spawn command executes (in seconds)
			# You can override this with FTB Ranks using ftbessentials.spawn.warmup
			# Default: 0
			# Range: 0 ~ 604800
			warmup: 0
		}
		
		# Allows players to create requests to teleport to other users on the server,
		# as well as requesting other players to teleport to them
		tpa: {
			# Cooldown between /tpa commands (in seconds)
			# You can override this with FTB Ranks using ftbessentials.tpa.cooldown
			# Default: 10
			# Range: 0 ~ 604800
			cooldown: 10
			
			# Default: true
			enabled: true
			
			# Warm-up time before /tpa command executes (in seconds)
			# You can override this with FTB Ranks using ftbessentials.tpa.warmup
			# Default: 0
			# Range: 0 ~ 604800
			warmup: 0
		}
		
		# Allows admins to teleport to the location a user was last seen at
		tpl: {
			# Default: true
			enabled: true
		}
		
		# Allows admins to teleport to dimension
		tpx: {
			# Default: true
			enabled: true
		}
		
		# Allows admins to create 'warps', which are fixed points in the world that users may teleport to using /warp
		warp: {
			# Cooldown between /warp commands (in seconds)
			# You can override this with FTB Ranks using ftbessentials.warp.cooldown
			# Default: 10
			# Range: 0 ~ 604800
			cooldown: 10
			
			# Default: true
			enabled: true
			
			# Warm-up time before /warp command executes (in seconds)
			# You can override this with FTB Ranks using ftbessentials.warp.warmup
			# Default: 0
			# Range: 0 ~ 604800
			warmup: 0
		}
	}
}
