本篇教程来自MC百科(mcmod.cn) 使用 CC BY-NC-SA 协议。

# Configuration file


misc {

   #是否删除牺牲方块的合成表(设置为true来禁止玩家合成牺牲方块)

    B:Block_SacrificeNoRecipe=false

    S:Invasion_Message_alreadySkipping=§a你已经跳过了本次夜晚的怪物入侵!

    S:Invasion_Message_cantSleep=§a在入侵之夜你不能上床睡觉!

    S:Invasion_Message_cantTeleport=§a在入侵之夜时你不能离开本世界!

    S:Invasion_Message_ended=§a怪物入侵已经结束! 下一次入侵为 §e%d 天后!

    S:Invasion_Message_notInvasionNight=§a当前不是入侵之夜,你不能选择跳过

    S:Invasion_Message_skippedTooMany=§c你已经跳过入侵 %d 次了! 你必须拿起武器和它们奋战到底!

    S:Invasion_Message_skipping=§a你已跳过本次入侵之夜, 已跳过次数为 %d


    # The default invasion message if a wave doesn't have a custom one

    S:Invasion_Message_started=§c入侵之夜已经开始!拿起武器奋战到底吧!

    S:Invasion_Message_startedButSkippedForYou=§a入侵之夜已经开始,但你已被跳过。


    # Used if invasionCountingPerPlayer is on

    S:Invasion_Message_startedButSkippedForYouTooSoon=§a入侵之夜已经开始了!但是由于你游戏时长不足,你已被跳过, 你还需要在游戏里玩 %d 天。

    S:Invasion_Message_startsTonight=§6今晚的入侵已经开始.§cBe Ready For it.


    # Used if invasionCountingPerPlayer is on

    S:Invasion_Message_startsTonightButNotYou=§a今晚是个不眠之夜,但请你睡个好觉, 你还需要在游戏中度过 %d 天你才明白晚上发生的一切。

    S:Invasion_Message_tooLate=§c你来的太晚了!入侵之夜已经开始。


    # Prevents permanent damage caused by explosions during invasions, since zombie miners will be making holes they can get in

# 是否防止入侵之夜期间怪物们造成的永久性伤害(例如僵尸矿工会在它们便于进入的地方打洞,而这些在入侵结束后将会逐渐还原)

    B:convertExplodedBlocksToRepairingBlocksDuringInvasions=true


    # Disable if you want traditional block breaking that drops the itemized version of the block when its mined

    B:convertMinedBlocksToRepairingBlocksDuringInvasions=true


    # Amount of damage per second to give to mobs after invasion ends at sunrise to keep them from lingering around, set to 0 to disable

# 在日出后(入侵之夜结束后)每秒给予怪物的伤害值,设置为 0 来关闭本功能

    D:damagePerSecondToInvadersAtSunrise=0.0


    # Use at own risk, will not support

    #入侵的高级设置(使用有风险)

    B:enableAdvancedDeveloperConfigFiles=false


    # Once a player has been playing for this many days, an invasion will start that night. If invasionCountingPerPlayer is false, it uses global world time instead

# 新玩家的安全天数(在安全天数内该玩家会跳过入侵之夜)如果 invasionCountingPerPlayer 设置为 false ,则使用全局世界时间

    I:firstInvasionNight=0


    # If set to 3, there are 2 days of no invasions then the 3rd day is an invasion, etc

# 设置为每多少天出现一次入侵之夜,如果设置为3,则每3天里有两天没有入侵之夜

    I:invadeEveryXDays=3


    # use a per player active tracked playtime instead of global server time, used with firstInvasionNight and wave # in invasion configuration. Everyone will still get invasions on the same night but only if they qualify for one

# 如果本项设置为 true 将会独立计算每个玩家游戏的时间,否则则使用全局时间(即服务器运行了多少天)

    B:invasionCountingPerPlayer=true


    # -1 to disable. Max amount of invasions you can skip in a row before you are forced to deal with one

# 每个玩家可以跳过的入侵之夜的最大数量,设置为 -1 来禁用本功能

    I:maxConsecutiveInvasionSkips=3


    # Prevent players from teleporting away from the overworld during invasion nights

# 防止玩家在入侵之夜来临时传送出本世界

    B:preventDimensionTeleportingDuringInvasions=true


    # Chests, machines, etc, arent normal blocks that we can convert to repairing blocks, so instead this setting just protects them from being harmed at all by explosions

# 是否防止例如箱子,机器这类不易恢复物品免受到入侵之夜的破坏

    B:preventExplodedTileEntitiesDuringInvasions=true


    # Allow tile entities (Chests, machines, etc) to be mined the traditional way, breaks it like a player would. Note: Tile entities will never be converted to repairing blocks, they're not supported.

# 是否允许箱子,机器这类物品被挖走,它们将不会被复原

    B:preventMinedTileEntitiesDuringInvasions=true


    # Prevent players from sleeping through the night during invasion nights

# 是否防止玩家通过睡觉的方式躲过入侵之夜

    B:preventSleepDuringInvasions=true


    # For debugging things

    B:useLoggingDebug=false


    # For logging warnings/errors

    B:useLoggingError=true


    # For seldom used but important things to print out in production

    B:useLoggingLog=true

}