dFxPhoeniX
Wipe Info is a plugin who shows in chat time until wipe date.

Supported Games
GameServerKingsGameServerKings

Overview

Wipe Info is a plugin who shows in chat time until wipe date.

The plugin shows:

  • the date of the last map wipe
  • the time remaining until the next map wipe

Wipe dates are calculated automatically based on the first Thursday of the month at 19:00 UTC (hardcoded, non-configurable), matching Rust force wipe behavior.

Commands

  • wipe - Displays last wipe date and time until the next wipe.

Configuration

This plugin supports optional wipe announcements on player join or on a repeating timer.

Announce timer is expressed in hours.

{
  "Date format": "MM/dd/yyyy",
  "Announce on join": false,
  "Announce on timer": false,
  "Announce timer": 3
}

Languages

Wipe Info have two languages by default (English and Romanian), but you can add more in Oxide lang folder.

API Hooks

string API_GetLastWipe()
string API_GetNextWipe()
DateTime API_GetLastWipeUtc()
DateTime API_GetNextWipeUtc()
int API_GetTimeUntilNextWipeSeconds()
void API_Refresh()

API Details

  • API_GetLastWipe - Returns the last wipe date as a formatted string (using Date format).
  • API_GetNextWipe - Returns the next wipe date as a formatted string.
  • API_GetLastWipeUtc - Returns the exact UTC DateTime of the last wipe (first Thursday at 19:00 UTC).
  • API_GetNextWipeUtc - Returns the exact UTC DateTime of the next wipe.
  • API_GetTimeUntilNextWipeSeconds - Returns the number of seconds remaining until the next wipe (never negative).
  • API_Refresh - Forces an internal recalculation of wipe dates (useful for long-running servers).
MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.