Skip to content

The in-game creator

On Paper 1.21.7+, /<command> create opens a multi-page Dialog wizard so you can author codes without touching a single file.

  1. Run /<command> create (requires claimo.admin).
  2. Page 1 — the code itself:
    • Name — the code players type.
    • Command — the command it runs (supports %player%).
    • Run as console — toggle on to run with console permissions.
    • Hide from list — keep it out of the GUI and tab-completion.
    • Usage limit — an optional max-uses value with a per-player / shared toggle.
  3. Following page(s) — requirements: every registered requirement type is listed — built-in and any added by addons — each with an on/off toggle and its configurable fields. Flip on the ones you want and fill in their values.
  4. Use « Back / Next » to move between pages, then click Create on the last page. Claimo writes vouchers/<name>.yml and reloads.

/<command> edit <voucher> reopens the same wizard pre-filled from an existing code and overwrites it on save.

/<command> delete <voucher> shows a confirmation dialog and removes the file.

The creator covers the common case. Reach for the voucher file directly for advanced options:

Multiple commands

Several cmd lines that all run on redeem.

Whitelist / blacklist

Material filters on the blocks_mined requirement.

Expiry

A human-friendly expires duration like 30d or 1d12h.

The jar is built against the 1.21.8 API (which has Dialog) but keeps api-version: 1.21. All Dialog code is isolated and loaded reflectively, so the JVM never verification-loads those classes on older servers — that’s what keeps Claimo safe all the way down to 1.21.1.