config.yml options - Zakru/UnitedEffortPlugin GitHub Wiki
Here is a listing of all config.yml options and their purpose.
AFK
Marks players as AFK when they stand still for long enough. Note: Does not kick players.
afkTime
(Default:12000
) The time in ticks from a player's last movement until that player is marked as "AFK". Set to0
to disable AFK.afkBeginMessage
(Default:"%player% is now AFK"
) The message that is displayed when a player becomes "AFK".%player%
is replaced by the name of the player. Set to""
to disable this message.afkEndMessage
(Default:"%player% is no longer AFK"
) The message that is displayed when a player is no longer "AFK".%player%
is replaced by the name of the player. Set to""
to disable this message.
Sleep percentage
Skips the night when a specific portion of the players or more is sleeping. Integrates with AFK to only count active players. Default values resemble vanilla behaviour, but disable this sub-plugin.
sleepLimit
(Default:1
) The portion of the current active players who need to sleep for the night to pass. (1 = all players (disable), 0.5 = half of the players and so on)sleepInclusive
(Default:true
) Whether exactly the portion defined above counts. If the amount has to be higher than the value above, set this to false.sleepMessage
(Default:"%player% is now sleeping (%percentage%)"
) The message that is displayed when a player has gone to sleep. Set to""
to disable this message.sleepSkipMessage
(Default:"Good morning!"
) The message that is displayed when night is skipped. Set to""
to disable this message.
Example settings to pass the night when the majority is sleeping:
sleepLimit: 0.5
sleepInclusive: false