> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sentrystudios.org/llms.txt
> Use this file to discover all available pages before exploring further.

# SentryWipe

> Information regarding the upcoming SentryWipe Developer API and current event hook workarounds.

> [!WARNING]
>
> **Public API in Active Development**
>
> Currently, SentryWipe does not expose a standalone public JAR repository for compile-time Maven/Gradle dependencies. However, our engineering team is actively building a formal `SentryWipeAPI` module scheduled for release!

## Developer Architecture Roadmap

The upcoming SentryWipe Developer API is being engineered for enterprise network developers who require programmatic control over player resets:

> **Programmatic Wipes**
>
> Initiate modular, preset, or full server wipes directly from Java code without running console commands.

> **Cancellable Events**
>
> Listen to `PlayerPreWipeEvent` and `PlayerPostWipeEvent` to validate custom network conditions or inject custom data rollbacks.

> **Direct Backup Interception**
>
> Access snapshot YAML files and trigger programmatic inventory restores from custom moderation panels.

***

## Current Production Integration: The Hooks Engine

If you need to execute code before, during, or after a wipe occurs **right now**, utilize our battle-tested **Hooks System**.

> **[Explore SentryWipe Hooks & Integrations](https://docs.sentrystudios.org/sentry-wipe/hooks.md)**
>
> The hooks engine allows you to bind console commands, BungeeCord proxy dispatches, or custom plugin commands directly to wipe triggers (`pre_wipe`, `post_wipe`). This functions as an instant bridge between SentryWipe and your external systems.

```yaml hooks.yml Example theme={null}
hooks:
  pre_wipe:
    - "discord broadcast Initiating scheduled reset for %player%..."
    - "whitelist add %player%"
  post_wipe:
    - "lp user %player% parent set default"
    - "eco set %player% 500"
    - "discord broadcast Wipe completed for %player%."
```

***

## Shape the Developer API

Are there specific events, methods, or database queries you need exposed in the upcoming API build? Join our developer discord to submit feature requests:

> **[Join Developer Discord](https://discord.com/invite/wN2ExrSkS4)**
>
> Discuss architecture with Sentry engineers in `#dev-chat` and request early API dev builds.

> **[Submit Integration Request](https://discord.com/invite/wN2ExrSkS4)**
>
> Open a developer ticket for enterprise network needs or custom plugin compatibility.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.