Skip to content

PVP Logger

Bartłomiej Stępień edited this page Jun 13, 2020 · 5 revisions

General

PVP-Logger is a feature that can be enabled/disabled in Eagle Factions.

PVP-Logger is a mechanism that prevents players from disconnecting (escaping) during a fight. ⚔️ You can even specify which commands should be blocked druing a fight.

Shortly speaking, players who disconnects during a fight will be punished and killed. 💀

Snippet from the config file

# Here you can turn on/off PVP-Logger & change the time (seconds)
# when player will be able to disconnect after being attacked.
pvp-logger {
    active=true
    time=60

    # Should timer be shown in the scoreboard (sidebar)? Default: true
    show-in-scoreboard=true

    # Here you can block commands during the fight
    # You can specify commands by writing them with slash "/" or without it. For example -> "/f home" or "f home" will give the same result
    # "*" = blocks all commands
    blocked-commands-during-fight=[
        "/f home",
        "spawn",
        "tpa",
        "/tp"
    ]
}

active = turn on/off PVP-Logger

time = time (in seconds) which after a player will be able to disconnect without being punished.

show-in-scoreboard = turn on/off showing timer in the scoreboard (sidebar)