VotingWeatherPlugin
该插件让玩家按指定的时间间隔对服务器天气进行投票。
备注
要想获得平滑的天气过渡和降雨效果,你需要在 extra_cfg.yml 中将 EnableWeatherFx 设为 true。
配置
在 extra_cfg.yml 中启用该插件
extra_cfg.yml
EnablePlugins:
- VotingWeatherPlugin
参考配置
关于可用于 BlacklistedWeathers 的天气类型列表,请参阅 WeatherFX 天气类型
plugin_voting_weather_cfg.yml
# List of weather types that can't be voted on
BlacklistedWeathers: []
# Number of choices players can choose from at each voting interval
NumChoices: 3
# How often a vote takes place
VotingIntervalMinutes: 10
# How long the vote stays open
VotingDurationSeconds: 30
# Should the weather be kept when no vote has been counted
KeepWeatherOnNoVotes: false