本篇教程由作者设定未经允许禁止转载。
//该文件位于游戏目录文件夹下/config/ftbutilities.cfg
//以下为配置文件正文
# Configuration file
afk {
# Enables afk timer. //是否开启AFK(挂机)计时器
B:enabled=true
# Enables afk timer in singleplayer. //在单人游戏中是否启用AFK计时器
B:enabled_singleplayer=false
# Will print in console when someone goes/comes back from AFK. //在玩家进入/离开AFK状态时,是否在服务器控制台显示
B:log_afk=true
# After how much time it will display notification to all players. //在挂机多长时间后会提示玩家已进入AFK状态(默认五分钟)
S:notification_timer=5m
}
auto_shutdown { //自动关闭游戏
# Enables auto-shutdown.
B:enabled=false
# Enables auto-shutdown in singleplayer worlds. //在单人模式中启用自动关闭游戏功能
B:enabled_singleplayer=false
# Server will automatically shut down after X hours. //服务器自动关闭(定时)功能,默认为4:00/16:00
# Time Format: HH:MM. If the system time matches a value, server will shut down.
# It will look for closest value available that is not equal to current time.
S:times <
04:00
16:00
>
}
chat {
# Adds ~ to player names that have changed nickname to prevent trolling.
B:add_nickname_tilde=false//将~添加到已更改昵称的玩家姓名中,以防止恶意攻击搜索(用途尚不明确,欢迎补充)
# Disable this for some plugin compat. Not that they are supported but sometimes this is all that's needed.
B:replace_tab_names=false//对某些插件兼容禁用此功能。并不是说他们得到了支持,但有时这就是他们所需要的。
}
commands { //指令启用列表
B:back=false
B:chunks=true
B:fly=false
B:god=false
B:heal=false
B:home=false
B:inv=false
B:kickme=false
B:killall=false
B:leaderboard=true
B:mute=false
B:nbtedit=true
B:nick=false
B:ranks=true
B:rec=true
B:rtp=false
B:spawn=false
B:tpa=false
B:tpl=false
B:trash_can=true
B:warp=false
}
debugging {
# Print a message in console every time a chunk is forced or unforced. Recommended to be off, because spam.
B:log_chunkloading=true//每当加载或区块时,在控制台中显示。建议关闭,因为可能会产生无用信息
}
login {
# Set to false to disable event badges, e.g. Halloween. //设置为false来关闭活动徽章(求补充)选项
B:enable_event_badges=true
# Set to false to disable global badges completely, only server-wide badges will be available.
B:enable_global_badges=true //设置为false将完全禁用全局徽章,只有服务器范围的徽章可用。
# Enables message of the day. //启用当日信息(进入游戏时聊天栏显示的信息)
B:enable_motd=false
# Enables starting items. //启用初始物品(开局时背包内物品)
B:enable_starting_items=false
# Message of the day. This will be displayed when player joins the server. //当日信息(进入游戏时聊天栏显示的信息)
S:motd <
"Hello player!"
>
# Items to give player when he first joins the server. //初始物品(开局时背包内物品)
# Format: '{id:"ID",Count:X,Damage:X,tag:{}}', Use /print_item to get NBT of item in your hand.
S:starting_items <
{id:"minecraft:stone_sword",Count:1,Damage:1,tag:{display:{Name:"Epic Stone Sword"}}}
>
}
ranks {
# Enables ranks and adds command.x permissions and allows ranks to control them.
B:enabled=true//启用列组并添加命令权限,并允许列组控制这些权限。
# Adds chat colors/rank-specific syntax.
B:override_chat=false//添加聊天颜色/排序特定语法
# Allow to configure commands with ranks. Disable this if you want to use other permission mod for that.
B:override_commands=false//允许使用列组配置命令。如果要使用其他权限模块,请禁用此选项。
}
world {
# Dimensions where chunk claiming isn't allowed.//填入维度数字ID设定在这些维度中不能进行区块声名
I:blocked_claiming_dimensions <
>
# Enables chunk claiming. //是否允许进行区块声名
B:chunk_claiming=true
# Enables chunk loading. If chunk_claiming is set to false, changing this won't do anything.//是否允许通过区块声名强加载区块
B:chunk_loading=true
# Disables player damage when they are stuck in walls.//在玩家被卡在墙内时是否受伤
B:disable_player_suffocation_damage=false
# List of items that will have right-click function disabled on both sides.//将在两侧禁用右键单击功能的物品列表。
# You can use '/inv disable_right_click' command to do with from in-game.//你可以在游戏内使用/inv disable_right_click操作
# Syntax: modid:item:metadata. Set metadata to * to ignore it.//将meta值设定为*来忽略meta值区别
S:disabled_right_click_items <//禁用物品右键单击功能列表
>
# If set to DEFAULT, then teams can decide their Explosion setting.//如果设定为DEFALT,玩家组可自定义他们组领地的爆炸设定
# Valid values:
# TRUE
# FALSE
# DEFAULT
S:enable_explosions=FALSE//默认为禁用声名区块内的爆炸(不破坏方块,但仍造成伤害)
# If set to DEFAULT, then players can decide their PVP status.//如设定为DEFAULT,玩家组可自定义他们组内PVP设定
# Valid values:
# TRUE
# FALSE
# DEFAULT
S:enable_pvp=TRUE//默认允许在声名区块中PVP
# Locked time in ticks in spawn dimension.//将出生维度的时间锁定
# -1 - Disabled
# 0 - Morning
# 6000 - Noon
# 12000 - Evening
# 18000 - Midnight
# Min: -1
# Max: 23999
I:forced_spawn_dimension_time=-1 //设定为-1不锁定时间
# Locked weather type in spawn dimension. //锁定出生维度的天气
# -1 - Disabled
# 0 - Clear
# 1 - Raining
# 2 - Thunderstorm
# Min: -1
# Max: 2
I:forced_spawn_dimension_weather=-1 //设定为-1不锁定天气
# Max /rtp distance //rtp(随机传送)最大范围
D:rtp_max_distance=100000.0
# Max tries /rtp does before failure. //随机传送多少次之后会传送失败
I:rtp_max_tries=200
# Min /rtp distance //随机传送最小范围
D:rtp_min_distance=1000.0
# If set to true, explosions and hostile mobs in spawn area will be disabled, players won't be able to attack each other in spawn area.
B:safe_spawn=false//开启此设置,出生点的爆炸和敌对怪物生成将被禁用,玩家将无法在出生点相互攻击。
# Show play time in corner.//在左上角显示玩家在线时长
B:show_playtime=false
# Enable spawn area in singleplayer.//在单人模式中启用出生点范围
B:spawn_area_in_sp=false
# Spawn dimension. Overworld by default.//设定出生维度,默认为主世界
I:spawn_dimension=0
# Spawn radius. You must set spawn-protection in server.properties file to 0!
I:spawn_radius=0 //出生半径,必须将server.properties文件中的出生点保护范围设置为0!
# Unloads erroring chunks if dimension isn't loaded or some other problem occurs.
B:unload_erroring_chunks=true //如果未加载维度或发生其他问题,则卸载错误区块。
##########################################################################################################
# logging
#--------------------------------------------------------------------------------------------------------#
# Logs different events in logs/world.log file.
##########################################################################################################
logging {
# Logs block breaking.//在log文件中记录方块破坏
B:block_broken=true
# Logs block placement.//在log文件中记录方块放置
B:block_placed=true
# Enables world logging.//在log文件中记录世界加载
B:enabled=false
# Includes creative players in world logging.//在log文件记录中包含创造模式玩家的数据
B:include_creative_players=false
# Includes fake players in world logging.//在log文件记录中包含虚拟玩家的数据
B:include_fake_players=false
# Logs item clicking in air.//在log文件中记录物品点击空气
B:item_clicked_in_air=true
}
}