Skip to content

Module NightVip

shmitzas edited this page Nov 10, 2026 · 1 revision

VIP_NightVip

VIP for every player during set hours. Kind: granter. Requires VIPCore 1.1.0+.

During the hours, a player without VIP, or whose group weighs no more than VIPGroup, gets VIPGroup; heavier groups keep theirs. Nothing is stored: it ends at the end time, or when the player leaves. Chat tells the player: [NightVIP] You are receiving VIP because it's VIP Night time.


Configuration

addons/swiftlys2/configs/plugins/VIP_NightVip/config.jsonc. Changes apply at the next check.

{
  "NightVip": {
    "VIPGroup": "VIP",
    "PluginStartTime": "20:00:00",
    "PluginEndTime": "08:00:00",
    "Timezone": "UTC",
    "CheckTimer": 10,
    "Tag": "[NightVIP]"
  }
}
Setting Default Description
VIPGroup "VIP" Group given during the hours. Must be in vip_groups.jsonc
PluginStartTime "20:00:00" Start, HH:mm:ss
PluginEndTime "08:00:00" End. Earlier than the start = the next morning
Timezone "UTC" A time zone ID, such as Europe/Vilnius, or an offset, such as UTC+02:00. Unknown = UTC
CheckTimer 10 Seconds between checks. Restart to apply
Tag "[NightVIP]" Start of the chat message

Troubleshooting

Problem Cause Solution
Nobody gets VIP at night A time isn't HH:mm:ss Fix PluginStartTime or PluginEndTime
Night VIP starts at the wrong hour Timezone unknown, so UTC is used Use an ID the server's system knows
A VIP has the night group's features instead of their own Their group weighs no more than VIPGroup Expected — give their group a higher Weight

Clone this wiki locally