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

{
	# Admin commands for cheating and moderation
	admin: {
		# 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 heal themselves 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 restrict players from chatting by using a command to mute (or unmute) them
		mute: {
			# Default: true
			enabled: true
		}
	}
	
	# Miscellaneous features and utilities
	misc: {
		# Allows users to access their ender chest, as well as admins to manage other players' ender chests.
		enderchest: {
			# Default: true
			enabled: false
		}
		
		# Allows users to set a custom hat as their head item by using a command
		hat: {
			# Default: true
			enabled: false
		}
		
		# Allows users to kick themselves from the server, for example if they are stuck or desynced
		kickme: {
			# 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: false
		}
		
		# Allows users to announce their recording or streaming status to the server by using commands
		rec: {
			# Default: true
			enabled: false
		}
		
		# Enables usage of a trash can inventory, which can be used to void unneeded items
		trashcan: {
			# Default: true
			enabled: true
		}
	}
	
	# Teleportation-related settings
	teleportation: {
		# 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: 60
			
			# 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
		}
		
		# 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
			
			# 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: 2
		}
		
		# Allows players to teleport to a random point in the Wilderness
		# Note: This currently does not respect Claimed Chunks yet!
		rtp: {
			# Cooldown between /rtp commands (in seconds)
			# You can override this with FTB Ranks using ftbessentials.rtp.cooldown
			# Default: 600
			# Range: 0 ~ 604800
			cooldown: 300
			
			# Default: true
			enabled: true
			
			# /rtp max distance from spawn point
			# Default: 100000
			# Range: 0 ~ 30000000
			max_distance: 100000
			
			# Number of tries before /rtp gives up
			# Default: 100
			# Range: 1 ~ 1000
			max_tries: 100
			
			# /rtp min distance from spawn point
			# Default: 1000
			# Range: 0 ~ 30000000
			min_distance: 10000
		}
		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
		}
		
		# 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
		}
		
		# 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
		}
	}
}
