OniRelay developers · API 1.0.0

Make it your community.

Use named helpers for common game and Discord actions. Modules need basic JavaScript; these examples do not require packet names, command selectors or Minecraft API imports. Basic includes 3 active modules; Premium includes 15. Both include the SDK, API and examples.

Compare every OniLink and OniRelay feature and current plan limit.

Your first module · SDK 1.1.0

World module
Install the companion, then write commands and game events with the oni helpers. Runs inside your own world on Basic or Premium.
External integration
Use the included JavaScript API client on your own server. A scoped key connects your app to this community; game jobs still need a connected companion.
Bot server commands
Use Premium Server commands and role-restricted presets for full Minecraft commands as the Xbox relay player. Operator, cheats and owner/admin approval still apply.
  1. Download the starter kit below, or open Community tools → Modules → Download starter examples. Start with Welcome on join.
  2. For a ready example, upload its JSON package. To edit source, change manifest.json and index.js in its folder, then run node pack-module.mjs examples/friendly-welcome from the starter-kit folder. This writes an uploadable JSON file. Increase the manifest version when updating an existing module.
  3. Upload in Modules, review the declared permissions, enable the module and open Settings & roles. Choose which Discord roles can run commands. The community owner can run them without a role assignment. Event handlers run for observed world events and do not use this command-role filter.
  4. In Companion, download a fresh private BDS package and install it on your Bedrock Dedicated Server, preserving other packs. This expanded release supports BDS only. SDK 1.1 helpers require Companion 1.1. The public starter kit has no credentials and cannot connect a world by itself.
  5. Check Companion status. Link your Minecraft account using /oni link in Discord and the private /onirelay:menu form in game. For player-targeted commands, that linked player must be online.
  6. Run /oni module module:friendly-welcome command:welcome in Discord, or select the module from /onirelay:menu. Read /oni result job:<id> for the confirmed result. Rejoin to exercise the welcome event on your own test world.

The public starter kit contains editable examples and editor hints. Your private companion download contains the authorization for your world—keep that package private.

Helpers you can use directly

Every handler receives an oni context. Declare the listed permission in its manifest. Player helpers act on the player who triggered the event or the Discord caller’s verified online character.

oni.game.tell(text)
game:message

Send a private message to the current online player; at most 1,500 characters.

oni.game.broadcast(text)
game:message

Send a world message to all players; at most 1,500 characters.

oni.game.title(title, subtitle?)
game:message

Show a title (200 characters) and optional subtitle (300) to the current player.

oni.game.actionBar(text)
game:message

Show up to 300 characters above the current player’s hotbar.

oni.game.players()
players:read

Return online player names in this world, excluding the assigned relay account.

oni.game.scores.get(name)
game:rewards

Read the current player’s score, or zero when no score exists.

oni.game.scores.set(name, value)
game:rewards

Set the current player’s integer score; create the objective when absent.

oni.game.scores.add(name, amount)
game:rewards

Add integer points to the current player and return the new total. Score writes are module logic, not a verified Discord-role reward.

oni.game.tags.has/add/remove(name)
game:rewards

Read, add or remove a current-player tag. Names use 1–40 letters, numbers, underscores or hyphens.

oni.discord.post(kind, text)
discord:post

Queue a module event for Channels routes that include module events. Returns an event ID, not a delivery confirmation. Mention-safe Discord embeds and plan post limits apply.

await oni.ui.choose({title, body, buttons})
game:menu

Open a 1–20-button in-game menu. Returns a zero-based selection, or null if dismissed. Close chat if Minecraft reports a busy form.

oni.storage.get(key)
storage

Read a module-local JSON value, or null. Storage survives world restarts and is separate for each module ID.

oni.storage.set(key, value)
storage

Save a JSON value up to 8,192 serialized characters. Keys use 1–40 letters, numbers, underscores or hyphens.

oni.storage.remove(key)
storage

Remove one entry owned by this module.

oni.rewards.list()
game:rewards

List enabled reward IDs and names. This is not a claim that the current player is eligible.

await oni.rewards.claim(id)
game:rewards

Request a configured reward for the current player. The host verifies their linked Discord identity, current role and cooldown. Returns a claim receipt; delivery may still be queued.

oni.addons.command(name, args?)
game:addon_commands

Invoke an exact owner-reviewed namespaced add-on command in companion entity context. Engine acceptance does not confirm delayed effects.

await oni.markers.list({offset?})
game:markers

Premium: read up to twenty markers owned by the current linked player and this module; follow next_offset for another bounded page.

await oni.markers.create({name, description?, type?, visibility?})
game:markers

Premium: save the submitting player’s observed position. Returns the canonical marker ID and revision after host confirmation.

await oni.markers.update({id, version, name, description?, type?, visibility?})
game:markers

Premium: edit a marker in this player/module namespace. Position stays unchanged. Community visibility also requires current owner publication consent.

await oni.markers.remove(id, version)
game:markers

Premium: remove only the current player’s marker in this module namespace, using its current revision.

Start with a working pattern

All 10 examples are included as uploadable packages and editable source in the starter kit. The examples require the current Companion release. Open an example to inspect its permissions and code.

Installed add-on greeting adapter

Template: replace sample:hello with a command from your installed add-on. Requires a linked online player.

Permissions: game:addon_commands.

export default {commands:{hello(args, oni){return oni.addons.command("sample:hello", []);}}};
Game and Discord notice

Send a configured notice to the world and to Discord routes that include module events. Grant command access only to trusted roles.

Permissions: game:message, discord:post.

import {defineModule} from '../sdk.js';
export default defineModule({
  commands: {
    notice(args, oni) {
      const text = String(oni.settings.message || 'Our community event starts soon!');
      // Queue the Discord event first; a queue error prevents the game broadcast.
      const event = oni.discord.post('notice', text);
      oni.game.broadcast(text);
      return {message: 'World notice sent; Discord event queued. Check the configured module channel route.', event};
    }
  }
});
Welcome on join

Show a welcome title when a player joins; no Minecraft API imports needed.

Permissions: game:message.

import {defineModule} from '../sdk.js';
export default defineModule({
  onJoin(event, oni) {
    oni.game.title('Welcome, ' + event.name, 'Enjoy your stay!');
    oni.game.tell(String(oni.settings.message || 'Use /onirelay:menu for community tools.'));
  },
  commands: {
    welcome(args, oni) {
      const message = String(oni.settings.message || 'Welcome to our community!');
      if (oni.player) oni.game.tell(message);
      return message;
    }
  }
});
My playtime

Show playtime recorded by the OniRelay companion.

Permissions: players:read.

export default {commands:{time(args,ctx){if(!ctx.player)throw Error('Link your account and join the world first.');const value=JSON.parse(ctx.player.getDynamicProperty('onirelay:stats')||'{}');return ctx.player.name+': '+Math.floor((value.play_seconds||0)/60)+' minutes recorded since companion installation.';}}};
Discord-role reward menu

Request an existing role reward; the host checks the linked account, live role and cooldown.

Permissions: game:menu, game:rewards.

import {defineModule} from '../sdk.js';
async function claim(args, oni) {
  const rewards = oni.rewards.list();
  if (!rewards.length) return 'Ask the owner to configure Role rewards first.';
  const choice = await oni.ui.choose({
    title: 'Community rewards',
    body: 'Link Discord first. Your current role and reward cooldown will be checked.',
    buttons: rewards.slice(0,20).map(reward => reward.name)
  });
  if (choice === null) return 'Menu closed.';
  const receipt = await oni.rewards.claim(rewards[choice].id);
  return {message: 'Claim recorded. Check its state before repeating it.', claim: receipt.id, state: receipt.state};
}
export default defineModule({commands: {claim}, menu: claim});
Interactive rules menu

Show rules in game and let the linked player choose a section.

Permissions: game:menu, game:message.

import {defineModule} from '../sdk.js';
async function rules(args, oni) {
  const choice = await oni.ui.choose({
    title: 'Community rules',
    body: 'Choose a topic. Close chat first if the menu cannot open.',
    buttons: ['Be kind', 'Protect builds', 'Fair play']
  });
  if (choice === null) return 'Menu closed.';
  const rules = ['Respect other players.', 'Ask before changing another player’s build.', 'Do not use cheats or exploits.'];
  oni.game.tell(rules[choice]);
  return rules[choice];
}
export default defineModule({commands: {rules}, menu: rules});
Community rules

Show your rules in Minecraft and Discord.

Permissions: game:message, game:menu.

import {ActionFormData} from '@minecraft/server-ui';
export default {commands:{rules(args,ctx){return ctx.settings.rules || 'Be respectful. No griefing. Contact staff for help.';}},async menu(args,ctx){if(!ctx.player)throw Error('Join the world first.');await new ActionFormData().title('Community rules').body(ctx.settings.rules || 'Be respectful. No griefing.').button('Close').show(ctx.player);return 'Rules opened in game.';}};
My scoreboard

Read a configured scoreboard for your linked Minecraft player.

Permissions: players:read.

import {world} from '@minecraft/server';
export default {commands:{score(args,ctx){if(!ctx.player)throw Error('Link your account and join the world first.');const objective=world.scoreboard.getObjective(ctx.settings.objective || 'coins');return objective ? ctx.player.name+': '+(objective.getScore(ctx.player)||0) : 'That scoreboard has not been created.';}}};
Visit counter

Count player joins on a scoreboard and read your total from a module command.

Permissions: game:rewards, game:message.

import {defineModule} from '../sdk.js';
export default defineModule({
  onJoin(event, oni) {
    const visits = oni.game.scores.add('oni_visits', 1);
    oni.game.actionBar('Welcome back. Recorded visits: ' + visits);
  },
  commands: {
    visits(args, oni) {
      return 'Your recorded visits: ' + oni.game.scores.get('oni_visits');
    }
  }
});
Welcome message

Send a linked player a welcome message.

Permissions: game:message, discord:post.

export default {commands:{welcome(args,ctx){const message=ctx.settings.message || 'Welcome to our community!';if(ctx.player)ctx.message(message);return message;}}};

React to game events

Use defineModule to declare these friendly handlers. Add the corresponding event name to manifest.events. For example, onJoin requires events: ["join"].

onJoin(event, oni)
join

name; player helpers are available while that player remains online.

onLeave(event, oni)
leave

name; oni.player is null. Use a Discord post, storage or a world broadcast.

onDeath(event, oni)
death

name, cause, dimension, position and at; do not publish private coordinates without consent.

onChat(event, oni)
chat

name and text; only where the companion reports chat capability. Native Xbox chat does not automatically trigger companion handlers.

onMilestone(event, oni)
milestone

stat and value for observed playtime milestones.

onBlockBreak(event, oni)
block_break

block type ID; runs after the block was broken.

onBlockPlace(event, oni)
block_place

block type ID; runs after placement.

Keep api_version: 1 in the manifest. SDK 1.1 is an additive helper release, separate from UniqueShield’s version numbers. Existing commands, events and context.message/post/players/get/set remain supported.

Declare each event under its manifest name, such as events: ["join"]. defineModule accepts friendly onJoin-style handlers, or the existing events: {join} object. Commands and menu handlers receive (args, oni); event handlers receive (event, oni). Handler return values become command results; event return values are ignored.

A module handles one event at a time; extra events while its handler is busy are skipped. Keep handlers short. Gameplay events are observations, not a durable reward-delivery mechanism. Use Role rewards for one-time or cooldown item grants.

Helper permissions and module revision are checked on every call, including after awaiting a menu. After 30 seconds without fresh host authorization, helper calls stop until the companion reconnects. Source updates require reinstalling the companion; there is no automatic code injection into customer worlds.

Custom code remains trusted world code, not a security sandbox. Native Minecraft imports can access world scripting APIs. OniRelay does not execute uploaded JavaScript on the hosting server and does not expose raw network packets, Xbox tokens or an arbitrary-command helper through this SDK.

Commands called by a generic external API key have no linked in-game player. Use them for non-player module actions; player-specific role rewards use rewards.claim with the observed world player ID. An API key cannot impersonate a Discord member.

Understand a failed action

MODULE_INACTIVE
Check Companion status, enabled slots and the installed module revision; start a new action after reconnection.
PERMISSION_REQUIRED
Review the manifest permission, upload a new version if needed and explicitly enable it again.
PLAYER_OFFLINE
Link Discord, join the correct world and retry with that player online.
FORM_UNAVAILABLE
Close chat and other menus, then open the module again.
QUEUE_FULL
Check the connection and allow pending events to clear.
REQUEST_UNCONFIRMED
Read the returned explanation and claim history. Do not assume that an uncertain request failed or automatically repeat a reward.
INVALID_INPUT / STORAGE_INVALID
Check text, integer and storage limits; repair the affected stored entry if necessary.

Commands return their result through Activity or /oni result. For an event handler, inspect the Minecraft server’s companion log. Engine errors can also occur when a player disconnects or the world changes.

Multiple relays per owner

In Connections & billing, choose Add another relay. Enter a unique relay name and the Discord Server ID.

Create a separate relay for each Minecraft server. You can reuse a Discord server; choose a different main chat channel for each relay.

One Premium subscription covers all of your relays. OniLink is separate.

Each active relay needs a separate Xbox account and main chat channel. Module, API and storage limits apply to each relay.

When using /oni in a Discord server with several relays, select the relay option. Buttons keep their original relay context.

Manage Premium renewal from any owned relay. Cancellation preserves verified paid time. Ownership transfers need operator review and do not transfer the subscription.

Search moderation history and staff reports

Community tools → Moderation → View sanctions and outcomes remains available to Free owners. Premium adds Search moderation history for the owner or staff with the separately delegated moderation.history permission. Select a retained interval, action, exact staff Discord ID, stable player ID/XUID, literal recorded name/reason or job state. A name search only finds saved display text; it never proves identity or grants access.

Reports show saved Oni decisions, actor, reason, timestamp, retained identity evidence, job state, current sanction status and up to five separate membership receipts correlated by stable identity in the selected world. A completed job is not independent proof of departure; an observed departure does not establish that moderation caused it. Unknown execution remains unknown. This is not a complete server-wide audit log.

Results use fifty-row cursor pages and a separate staff summary for the selected filters. The staff summary is explicitly partial if its five-hundred-group limit is reached. Download this report page saves only the current page and its filter/summary metadata. Changing filters clears the old results and download. Queries have bounded work and rate limits; narrow a timed-out query. Ownership, staff role, world and Premium entitlement are checked again before returning private results. Downgrade removes advanced reporting without revoking sanctions or the Free essential history view.

Approve BDS admission through the game-host file

Free owners can use the supported BDS server-admin allowlist API or this separate file fallback. First enable allow-list=true yourself in the correct BDS server and connect that exact Pterodactyl/SFTP game host. The applicant must have authenticated Xbox identity evidence and an approved admission for this community/world. A typed name or XUID is not proof. If the experimental API is unavailable, the request stays waiting; no experiment, game mode or global allowlist setting is changed automatically.

Open Community tools → Game host → BDS admission file fallback → Prepare host allowlist review. Confirm preparing a review for the named approved identity. Then Refresh installation status → Review file changes. Only allowlist.json is proposed. Existing unrelated entries and their extra fields are retained. Name-only collisions, duplicate XUID entries and malformed files stop preparation for manual review.

Continue to maintenance confirmation explicitly authorizes stopping the selected BDS server. Choose whether to restart after verified file readback. Oni keeps encrypted before-images, checks owner, identity consent, admission policy, exact host/world and file hashes again, then changes only the reviewed entry. File readback is separate from server startup and actual player arrival. An uncertain write stays in maintenance and is not replayed; review it before an explicit resume or exact rollback.

Revoking or withdrawing an admission queues reversal only for confirmed Oni-created membership. Open Game host to prepare and review that reversal separately. Only the unchanged entry recorded by Oni can be removed; preexisting membership and owner edits are preserved. Another active approved identity grant prevents conflicting reversal. New grants pause with the relay; essential reversal remains available after downgrade or pause. Repeated/concurrent preparation returns the existing attached file review. If a failed preview remains attached, inspect it and explicitly Recheck the admission before preparing a new review.

Remove and recover a BDS world

Connection removal, Companion uninstall, retained-copy removal and live-world removal are separate actions. Open Community tools → World backups → Remove world with recovery. Review the exact game server and world, type its complete displayed path and authorize stopping that server. Return FarmBot and restore saved service-account state first. Oni makes and verifies an encrypted stopped-world copy before moving the exact world into a generated recovery directory.

The server stays stopped. Starting it while its world path is absent could generate an empty replacement world. World, developer and native adapter credentials are revoked and extensions stay paused. The removal checkpoint protects its recovery copy, including beyond normal retention while unresolved. Restore removed world verifies and restores the preserved original; Restore missing original reconstructs the retained before-copy only if both directories are absent. Unrelated or changed worlds stop recovery. Install fresh credentials before restarting; recovery never revives revoked credentials.

Permanently remove world is a second confirmation at the removal checkpoint. Type the exact world path and authorize irreversible removal. Oni removes only recorded regular files whose complete hashes still match. Unknown, recreated or modified files stop cleanup and remain for review. Files are removed in bounded batches; no host folder is recursively deleted. Empty directory scaffolding remains. This operation’s encrypted recovery copy is removed afterward, and the saved host credential is erased. Other separately retained backups, unrelated packs, settings and stored custom modules are not part of this confirmation.

A lost provider reply stays at a maintenance checkpoint; no uncertain rename or delete is automatically repeated. Refresh the job before recovery. Once permanent cleanup is confirmed, a partial directory cannot be rolled back; Review permanent cleanup again explicitly checks remaining files. Owner/host changes, a regenerated world, changed server properties or lost authorization halt further file changes. An active private reader can delay removal of the retained copy. Keep other recovery copies private and manage them separately.

Revoke stored integration credentials

Open Community tools → Recovery files → Review stored credentials. The current verified Discord community owner or hosting operator can use these controls on Free or Premium, including during suspension. The list contains metadata only: developer key names, host access, the current Companion credential generation and an optional native BDS installation. Credentials, private packages and host recovery contents are never displayed here.

Choose the exact authorization, read its consequences and confirm Revoke reviewed credential. The review binds the current owner, community and credential revision. Changed credentials require a fresh review. Retrying the same form after a lost response returns its saved outcome; it does not rotate a Companion credential twice. An unconfirmed response must be checked before opening another review.

Developer key revocation prevents further API authorization. Host revocation removes the encrypted saved host key and leaves active maintenance in recovery; reconnect the same game server before repairing files. This control sends no host command and changes no game files or power. Uninstall Companion is a separate reviewed Game host operation.

Companion revocation changes its credential generation and pauses extensions. Install a fresh private package before resuming. Native adapter revocation stops policy renewal; already issued leases expire within thirty seconds. Canonical sanctions, player records, saved source, recovery copies and pending FarmBot/prior-mode receipts are retained. Revocation never establishes that an offline account returned home or that a world effect was reversed.

Microsoft account connections, personal relay accounts, shared account-pool assignment, the platform bot login and hosting sessions keep their separate controls. A community credential action does not sign those accounts out or remove another customer’s account. Opaque request references remain as bounded execution/security receipts; they contain no credential or private result body.

Pause and resume community extensions

Open Community tools → Overview → Pause community extensions. Pausing stops new community chat, outgoing plugin posts, automatic voice movement and remote execution while preserving configuration and source. Existing base chat channels remain claimed by the community policy, so the older relay handler cannot become a bypass.

A final local authorization check runs in the same database writer transaction that claims a game job. A pause, emergency hold, Discord hold, changed owner/world, disabled plugin, changed source/settings or no-longer-effective module cannot be ignored by a worker that finished an earlier check. Native chat checks its current relay session. Premium commands also check current entitlement, Operator/cheats report, exact preset and workflow before dispatch; only one command can be in flight in a world.

Ordinary queued work can remain queued until its existing deadline or explicit resume, and it is authorized again before being sent. Undelivered rewards rejected during a pause keep a no-effect failure receipt rather than silently issuing another claim. Other workers cannot overwrite a claim already dispatched. The explicit Resume community extensions action does not remove bans, reset reward cooldowns, restore revoked credentials or repeat uncertain commands.

Already-dispatched actions may finish; pausing cannot recall a packet or provider request already handed off. The native command deadline is at most fifteen seconds from its actual dispatch receipt, and a missing acknowledgement becomes an unknown outcome without automatic replay. Essential sanction expiry and explicit recovery/reversal controls continue. Disable proximity voice separately to return members to the lobby when Discord is reachable.

Live Discord boards and priority

Open Community tools → Live boards. Free provides one active status board; Premium provides five eligible status, world, player, scoreboard or statistics boards. Approved higher board allowances apply. Each board edits its existing Discord message and shows observation freshness. A missing channel, lost create response or failed permission check appears in the saved board status; an uncertain message creation is not automatically repeated.

The current community owner can select Set board priority beside a saved board. Higher numbers keep active slots first; matching priorities use board ID order. The review includes the previous priority, so a stale form cannot overwrite newer choices. Priority does not enable a paused board, change its channel, grant Premium or override publication/privacy rules.

Owners can delete live boards and their confirmed bot messages. Discord channels are kept.

Downgrade preserves saved boards and messages. Ineligible Premium boards wait without consuming the Free status allowance, so the existing status board can still be edited. Enabled eligible boards beyond the current allowance wait in priority order. Reactivation restores eligibility without duplicating saved messages. Pause boards you do not need; enabling a new board still checks the current eligible allowance.

Player, scoreboard and statistics boards require private Discord channels unless publication is enabled in the source plugin. Scoreboards use an exact existing objective; missing or partial captures are reported. Revoking publication queues redaction of old private content independently of ordinary refresh timing. World or permission changes do not authorize publication. Source records and recovery receipts are preserved separately.

Activity analytics and observed concurrency

Open Community tools → Activity → View activity analytics. Free includes seven days of recorded chats, joins, leaves and deaths, plus daily observed minimum and peak player counts. Premium includes ninety-day trends, hourly UTC patterns, bounded player/event and reported death-cause breakdowns, and the latest 192 sampled concurrency buckets. Approved higher history allowances apply. Download activity data saves the currently authorized report as JSON.

Concurrency records authenticated Companion observations in fifteen-minute buckets. The configured relay player is excluded; other service accounts can still appear as players. These are sampled counts, not continuous occupancy, unique visitors or time-weighted averages. Missing observations remain unknown and are never reconstructed from join/leave events. Recording starts with this update; old concurrency is not invented. Daily event counts cover retained observations and do not establish complete observation coverage.

Counts belong to the selected stable world. Changing worlds keeps the previous world's history separate. Current owner/staff access, world identity and plan are checked when the report is opened and again before returning it. Refresh clears older output first. Table regions scroll horizontally on phones and can receive keyboard focus. Chat bodies and private coordinates are not included in this report.

Each concurrency bucket keeps its capture-time history deadline. Upgrading does not renew it, and downgrading preserves its original deadline while limiting the currently visible history and Premium breakdowns. Expired buckets are hidden before bounded cleanup. Collection stops while extensions, emergency access or Discord recovery are held. The per-community storage budget is 40,000 buckets; missing buckets remain unknown. Recovery files offers Observed concurrency history for reviewed removal; private community exports include retained sampled data.

Review and remove saved history

Open Community tools → Recovery files → Choose history to remove. The current verified Discord community owner or hosting operator can use this on Free or Premium, including a suspended workspace. Choose the exact collection: activity, command records, concurrency, private plugin or skin captures, private response caches, directory profiles/settings, invitation pages/traffic, saved bot language, Discord transitions, adapter diagnostics or expired administration history. Choose an age or all currently saved history. Previewing does not delete records.

Review the exact category counts, cutoff time, protected queued deliveries or active readers and existing community exports that will be invalidated. The preview lasts five minutes and includes at most 500 records and 8 MiB of reviewed content. Check the permanent-removal confirmation and choose Delete reviewed history. Cancel this review leaves source history unchanged. Additional records require another review; a new or backdated record cannot be silently added to an existing selection.

Confirmation checks current ownership and every selected record again. Changed records, queued deliveries, a changed export list or an expired review reject the action. Removal and export invalidation commit together; a failed transaction removes nothing. Retrying the same confirmed review returns its saved result without deleting more records. After an interrupted response, refresh history reviews before retrying.

Plugin captures include retained chunks and duplicated job result bodies; compact receipts prevent replay. Skin captures include raw and derived previews; removal receipts prevent exact replay or stale readback from recreating them. Profile removal also expires the exact reviewed community response caches, including pending responses and hide codes, because legacy replies lack complete player metadata. Their event IDs remain, and late replies cannot restore removed private bodies. Remove response caches in batches first if a profile group exceeds the review budget.

Invitation page removal includes its current and prior raw addresses, page settings, traffic and linked directory publication settings. Address hashes and opaque quota-owner markers remain as security receipts; nobody can republish those permanently removed addresses, and deletion does not reset the address allowance. This is distinct from Pause or Remove invitation page, which withdraw publication while retaining configuration/history. Saved player profiles and admissions/provider grant evidence remain separate.

Language removal is offered only with All currently saved history, because language revisions are not timestamps. It resets the shared bot preference to English; it does not change a person's selected interface language. Administration history retains completed entries for at least ninety days after both start and finish. Unfinished or uncertain entries and gap counters remain protected. Current Discord holds, adapter routes and active security policies are never cleared by diagnostic-history removal.

Player totals, links, sanctions, rewards, execution receipts, command gap counters, active security/recovery state, unselected settings and captures, maps, retained world copies and live worlds remain. Previously downloaded files and Discord or Minecraft messages are outside this operation. Recording can continue. This is not complete hosting-account erasure or world deletion; retained collections keep their separate recovery, removal and retention controls.

Private community exports

Open Community tools → Recovery files → Create community export. The current Discord community owner or hosting operator can export retained settings, custom module source and private player records on Free or Premium, including suspended workspaces. Ordinary administrators and external API keys cannot use this owner recovery export.

Confirm the private-data notice and queue the export. Preparation runs in the background. When Ready, choose Download community data and Save community data. The .ndjson.gz file is compressed newline-delimited JSON, with an explicit collection manifest and omitted fields. It is portable data, not an automatic restore package. World archives and map files have separate downloads.

Managed credentials, token caches, login codes, hashes and verification proofs are excluded. Custom source and arbitrary user-written strings remain literal data and may contain sensitive content you supplied. Keep the file private. Limits are 64 MiB compressed, 128 MiB uncompressed and 100,000 records. Downloads expire after one day. Canceling preparation or deleting an export leaves the source records unchanged.

Access is checked during preparation and each download, with chunk and whole-file integrity checks. Expired history and retained skin projections are excluded before cleanup. Ownership changes, canceling, expiry or an interrupted worker prevent downloading an incomplete export. Retry the same start form after an uncertain response; its request ID prevents duplicate preparation. Keep the export ID when contacting support.

Download or remove a retained world copy

Open Community tools → Recovery files. The current Discord community owner or hosting operator can list, download and remove retained world copies on Free, including during suspension. BDS World backups and Realm owner also have Download world copy buttons. Reconnecting the Microsoft Realm-owner account is not required to download a copy already retained by Oni. If Discord ownership cannot be verified, contact the hosting operator for recovery.

Choose Download world copy, review its size and retention date, then Save world copy. Desktop Chrome or Edge can stream files directly to your chosen location. Browsers without streaming file access, including many mobile browsers, support copies up to 128 MiB. Larger copies remain visible with instructions to use a supported desktop browser. Oni verifies every chunk and checks access again before completing the file; an error or cancellation aborts a partial streaming file. Retrying reads the same retained bytes without repeating a world operation.

A downloaded .mcworld file is private world data. Keep it in a trusted location and confirm your browser finished saving it. The shown SHA-256 identifies the retained archive. Integrity verification does not prove that every add-on will load or that gameplay has been tested. Download time and provider snapshot time remain distinct.

Removing a retained copy requires confirmation and deletes only that copy from Oni storage. It does not delete the running world. Copies needed by active maintenance, snapshot readers or recovery cannot be removed. Expired unprotected copies cannot be downloaded, even before cleanup finishes. Downgrade does not shorten a copy’s original retention deadline.

During BDS restore maintenance, Restore missing original reconstructs the encrypted before-copy only if both the live-world path and preserved-original directory are absent. Keep the server stopped. Oni writes a new staging directory, verifies all files and required packs, checks the paths are still absent, and activates the original copy. Up to three reconstruction stages are retained. If activation loses confirmation, Resume reads the actual world before finishing; it never automatically repeats an uncertain rename. If a partial stage is damaged, choose Restore missing original again for a new stage. An existing world is not replaced by this action.

If host credentials expired while both directories were missing, reconnect the same panel, server and world. Recovery authorization requires unchanged server.properties, an offline server and a retained before-copy for that exact world. If the restored target already exists but the preserved original directory was lost, Finish if world is safe verifies the current target and its required packs. The encrypted before-copy remains available for a later explicitly requested restore.

History retention and execution receipts

New activity, completed job bodies and private companion captures keep the history allowance recorded when they are created: seven days on Free, ninety days on Premium, or an approved history capacity grant. A downgrade does not shorten those existing deadlines. Upgrading does not extend an already saved deadline. Current Premium, ownership and privacy permissions still apply when reading retained data. Expired captures and event history are unavailable even before background cleanup finishes.

A completed job result can expire while a compact execution receipt remains. Retrying its original request identifier returns the same receipt and does not create a new game action. A late acknowledgement cannot recreate a deleted private capture. Event response bodies expire after one day while their receipt identifiers remain to prevent duplicate actions. Unresolved operations, reward claims, sanctions, membership decisions and recovery checkpoints are preserved separately from ordinary history.

Legacy activity and captures without a recorded deadline receive the largest supported history window from their original time, with at least thirty days from this migration to review the records. Restarting does not renew that deadline. Existing archive, skin, map, invitation and security retention policies remain separate. Archive recovery copies keep their original retention and remain protected while required by active recovery.

Cleanup processes bounded batches. An incomplete terrain or scoreboard transfer can be cleaned after one day only when no active job or retained capture needs it. The receipt budget is one million execution records and one million event receipts per community; reaching it stops new work and requires operator maintenance, rather than deleting evidence or resetting cooldowns. Product-history cleanup does not remove configured modules, active sanctions, account credentials or world-local add-on command rate counters.

Module storage and game-side recovery state are part of the actual world database, not a hidden hosted copy. Stop BDS and create a verified complete World backups copy before repair. Keep the same Companion manifest identity and module ID when upgrading; changing either can make existing dynamic properties appear absent. Use a module's declared storage helpers to read, replace or remove only a known entry in its own namespace. An unreadable entry is an error, not an empty value. Preserve onirelay:addon_command_rate, processed-request and prior-mode/home records; deleting them can reset rate limits or lose recovery evidence. A verified full world-copy restore is separate from credential rotation and hosted history removal.

Unknown host files, abandoned-looking staging directories and unmatched provider effects are retained for operator review. Reauthorize the same host, inspect the exact saved maintenance operation and use its documented Resume, rollback or permanent-cleanup controls. Oni never removes a directory merely because its name resembles a staging prefix. Permanent world cleanup checks each recorded unchanged file and leaves unrelated backups, modified files and empty scaffolding separate. No general recursive host cleanup or automatic full hosting-account erasure is performed.

Community exports exclude hosting sessions, private hub tickets, platform-owner command bodies and other communities. The existing support/hub records remain under their separate platform-owner controls. Removing a Discord link, consent, connection, download or public page is not complete account erasure and does not by itself reverse a world membership, Discord role, sanction or reward. Those operations retain their own exact authorization and execution/recovery records.

Your own status and authorized staff player cards

Open your community’s private player account from Players & linking, link your own Discord and Minecraft accounts with the private code, then use My player status. Request my basic status is available on Free. Request my detailed status is available on Premium. Refresh status result reads the same request; it does not repeat the game action. Read my retained status opens the last authorized saved capture, including while you are offline.

Premium details include supported health and maximum health, hunger, XP and level progress, game mode, dimension, effects, observed device, recorded playtime and session/death/respawn observations. Unsupported values remain unavailable. Session observed since means this companion saw that session; a companion restart cannot recover an unobserved login time. Respawn and death times come from actual events, not health guesses. Effect durations are the remaining ticks at capture and do not count down in the portal.

All telemetry is immutable and dated. A recent status label lasts at most fifteen seconds and requires a matching fresh companion/player session. Observed presence uses the independent forty-five-second roster window. Logout, stale data or a replaced session remove the recent label. Historical cards never become live just because the player reconnects. Coordinates, inventory and other private tools retain their separate permissions.

Owners use Player directory → Player card or Built-in plugins → Oni Player Card. Inspecting another player requires Premium, the owner’s explicit Player Card staff-access setting and current delegated staff permissions. The current plan, link, world and permissions are rechecked when requesting, dispatching and reading results. Downgrade preserves saved detailed captures but prevents reading Premium content; a linked Free member can request a new basic capture.

Check permissions before a privileged action

Open Community tools → Overview → Permission diagnostics. Choose the intended action and run its check. Owners and current portal administrators can diagnose a companion/world binding, Premium server commands, a plugin request, a text channel, a verification role, a BDS host installation or bound Realm owner controls. No role, channel, file, power state or Realm setting is changed by diagnostics. Results expire after fifteen seconds and are not an authorization token; the real action checks again.

Needs attention names the actual missing requirement. Not confirmed means a provider check did not complete; it is not permission approval. Plugin checks reuse current plan, link, enabled-plugin, private-scope and delegated-role checks. Premium server commands also require an enabled current bot session, Operator and commands enabled in Minecraft. The bot cannot grant itself Operator or Discord permissions. Host installation checks inspect only the already-authorized game server and its file/power permissions. Realm checks inspect the existing owner binding and active slot, without selecting another world or account.

Discord channel checks use current channel overrides and require View Channel, Send Messages, Embed Links and Read Message History. Private staff destinations keep their additional restrictions. Role assignment requires Manage Roles or Administrator, an unmanaged target role and a bot role above the target; Administrator does not bypass this role hierarchy. Discord documents these rules at https://docs.discord.com/developers/topics/permissions. Lower-level plugin and host/Realm owner actions recheck current Discord ownership. Existing host-credential revocation remains available to its stored owner during provider outages.

Transport diagnostics and versioned game events

Open Community tools → Overview → Transport diagnostics. Free owners and authorized portal staff can inspect the latest trusted adapter hook, contract version, service receipt time and bounded request counts. These are processing observations, not connection health, Discord delivery or proof that a game action finished. A stale row stays historical; refresh after thirty seconds. Repeated requests count separately. Removed profile observations and observations older than thirty days are cleaned automatically.

The private controller hook uses schema: 1, adapter: onirelay-bedrock-v1, the configured profile and a version-1 event. It accepts only documented chat, presence, status, companion-frame, command, roster, skin and command-record hooks. Worker startup secrets, OAuth interaction credentials and unrelated fields are excluded at the sender and rejected by the current service contract. Unversioned controllers remain labeled legacy during a rolling upgrade. This endpoint is restricted to authenticated loopback services; customer API keys and custom modules cannot send raw packets or start native host processes.

HOOK_SCHEMA_UNSUPPORTED means the controller and service need matching versions. HOOK_INVALID means a malformed contract. HOOK_SCOPE_REJECTED means the profile, world or session changed. HOOK_ACCESS_REQUIRED means an approval or entitlement is missing. HOOK_PROVIDER_UNAVAILABLE and HOOK_RATE_LIMITED require the provider retry window. HOOK_OUTCOME_UNKNOWN requires inspecting the original operation receipt before repeating a change. Diagnostics stores these fixed codes without raw exceptions, tokens, player data or command bodies.

Custom module event handlers receive a frozen schema-1 game observation: kind, source and observed at, plus only fields relevant to join, leave, death, chat, milestone, block_break or block_place. Existing name, text, death cause/dimension/position, milestone stat/value and block identifiers remain available. Supported structured chat retains rank, adapter and adapter_message_id. Death positions are immutable copies. A queued initial join retains its original observation time. Unsupported or unavailable fields are omitted, never invented.

Use defineModule({onJoin(event, oni) { oni.game.tell("Welcome, " + event.name); }}) and declare join in the manifest events and game:message in its permissions. Existing events: {join(event, oni) { ... }} remains supported. The SDK context keeps current module revision, feature and permission checks on each operation. World scripts are reviewed Minecraft add-ons, not a sandbox: the legacy player context remains compatible, but the SDK does not expose Xbox tokens, arbitrary transport packets or hosting shell execution. SDK errors expose a scoped code; unknown engine errors do not echo their raw details.

Review owner security records

Open Community tools → Overview → Owner security records. The current Discord community owner can read these records on Free or Premium; portal staff membership alone does not grant access. The platform operator can switch to all relay communities. Filters and cursor pages are available on both plans, and Download this audit page exports only the current redacted page.

Records identify the actor, community, operation, resource area and reported outcome. Administration request receipts cover recognized configuration, entitlement, credential and control endpoints from this update onward. Existing component audit calls contribute metadata-only records. Entitlement writes/removals are captured in the same database transaction, including automatic provider reconciliation. Passwords, tokens, device/linking codes, request bodies, payment identifiers and raw diagnostic details are never copied into this owner view. Legacy private diagnostic records remain separate.

Request returned only confirms that the request handler returned. A queued job still needs its own final receipt; provider acceptance does not prove game effects. Request error can include partial effects. Started without an outcome can mean work is still running or the process was interrupted. Check current state before retrying. Security records retain ninety days independent of gameplay tier or world replacement, with a one-hundred-thousand-record bound per community. Capacity removals show an explicit gap count. Empty history is not proof that no earlier changes occurred. OniLink and hosting account administration keep their existing separate hosting audit.

Read your services, world versions and roster

Open Community tools → Overview on desktop, or choose Overview in Workspace section on mobile. The current community owner and authorized portal staff can view its private service summary on Free. OniRelay settings, Companion version, independently timed health checks and the latest complete roster appear together. A fresh empty roster is zero; missing, paused, replaced, partial or expired observations are unknown. The Companion roster takes priority and expires within forty-five seconds. A fallback from the authenticated game connection requires its current session, exact destination, complete sequence and status heartbeat; it expires within twenty seconds of that heartbeat and thirty seconds of the snapshot. It does not establish Companion world health or create Companion player records.

The configured relay account is excluded at its source. Other operator-declared shared hosting accounts are listed separately only when their authenticated identity matches; a name match alone is insufficient. Unknown automation may still appear with players, so the count is not a verified human count. The summary shows up to twenty player names and twenty known service names. Players & linking contains Companion records. /oni online and /oni status use the same complete snapshot, source and expiry. Private native snapshots have a forty-five-second retention ceiling for export, and expired duplicate bytes are pruned in bounded maintenance passes.

The configured Minecraft version is the saved connection setting, not proof of the running game version. Companion version and build fingerprint are last-observed values with their original report time. Health expires on screen and is collected in the background; opening this page does not start a worker or run a provider probe. Refresh world overview reads the latest available evidence. For a missing connection, open Connections to review the actual settings and recovery steps.

Your OniLink services come from the hosting account’s current service permissions and retain their own billing and heartbeat status. They are not automatically associated with the selected relay world and are not included with Relay Premium. Standalone relay portals link to the hosting dashboard. Gateway routes retain separate entitlement, owner approval and reserved account capacity; enabled does not prove an invitation was delivered, accepted or followed by arrival.

Premium can compare up to five communities already visible to your account. Each selected community requires current Premium and current owner or portal staff access; unavailable communities disclose no names or roster. Comparison allocates no additional worlds or accounts. Open shared chat routing manages the existing conversation groups: each owner must explicitly accept the group and its current policy. An overview comparison never authorizes routing or sends a message.

Find observed players and verified links

Open Community tools → Players & safety → Players & linking on desktop, or choose Players & linking in Workspace section on mobile. The private Player directory is available to the current community owner and authorized portal staff. Search an observed name, player ID or linked Discord ID. Free includes literal, Unicode-aware name searches, online/offline/unknown presence and verified, pending, denied/revoked or unlinked filters. Use More players and Previous players to reach retained identities beyond the first page.

Online and offline require a fresh authoritative roster from this world. An old report, replaced companion session, pause or access hold makes presence unknown. The displayed status expires after forty-five seconds; search again to refresh. Last seen is a recorded observation, not proof that a player remains online. Link proof, staff approval and revoked access remain separate states.

Premium adds last-seen windows within the configured history allowance, minimum recorded playtime/session filters and sorting by those observations. Missing statistics remain unrecorded. Recorded statistics includes dated activity counts in thirty-day UTC pages, bounded by the current history allowance and any higher grant. Days without observations are not filled with zeroes. Player card, inventory, location, death history and recorded-statistics actions check their own current plugin settings, plan, membership and delegated permissions; access to the directory grants none of those private scopes. Free members can still open their own private player account from the page. A name match or saved-world record is never ownership proof.

Recent and retained private locations

Premium members can request their linked player through Built-in plugins → Oni Location or /onirelay:menu. Inspecting someone else requires the Location staff opt-in and current delegated roles. The result records the companion position, dimension, capture time and session. The portal compares it with the current roster for at most fifteen seconds; movement, logout, dimension/session changes or stale observations make it last known. This is sampled evidence, not continuous tracking.

Read the latest retained capture is a separate historical view. It preserves the original coordinates even after the job receipt expires. Refresh result rechecks permission and freshness; Request new location lookup asks Minecraft for another observation. Neither replaces the saved capture. Missing timestamps or session information on old receipts remain explicitly historical. Losing the plan, link, private permission or world authorization blocks subsequent private reads.

Private inventories, storage items and saved containers

Premium Oni Inventory reads main inventory and hotbar, equipment/offhand, item counts, names, supported enchantments and durability. Open Built-in plugins → Oni Inventory → Request private result or /onirelay:menu. Own data needs a current linked player; other-player inspection needs the Inventory staff opt-in and delegated roles. Expand Stored contents to inspect a supported storage item. These are observations at capture time; no items are moved or changed.

A missing ender or shulker API is reported as unavailable, never empty. Names, lore, enchantments, item counts, nesting and serialized response size are bounded; partial detail is labeled. Retained captures remain available through the retained checkbox while current privacy and Premium permissions allow them. For unsupported live containers, an authorized owner can inspect a consistent retained BDS or Realm copy in Saved worlds.

Members can also open their community’s private player page and use Request my inventory, Refresh inventory result or Read my retained inventory. These requests use the current linked account. Unknown saved-world player records are not automatically shared through this page.

Saved worlds → List saved player records decodes actual saved main inventory, armor, offhand, ender storage and nested tag.Items or BlockEntityTag.Items. Saved records without independent identity proof are labeled unverified and remain owner-only; a similar name is not enough to grant a player access. Recorded damage does not imply a known maximum durability.

Saved worlds → Inspect saved container takes exact block coordinates and dimension. It reads the selected block entity from the retained copy, with the separate Inventory and Location staff permissions. Supported records include chests, barrels, placed shulkers, hoppers, dispensers, droppers, furnaces, blast furnaces, smokers and brewing stands. A double chest half is inspected separately. Missing Items or unsupported records produce an actionable error; no live block is placed, opened, broken or changed.

Private and shared map markers

Premium includes Oni Map Markers. Link your own Discord and Minecraft accounts, join the world, then open /onirelay:menu → Oni Map Markers. Create here captures your position and dimension when you submit the form. Moving while the menu is open changes the submitted position; later movement does not. Expired observations, logout, a changed player session or revoked authorization require a fresh request.

Choose a name, description and type: place, home, resource, danger, meeting or portal. Private markers are visible only to their linked creator. Community markers require the owner to enable publication in Built-in plugins → Oni Map Markers → Settings & access. Withdrawing that setting hides existing shared markers from other members immediately, while their creators retain access. Marker sharing does not publish a world or player directory profile.

My markers provides bounded pages, including all markers beyond the first forty. Edit names, descriptions, type and visibility using the saved revision, or remove a marker. Edits preserve its position. Submit within two minutes of requesting the menu; current companion authorization must remain fresh. The original command keeps its fifteen-second response deadline. A later form submission is a new user intent with its own receipt, not an automatic replay. The default limits are 200 per world, 20 per player and 50 per custom module; owners may choose stricter or supported larger limits. Every applicable limit is checked together before saving.

Custom modules declare game:markers and use await oni.markers.create, list, update and remove. Each call uses the currently online linked player, current module revision and active Premium entitlement. A module can manage only its own markers for that player. Use the returned ID and version; list returns next_offset when another page exists. Coordinates cannot be supplied through these helpers. Generic external API keys cannot impersonate a player or publish markers.

Authenticated portal/player routes markers/list and markers/change apply the same player and publication permissions. For HTTP create, position comes from a fresh server-observed player record. Include a unique request_id for each mutation and reuse it after a lost response; conflicting reuse is rejected. In-game requests automatically have a durable request ID. Saved confirmation identifies a database change, not a teleport or an in-world object. If a response is unconfirmed, inspect your marker list before making a different request.

Reconnect recovery and Premium retry settings

Connections shows requested state separately from the actual Xbox worker and companion. When recovery is waiting, it shows attempts used, the next permitted retry, provider cooldowns and any stopped circuit. Use Recheck to inspect setup. After fixing a stopped connection, use Reconnect bot to request a fresh bounded attempt cycle. Neither action signs into another Xbox account or changes the world.

Free uses six attempts with exponential delays and jitter. Premium defaults to a larger eighteen-attempt budget; owners can disable that extension or choose Standard, Balanced or Conservative timing in Reconnect settings. Balanced grows to two minutes and Conservative to five minutes. The extended budget waits at least five minutes between attempts after the sixth and at least ten minutes after the twelfth. No timing selection bypasses provider cooldowns. Each connection has its own budget; Premium does not take a Free connection’s worker or account.

Attempts are saved before starting the game worker. A controller crash retains the spent attempt and at least a two-minute recovery delay. Only two continuous minutes actually online reset the count; a long stalled login does not. Background reconciliation resumes saved recovery without clearing terminal failures or retry budgets. Explicit reconnect resets a reviewable circuit but retains any recorded provider cooldown and a minimum interval between login attempts.

Known authentication, account-conflict, permission and protocol rejections stop automatic retries. Server-full, timeout and service-outage failures remain bounded transient retries. Unexpected response bodies and credentials are never exposed as diagnostics. A required cooldown longer than the supported one-year window stops automatic recovery for hosting review. Corrupt or unwritable recovery storage also stops new workers until repaired.

Every new attempt checks current service authorization and retry policy. A downgrade applies the Free budget and timing without deleting saved choices; re-upgrading restores choices for the same current owner and destination. A changed owner, Xbox account or destination requires a new settings review. Personal-account sessions still require their separate Premium authorization and are paused when it expires; the retry policy cannot silently assign a Free pool account.

These controls do not prove a successful game join or delivery. Verify the separate online/companion states and then test gameplay. Reconnect records contain binding hashes and counters, not tokens or message contents. Hosting support can inspect and repair a damaged recovery file while the affected profile is stopped; unrelated workers and the Discord connection remain independent.

Restore Discord access after removal or an outage

Desktop: open Community tools → Start & services → Discord recovery. Phone: choose Discord recovery in Workspace section. If the missing bot prevents normal workspace access, the registered owner sees this limited recovery view automatically. It exposes saved connection status and a verification request, not permission changes or account credentials.

Bot removed means Discord reported that OniRelay left or was removed. Use Add the OniRelay bot to Discord, select the same server and approve its installation. Discord server unavailable means Discord reported a temporary outage; it is not proof of removal. Access unverified means the provider check failed and does not identify the cause. Restore provider access, then choose Recheck Discord server and Refresh Discord recovery.

The check verifies the actual registered owner, bot membership, active saved text channels, required bot permissions, private staff-channel visibility and explicitly authorized webhook sources. If a channel needs repair, its ID is shown. Repair that channel in Discord or disable/change the affected saved route. A missing or moved webhook must be removed or replaced explicitly; Oni does not recreate it or grant itself permissions. Owner changes require hosting transfer review.

Guild return events only request verification. They cannot clear an access hold. Background REST checks also detect missed events after a restart. Saved routes, world IDs, modules, subscriptions and Xbox reservations remain intact. Recovery preserves disabled routes, manual extension pauses, emergency holds and plan restrictions. It does not start a stopped Xbox session. Already dispatched effects cannot be recalled; unsent text withdrawn during a recorded removal is not replayed.

The recent history distinguishes Discord events from provider checks. A successful Discord check proves only the checked Discord access, not Minecraft connectivity, companion health or gameplay. Use Connections for those independent states.

Emergency Relay disconnect and owner recovery

On desktop, open Community tools → Start & services → Emergency disconnect. On mobile, choose Emergency disconnect in Workspace section. Enter a short reason and select Disconnect Relay now. The current Discord owner or a manager with Administrator or Manage Server permission can detach on Free or Premium. Portal staff membership alone does not provide this safety authority.

In Discord, use /oni status action:disconnect reason:your reason. This uses the existing Oni bot and command. It detaches this community’s Relay routes, pauses companion extensions and requests the reserved Xbox bot to stop. It preserves the world identity, account reservation, modules, settings, subscriptions and saved history. It does not stop separately entitled OniLink or Realm Gateway services, cancel subscriptions or remove active sanctions.

The durable hold is saved before contacting the bot controller. A timeout leaves the hold active; background reconciliation continues trying to stop the same profile. An accepted stop request does not prove departure. Check Connections for actual session evidence. Already dispatched messages and commands cannot be recalled. Companion authorization has its existing thirty-second lease. Unsent chat messages are canceled; history and dispatched receipts remain available.

Only the current registered owner or hosting operator can clear the hold after reviewing its reason. Clearing it leaves the bot stopped and extensions paused. Review the saved destination and permissions, explicitly Join destination in Connections, and resume Companion when ready. If setup had no reserved account, use Recheck setup after clearing. A stale browser form cannot clear a newer hold. The same controls remain available after downgrade and for stopping a suspended community.

Install a reviewed module batch

After saving a batch in Module catalog, choose Install saved module batch. The dialog shows the selected BDS host and world path, or the bound Realm and slot. Connect the correct host or Realm owner first. Each submission has a durable request ID, and the resulting installer checkpoint appears under that batch after reload.

BDS preparation only reads files and builds the exact preview. Open Game host, review the file list and retained before-images, then explicitly approve maintenance. Realm preparation needs separate consent to close the Realm and retain its current world; review the resulting pack changes before approving upload in Realm owner. Provider acceptance, verified file bytes, matching companion build and individual module reports remain separate states.

Changes to module source, configuration, the plan, owner authority or world credentials invalidate forward work. Resolve an existing maintenance checkpoint with the installer’s verification or rollback controls. A lost response does not authorize repeating an upload. Saving or restoring source alone never changes the world pack.

Source rollback restores the reviewed module configuration. Install that restored configuration to apply it to Minecraft. File/world rollback uses the installer’s retained before-image and remains available after a downgrade. Manual private companion download remains available. Installation history retains the batch and exact installer relationship; new-module success is shown only after a fresh matching build reports every expected module loaded.

Connect an installed add-on command to Oni

Use a custom module on Free or Premium. Declare game:addon_commands in manifest.permissions and up to five exact names in manifest.addon_commands, for example ["sample:hello"]. Replace that example with a namespaced command actually registered by an add-on installed in this world. Review the exact names when enabling or batching the module, then install the updated private companion package. Adding a new target to an existing module disables it until reviewed again.

In a module handler, call oni.addons.command("sample:hello", ["Hello", 3, true]). The adapter accepts up to sixteen string, number or boolean arguments, quotes strings, rejects control characters and limits the whole command to 2048 characters. It needs the linked player online in the current world. Ordinary Minecraft commands, wildcard names and Oni internal namespaces are not accepted through this adapter.

This is trusted companion script execution in the linked entity context. It does not grant or verify the player’s operator privileges. The installed add-on and Minecraft still decide which command syntax and runtime features are supported. Review privileged add-on handlers before approving them; a command that forwards arbitrary native commands is not a narrow permission boundary. This adapter never enables cheats, changes operator status or switches worlds.

Free retains three active custom modules and fifteen custom-module commands; Premium retains fifteen modules and seventy-five commands. Each module still has five command definitions. Namespaced targets are adapters used by those existing commands. A separate shared world execution allowance is thirty attempts per minute on Free and 120 on Premium, with configured grants up to 600. Its attempt counter is persisted before dispatch and survives companion restart. A corrupt counter stops dispatch for owner repair; history cleanup must not reset an active cooldown.

Successful return contains the engine success count, adapter bedrock-entity-command-v1 and completion=not_observed. It confirms a positive synchronous command result, not completion of delayed actions inside another add-on. Exceptions and zero/unknown counts produce ADDON_OUTCOME_UNKNOWN; inspect effects before trying again. Oni module job receipts prevent automatic replay of an uncertain job. Private command observations retain the target name and outcome, never its arguments.

The source remains editable in scripts/adapters/addon-commands.js and the method has a declaration in sdk.d.ts. Full vanilla/server command dispatch from Discord remains separately Premium-authorized. Real BDS/Realm engine and third-party add-on acceptance is a distinct gameplay check; unavailable methods or absent add-ons never become simulated success.

Owner console and game command authority

Open Community tools → Game host → Open owner console. Oni checks current community ownership, the selected host authorization and the panel server identity, then provides a link to that exact server. Sign in to your own game-host panel account. The shortcut contains no client key, token or pre-authorized websocket URL.

Native panel console access, logs and essential start/stop controls retain the permissions your game host already grants. They remain available to Free owners and after a Relay downgrade. The installer key can lack console permission even when your separate panel login has it; the screen reports that distinction. A revoked host connection or changed server identity must be reviewed before the shortcut is available again.

Commands entered in the host panel run with native server-console authority and are recorded by that host. Commands submitted through Premium Relay run as the assigned Xbox bot player, with its actual operator/cheats permissions and player context. Companion scripts have their own supported API context. These are different execution sources; opening the shortcut does not send a command, change permissions or start a server.

Minecraft Realms do not expose a native server console. Use Realm owner controls for supported state and membership operations and the separately authorized relay commands for player-context game commands. This shortcut does not grant panel access to Discord staff or give access to the central hosting application.

Private command records and native telemetry

Open Activity → Command records. Free records /oni and /relay requests, selected portal/API operations, in-game menu and companion actions, and accepted Oni game operations from this release onward. Requests distinguish accepted, handled, rejected and unknown outcomes; acceptance is not completion. Job records link to their separately authorized receipts. Earlier receipts remain under Activity. These records do not claim to cover every command executed anywhere on a Minecraft server.

Premium owners may opt into native player/console command observations from the optional, approved BDS adapter. Enable private native collection, then review the native installation. The adapter can be enabled with mute and ban enforcement off if you only want observations. Realms cannot load this native plugin. Current plan, world, owner and process authorization are checked before collection is accepted.

Every native command argument is omitted before buffering or transmission. The retained command name, authenticated player XUID or console origin, time, observed cancellation state and source allow filtering. A native event occurs before execution completes: uncancelled does not mean successful. Functions, command blocks and other paths may not produce these events. Native telemetry is not complete server-wide logging.

Native telemetry uses a 256-event queue and uploads at most 64 observations per five-second policy cycle. Failed deliveries retain the same event IDs for retry; observations older than 50 seconds leave the queue with a visible loss count. Queue overflow and recording capacity gaps are shown explicitly. The companion also reports a monotonic count of command observations lost when its bounded queue is full. Command logging failures do not interrupt owner safety/recovery or native policy refresh. A crash can lose unsent companion observations; these are observation logs, not a complete execution journal.

Records use the history allowance active when received: seven days on Free and ninety on Premium by default, with up to 100,000 retained rows per community. Retained native rows remain readable by the owner after downgrade; new native collection and advanced filters stop. Private staff history delegation requires Premium and current permission. Raw arguments can still be present in their separately authorized operation receipt when required to execute an Oni command; command-record summaries never duplicate them.

Turning native collection off preserves existing records until their retention expires. World changes stop collection until the new world is reviewed. Use the player/console source filters, exact actor ID or command name and pagination to investigate; compare command attempts with actual operation receipts and game observations before concluding what happened.

The older /relay controller first writes metadata to its private hosting audit. Dashboard delivery is bounded and may be unavailable during an outage; queue and HTTP delivery failures add a private hosting warning and a dropped-event count. Ask hosting support to review that audit if a /relay request is missing here. The platform /onihub help desk keeps its own private metadata records, separate from all customer worlds. Those records omit ticket answers, questions, interaction tokens and command arguments, retain up to 10,000 entries and prune records older than 90 days on the next request. Opening a form records only that a form response was requested, not that Discord displayed it. Queued work records handled or unknown outcomes separately.

Optional native BDS mutes and login bans

Use Moderation → Native BDS enforcement when your BDS host runs Endstone 0.11 with online-mode=true. It is optional for ordinary relay use and cannot be installed on Realms. Free owners can enforce saved mutes and bans; Premium delegation and policies still require their own permissions.

Prepare the private native package, retain your host files, stop the server normally and copy its plugins directory into the BDS root. Keep plugins/onirelay-native/connection.json private. Install the latest BDS companion and restart. The plugin sends a one-time console challenge through the authenticated companion, tying its process to the current world and credential. Refresh the native screen, review the observed installation and enable the exact enforcement options.

Chat suppression cancels muted players’ native chat without rebroadcasting the message or changing its recipients. Login bans use authenticated Xbox identities and do not modify the host ban list. Names alone never identify a player. Unban, unmute and timed expiry remain available on Free. The adapter downloads complete bounded policy pages and verifies their digest before applying them; partial or failed downloads cannot replace a policy with an empty list.

Enforcement stops when its current policy lease expires, at most 30 seconds after issue, if authorization, the companion or the API becomes unavailable. Saved sanctions remain in the portal. The screen distinguishes companion proof from a policy acknowledgement; neither is a real gameplay acceptance test. Check your actual Endstone version and other plugins, which can also alter game events.

Revoking or replacing the native credential ends further downloads. Replacement starts disabled and requires a new owner review. A server restart waits for the previous process lease to expire, up to 45 seconds. One installation cannot run concurrent native policy processes. Copied worlds retain their companion identity, so this does not establish physical server uniqueness; use World history review when replacing worlds or clones. Native source and installation instructions are included in the private ZIP.

Connect, leave and reconnect your destination

Open Community tools → Connections. Choose a Bedrock Dedicated Server public game address and UDP port, or the numeric Realm ID and its actual Minecraft version. Select the Discord chat channel and confirm your authorization. A public endpoint answering a status check does not establish control of that server. Game host stores separately verified panel/SFTP management access; Realm owner stores separate Microsoft administration consent.

For a Realm, invite the assigned verified Xbox gamertag shown on the page. Do not use an internal account/profile ID as the invitation name. The ordinary relay session needs the account to have access; the companion script-event bridge additionally needs Operator permission. Realm resource-pack acceptance is a separate explicit choice. Realms use the connected-bot companion transport, not BDS-only server networking.

Bot session, Discord and companion status are independent. A connected bot can coexist with an uninstalled or offline companion. An unavailable controller remains unavailable rather than being labeled stopped or healthy. Setup errors show a usable reason and the next retry where available. Recheck setup does not restart a deliberately stopped connection.

Join destination, Leave destination and Reconnect bot reuse the existing reserved profile/account and controller locks. Accepted means the controller accepted the request; refresh its observed state to confirm joining or leaving. Leave remains available after paid personal-account access ends. Account reauthentication and personal/shared account selection stay in Connections & billing, with the existing capacity and stop-before-switch checks.

Changing destination requires the current settings revision and replacement confirmation. The profile/account reservation, chat event channels and stopped intent are preserved. A different world requires World history review and an updated private companion. Retrying an unchanged initial setup returns the existing request instead of allocating another service. Never infer a completed Minecraft join from a submitted setup request.

Optional moderation policies and evidence review

Open Community tools → Moderation → Configure moderation policies. Premium policies are off until reviewed and enabled. Owners can delegate Automation management plus the exact warning, kick, mute or ban permission through Staff permissions. The actual policy author must retain those permissions. New world credentials, ownership or policy changes require review; losing Premium stops future automated actions without removing saved sanctions.

Custom chat moderation supports literal phrases, whole tokens and message prefixes, normalized repeated-message counts and rolling message-rate thresholds. Choose Minecraft, Discord or both sources; messages from a correlated game/Discord identity share counts. Set the observation window and the cooldown between findings. Further matches reuse the same finding during its cooldown and cannot repeat its automatic sanction. Regular expressions are not executed. An unlinked Discord sender can produce a review finding but cannot sanction a game player with a similar name.

The response can record a review, warn, kick, mute or ban. Warnings and kicks require a current observed player. A saved mute or ban is a durable local decision; the separate companion receipt describes in-game delivery. Suppress matched relay messages affects messages forwarded by OniRelay and checks the author’s current permissions. It does not suppress chat already visible in Minecraft. BDS in-game suppression requires a supported cancellable native adapter. Excerpts are off by default; without them, evidence retains the matched rule, counters and normalized-message hash.

Account associations compare actual authenticated applications in this world, current Microsoft player proofs and authenticated in-game code links. Configure distinct Discord accounts per Xbox identity, Xbox identities per Discord account and the lookback window. Findings show the matched records, observation times and bounded search coverage. They do not prove alternate-account abuse or common human ownership. Shared connections, devices and similar names are not used to identify players.

Reported-platform policy selects which known client platforms need admission review. Evidence comes from the fresh authenticated Bedrock player list, but its platform field is reported by the client and is not hardware attestation. A first-time applicant may have no platform evidence. Unknown, stale or unavailable data does not become a restricted-platform verdict. Surge policy counts distinct verified Xbox identities from applications, observed new arrivals or both in a chosen window, and moves matching new applications from automatic approval to staff review. New arrivals require uninterrupted complete snapshots in the same authenticated connection; first snapshots, reconnects, missing intervals and partial snapshots cannot establish new arrivals. Evidence preserves the observation interval, not an invented exact join time. Repeated presence/rejoins of one identity do not become multiple distinct accounts. The policy does not label individuals as bots or remove existing world membership.

A pending application stays pending until authorized staff decide in Players & linking. When the surge window drops below its threshold, later applications use the normal admission settings. Review policy findings separately: acknowledge records a reason; dismiss stops undelivered optional policy work. Neither action removes an existing ban/mute or grants membership. Use the normal moderation/admission controls for those decisions. Private staff notices follow the configured, permission-checked moderation channel; retained findings remain available in the workspace.

Review policy exceptions lets the owner select authenticated identity evidence, one named optional check, a reason and an expiry. Legacy entries without proof stay inactive until reviewed and recreated. An exception affects only its named check; it never grants access, removes a sanction or bypasses infrastructure flood limits. Every change retains its actor and identity evidence. Changes use revisions so stale forms cannot overwrite another review.

Shared claims, trusted publishers and appeals

The community owner opens Moderation → Shared ban intelligence. Premium publication and subscription are separate opt-ins. Publisher directory lists only communities that consent to sharing; it does not expose their bans. Enter the exact community IDs you trust, up to twenty-five. Enable the Ban intelligence policy separately under Configure moderation policies to hold matching new automatic admission applications for staff review. Neither subscription alone nor a shared claim creates a local ban.

Publication requires selecting one active local ban with retained authenticated Xbox identity evidence, writing a separate reason suitable for subscribers and the affected player, choosing an expiry and confirming the exact case. Original private staff notes are not copied. Claims retain the publisher, world, original sanction, authenticated identity source, author and timestamps. Sharing cannot outlive the source ban. A replacement ban is a new case and must be reviewed and published separately.

Matching uses the applicant’s authenticated Xbox identity, selected publishers, current consent, owner/world binding, active source sanction and Premium entitlement. Publisher ownership is checked before admission review. Exact ban-intelligence exceptions skip this optional check without bypassing local bans. Unknown names and typed XUIDs cannot establish a match. Findings preserve the original evidence and show the current source state when reviewed.

Withdraw a shared claim with a reason, or turn off publication to retire the current sharing generation. Turning publication back on does not republish old cases. Source unban, expiry, replacement or withdrawal stops matching. Private moderation-channel notices report changed source status for retained findings. Existing pending applications, local sanctions and world memberships are deliberately separate decisions: use Players & linking, Moderation or World membership to review them.

Players open their private player account, verify their own Xbox identity through the in-game code or optional Microsoft verification, then choose Review claims about my verified account. They can see claims about that account and send a private appeal to the publishing community. No typed identity or public ban search is accepted. A claim permits one pending appeal and up to three appeals at least twenty-four hours apart; duplicate request IDs retain the existing request. Current Discord community membership and fresh identity proof are required by this account portal.

The publisher reviews Appeals and chooses retract or uphold with a response visible to the affected player. Review and withdrawal remain available after downgrade. Upholding does not reactivate expired or withdrawn sharing; retracting does not automatically remove the publisher’s own local ban, another community’s independent ban or restore membership. Private alerts use the existing moderation route. Entries, appeals, consent history and directory pages are bounded and paginated; history remains separate from product activity retention.

Find a known player’s saved inventory

In Saved worlds, select a retained copy and choose Find a known player’s saved inventory. Choose a player observed by this community’s relay and companion. The private owner lookup uses the authenticated UUID and the saved MsaId/ServerId index; names and self-signed identifiers are not used as proof. A missing or conflicting index produces an explicit error. The unverified saved-record list remains a separate owner-only inspection option.

Premium and the Inventory staff opt-in are required. Including saved coordinates additionally requires the Location staff opt-in. Identity, owner, plan, world and permissions are checked again during processing and when opening the result. Replacing the player entity, relay session or world requires renewed matching evidence. The selected archive keeps its own original world/slot and captured time; no current inventory or online status is inferred.

This does not share the archive or its other records with the selected player. Linked members use My private inventory for their own retained companion captures. All snapshot inspection is read-only, runs in the private decoder and removes temporary extracted files when finished.

Own skins, Premium views and retained captures

Open your private player page after linking your Minecraft account, then choose Read latest skin capture. Free includes your own observed preview. The relay and companion must establish the same player entity; a matching gamertag or a typed Xbox name is not enough. Offline previews retain their original capture timestamp. A replacement connection or player entity requires renewed identity correlation.

Premium adds front, back and side views, retained-capture browsing and target lookups. For another player, the owner must separately enable Skin Viewer staff access and grant the appropriate current role and private-skin permission. Each preview, history page and cached image rechecks the current world, link, membership and entitlement. A newer capture never changes an older capture’s texture or timestamp.

Rendering happens in a background worker. A queued result is not a completed image; use Refresh skin preview after the worker finishes. Original captures retain their capture-time plan retention period, with at most twenty captures per player, 512 per community and 64 MiB of source data. The oldest captures can be evicted at those capacity bounds. Downgrade keeps eligible retained data but suspends history browsing and extra views; Free own-preview access remains.

The original renderer supports wide and slim classic textures, overlays, legacy half-height textures and supplied cube geometry, including Persona captures whose complete static cube assets were actually supplied. It does not reconstruct missing Persona pieces, capes, animation or unsupported meshes. Missing, ambiguous and malformed geometry shows an unavailable reason rather than an invented skin. These images describe observed appearance, not an external avatar or a visibility verdict.

Private skin coverage checks

Enable collection and staff access for Oni Skin Viewer in Built-in plugins, then open Moderation → Configure moderation policies → Supported skin visibility checks. Premium and current Automation management/private-skin permissions are required; delegated staff also need the Skin Viewer role. Review the minimum mapped coverage percentage and alpha threshold before enabling. A match creates a private review finding. It does not automatically ban or kick anyone.

The analyzer uses actual native RGBA data and a recognized classic resource patch or structurally verified complete classic cube geometry. It samples only the body’s mapped texture faces, combining matching base and overlay alpha. Transparent unused regions cannot reduce coverage; opaque unrelated pixels cannot increase it. Classic wide/slim, legacy half-height textures and supported integer texture scales are handled. The original cube skin preview remains available separately for its broader supported rendering formats.

Persona skins, animation, arbitrary custom/mesh/material geometry, missing texture data, contradictory layouts and unsupported mappings remain unavailable. Missing data is never reported as zero visibility. Even supported mapped coverage is a texture indicator, not proof of how another Minecraft client renders the player; client materials and world effects are outside the measurement. Check the source, captured time, threshold and per-body-part evidence before taking any separate moderation action.

The existing native capture pipeline supplies all evidence. A current same-session UUID, XUID and entity correlation is required; matching a name is insufficient. Collection consent, current Premium access, policy revision, world credentials, owner and private permissions are checked before storing a result. Named skin exceptions skip the analysis. Pending identity/permission checks have a retry delay; Recheck pending skin evidence allows another read-only attempt without accepting a supplied image or identity.

Recent private checks show supported, unavailable or excepted results. Only authorized Skin Viewer staff can inspect their measurements or review the private finding. Generic staff-channel notices disclose that private evidence is available without including the player identity or measurements. Raw skin textures and previews retain their existing private scope; the moderation page never returns them. Findings and observation metadata are bounded and separate from retained local sanctions.

Dedicated-server world copies and recovery

Connect your actual Bedrock Dedicated Server in Game host using a server-scoped Pterodactyl client key, optionally with verified SFTP file access. World backups lists the bound world and private retained copies. Create world backup requires an explicit maintenance confirmation and a restart choice. Players are disconnected while the server is stopped; the worker checks every copied file a second time before retaining it. Ordinary interactive file limits stay at 2 MiB. Large world files use bounded HTTPS node transfers or checked SFTP chunks.

Panel transfers require public HTTPS on the Wings node and configured upload/download permissions. Node URLs are short-lived and never receive the panel API key. SFTP requires the owner-approved host fingerprint and a proof that its files belong to the same panel server. World copies allow up to 512 MiB per file, 2 GiB compressed, 4 GiB expanded and 32,768 entries. Directory, storage, transfer-time and validation budgets may reject a larger copy without marking it complete. No live LevelDB directory is presented as a consistent snapshot.

Restore this BDS copy accepts only a retained copy from the same panel, server root and world path. Oni retains a fresh encrypted before-image, uploads to a generated sibling directory, reads back all bytes, checks referenced behavior/resource pack versions and preserves the original directory before activating the restore. Unrelated root packs, settings and worlds are preserved. A successful operation confirms file bytes and observed panel power state; it does not claim gameplay acceptance.

A lost stop, upload, rename or start confirmation leaves a maintenance checkpoint. Resume inspects actual directories and hashes. A partial stage needs Retry in a new staging directory; it does not overwrite the partial upload. Roll back original world verifies the preserved original before returning it to the active path. Finish if world is safe releases maintenance only after the appropriate original/restored world is verified. Canceling active work may require one of these recovery choices. A server that was already offline remains offline.

Recovery controls and retained copies remain available on Free. Premium Saved worlds can inspect a retained BDS archive and decode actual terrain/player data; a completed terrain inspection can then be imported into World maps. The stopped-world capture time and subsequent processing times remain separate. Host recovery directories are listed for owner review and are not silently deleted. Private Oni archive deletion is separately confirmed and blocked while a maintenance, decoder or map job needs the copy.

World maps, retained snapshots and sharing

Open Community tools → World maps. Add a completed Local Map capture to accumulate observed terrain from the current world, or add a completed terrain inspection from Saved worlds. Snapshot inspection decodes actual retained Bedrock data; it does not execute world scripts. Each retained backup has a separate map, even when backups describe the same Realm slot. Unknown columns never overwrite previously known columns, and older captures cannot replace newer evidence.

Collection is off by default. Enable automatic collection to import subsequent completed Local Map captures. This does not create scans, load chunks or claim that unavailable terrain exists. Each redraw changes at most four canonical tiles, runs outside the game and request handler, and publishes its changed tiles together. The previous good revision stays available until completion. Job history reports queued, running, completed, canceled, expired and failed work with actionable errors. Retrying a failed read-only import creates a new request; it does not replay game actions.

The viewer supports dimension layers, below-roof Nether cutaways, zoom, pointer dragging, pinch, keyboard arrows and coordinate entry. N points toward negative Z. At wide zoom, only the nearest twenty-four visible tiles load at once; zoom in for additional terrain. The legend distinguishes capture time, provider capture time and download-time-only evidence. A downloaded backup may contain older terrain. Saved snapshots do not display live player or clock overlays because their current-world identity is not independently established.

The Overworld tint uses the latest actual game clock observation. Sleeping or a time command changes the next observed phase; disabled daylight cycling remains explicit. The viewer never advances a countdown from a stale clock, and other dimensions have no daylight tint. Current permitted positions are separate recent observations, independent of terrain age. Players need the Location plugin and its independent staff opt-in/current roles to see other people. Map markers retain their own visibility checks.

Collection & sharing assigns private terrain viewer roles. Those members open the community player page and select Find maps I can view. Only the owner can change collection, sharing or recovery. Public sharing requires explicit confirmation, returns one link, and publishes terrain without any player or marker overlays. Replace the link to revoke an older link. Disabling sharing, losing Premium or deleting the source stops subsequent shared reads. The viewer renews access every twenty seconds and hides content after thirty seconds without confirmation. A recipient can retain a copy already received.

Export retained terrain remains available to the owner after downgrade or a world switch. Download the manifest and selected tile JSON, including block heights and source provenance. Default limits are thirty-two maps, 256 tiles and 64 MiB per map including previous tile revisions; documented operator grants can increase them. A community may queue four redraws, with one active redraw per map and one background compositor. Observed terrain columns expire after thirty days by default. Snapshot terrain follows its archive lifecycle. Reset/delete revoke sharing and remove derived map data; source archive deletion also erases derived snapshot maps. Active readers protect an archive until their bounded jobs finish or are canceled.

World backups supplies consistent stopped BDS copies. Realm owner supplies authorized available Realm downloads. Inspect an owned retained copy in Saved worlds, then import the completed terrain job here. A selected file path or a live database copy does not establish consistency. No Realm is replaced or reopened merely to render a map.

Private local maps and loaded entity scans

Premium owners enable the Oni Local Map or Oni Entity Scan plugin in Built-in plugins. Request your own linked player, or enable the corresponding private staff scope and delegate specific Discord roles to inspect others. The requester must retain current access through collection and result reads. Changing world connection, pausing, disabling the plugin or losing the entitlement stops access without deleting the saved capture.

Local maps sample a 128 by 128 block square centered on the target at scan start, with north (negative Z) at the top. Only loaded columns are sampled, in steps of 64; unsupported or unloaded columns remain transparent. The Nether view is a cutaway at or below Y119. Solid ceilings can still be visible; it is not a promise of an open cave-floor view. A logout, dimension change or movement greater than sixteen blocks during capture rejects the result. One terrain capture runs at a time, with an initial fifteen-second cooldown.

Open Maps & markers and enter the completed map job ID, or use Open map image in its private result. Gold marks the target at capture start. Up to nine white markers show recent same-dimension players only after the separate Location permission is checked. Stale, out-of-bounds or unknown-terrain positions are omitted. The legend distinguishes terrain capture time from each recent player observation. Use Zoom in/out, arrow keys or touch scrolling to inspect the image. Incomplete transfers never display as completed maps.

Entity scans use a three-dimensional sphere: the default four chunk units mean a 64-block radius, including vertical distance; the maximum six mean 96 blocks. Choose up to sixteen exact type identifiers, such as minecraft:item, minecraft:xp_orb, minecraft:arrow, minecraft:tnt, minecraft:falling_block, minecraft:minecart, minecraft:armor_stand, minecraft:boat or minecraft:villager. Custom supported entity identifiers are also accepted. Empty filters include all returned types.

The entity query processes at most one thousand entities in steps of one hundred. Counts, the thirty nearest details and twenty chunk hotspots describe loaded observations only. A single type filters at the engine query; multiple types filter the bounded general result, so farther matching entities may be omitted at the cap. Removed/unreadable entities and capped results explicitly report partial coverage. This tool never kills, moves or changes entities.

In Discord use /oni plugin plugin:entity-scan radius:4 types:minecraft:item,minecraft:xp_orb. Radius and types apply only to this plugin. The in-game /onirelay:menu offers the same radius and type fields, supports cancellation and rechecks authorization after form submission. Defaults can be changed in the plugin settings. Collection timing counters are diagnostic measurements; isolated test performance is not a live game-thread guarantee.

Private death records and incident audit

Premium owners open Built-in plugins → Oni Death History or Oni Audit → Settings & access. Collect new private history requires an enabled plugin and a current hosted authorization. Turn collection off to stop new records while preserving saved history. Staff inspection and delegated Discord roles are separate per-plugin permissions. Requests, execution and retained-result reads recheck those permissions.

Death history retains up to ten bounded records and at least the latest three recorded deaths. Each contains time, cause, dimension, position and the observed keep-inventory setting. Actual item-drop events identify item entities and the dropping player. The companion associates only the same dead player within four engine ticks before or after the recorded death, ending at respawn. This is explicit correlation: the game API does not report each drop reason. Living manual drops, another player’s drops and arbitrary item spawns are excluded. Missing events, vanishing, lava, void or keep-inventory do not establish an empty drop list.

Item entity IDs can be checked again when requesting history, including for an offline player. A loaded matching item reports its current amount separately from the original observed amount. Missing entities may have been picked up, destroyed, merged or unloaded. A pickup attempt can be canceled and cannot prove who recovered a death drop. No recovery is promised. Partial captures identify omitted detail; source, capture time and item-check time remain separate.

Oni Audit retains up to one hundred incident summaries within a bounded payload, preserving at least fifteen. Repeated identical actions in a five-second collection batch share a count. The owner can opt into diamond ore, ancient debris, shulker breaks and netherite placement. Choose a category and player filter when requesting private history. Restart preserves the saved records.

Completed player events attribute TNT and outside-Nether anchor placement and supported villager deaths, using the victim position. Item interactions and exact-face fire/lava block observations have separate evidence stages; even a matching air-to-fire transition does not prove its cause. A before-event cancellation flag means it was set when observed, not that final cancellation is known. End-crystal item interaction does not prove entity placement. Entity initialization preserves its actual engine cause and never infers a player or command origin from proximity. Loaded and retained duplicate entity IDs do not generate new creation alerts. Universal ignition causality, final action cancellation and creation provenance require additional supported evidence and remain unavailable where absent.

Set a private staff log channel in Chat routes to receive readable incident alerts. Delivery rechecks Premium, collection settings and current channel privacy. Turning collection off, losing authorization or pausing stops new alerts. An interrupted alert is not automatically replayed. Retained histories remain stored after downgrade; ordinary Premium inspection remains gated.

World status and existing scoreboards

Open Community tools → Built-in plugins → Oni World → Request private result. Free shows observed time, day, phase, captured ticks until the next phase, moon, difficulty, human count and measured script ticks per wall-clock second. A countdown is a captured value; it is not animated while disconnected or paused, or with daylight cycling disabled. Sleeping and time commands are reflected by the next observation. Empty worlds are distinct from stale observations.

Weather is read from the dimension API only when that runtime supports it. The pinned stable Script API 2.10.0 has no getWeather getter, so initial weather there remains unavailable until a real weather-change event. Event fallback retains its original time and is labeled last recorded. Premium world boards present the same captured facts, source and freshness in a Discord message.

Oni Scoreboards only reads existing objectives. Enter an exact objective ID or leave it empty to read up to twenty objectives on Free; own scores that do not exist remain unavailable. Premium advanced capture selects one objective, including offline scoreboard participants. It reads up to 5,000 scalar participant records, sends bounded chunks and ranks them on the hosting service. Larger or incomplete captures explicitly report partial coverage; those ranks apply to the captured subset.

Equal scores share competition rank (1, 1, 3); negative values remain negative. Results include top ten, your rank below tenth and the authorized selected player rank. Fake scoreboard entries and unresolved identities remain separate. Only an observed player entity can correlate a scoreboard ID to an Oni world player. Matching names never establish identity, and offline correlation is retained only in the same world connection.

Advanced cross-player scoreboard inspection requires Premium, owner-enabled scoreboards staff access and a delegated role for staff. In Live boards, select scoreboards, the existing objective ID and the channel. Only the owner can approve this board. Public channels additionally require the scoreboards publication setting; otherwise choose a verified private staff channel. Each board refresh requests a read-only capture and edits its existing message. Deleted objectives display a deletion notice, not their former ranking.

Retained plugin captures carry server-owned authorization independent of execution-job history. Every read rechecks current plan, plugin, role, opt-in and world connection. Supplying a basic request flag cannot expose an older Premium capture. Old records without a recoverable original authorization stay inaccessible until a fresh capture is requested. Downgrade does not rewrite or delete the retained result.

Companion personality and preview

The community owner opens Community tools → Personality. Replies are disabled until enabled explicitly. Free includes the Friendly style, a display name, up to eight aliases, Minecraft/Discord/both triggers and ten replies per rolling hour. Premium adds original Sarcastic, Pirate and Grumpy Villager styles, twenty custom keyword replies, and choices of 30, 60 or 120 replies per hour.

Custom keywords match complete words or phrases, in saved order, before built-in responses. Reply text supports {player} and {world}; it does not run commands or templates. Say the chosen name or alias in a captured Minecraft chat message, or mention Oni in a Discord channel connected to this world. Game triggers require a current observed player. Discord triggers require current human membership. Replies follow local route directions, and no automatic personality replies are forwarded to partner communities.

Try without sending uses the unsaved form and does not save settings, queue work, post messages or consume allowances. Replies are deterministic prepared text and do not claim to answer account questions or inspect server state. The existing support assistant remains separate.

Each user has a ten-second cooldown, shared between their linked game and Discord identities, and the hourly budget is shared by the community. Self, bots, webhooks, command-prefixed/private-link messages and muted players do not trigger replies. Disable the feature or pause relaying to stop responses; queued responses recheck settings, plan, world and route permission. Lost confirmations are not automatically retried.

On downgrade, saved Premium styles and custom replies remain stored while Friendly replies use the Free ten-per-hour budget. Turning replies off stays available. Re-upgrading makes retained eligible settings effective again. Recent attempts distinguish attempted delivery from unknown outcomes; individual game jobs and Discord notices retain delivery receipts.

Private module uploads and source limits

Free allows 64 KiB and Premium 256 KiB of UTF-8 JavaScript source per custom module, including any higher operator grant shown in Plan & allowances. The JSON upload envelope is bounded separately at 8 MiB so escaping does not reduce source capacity. All other public request limits remain unchanged. Live module settings keep their existing 1 KiB JSON-character allowance; private storage entries keep the existing 8 KiB JavaScript serialization allowance.

Custom modules → Download source retrieves only the selected module inside your authorized community. Source is never included in the public module listing and never executed by the hosting Python service. Fifteen full Premium module sources are included in the generated companion; the thirteen built-ins use no custom slots. Install the new private package to change game code. Disabling excess modules after downgrade preserves their source and revisions for download and later reactivation.

Chat add-ons and rank formats

Free includes the original Oni plain-v1, bracket-rank-v1 and angle-rank-v1 adapters. These are documented format adapters, not a claim of compatibility with every third-party rank pack. Open Community tools → Chat routes → Minecraft chat source. Automatic uses the available companion event or connected protocol bot. Choose structured capture only after installing an add-on that sends the event below; it replaces automatic capture to prevent duplicate ranked messages.

From trusted server-side world code, call system.sendScriptEvent("onirelay:chat", JSON.stringify({version:1, audience:"public", id:"unique-message-id", entity:player.id, adapter:"plain-v1", text:"Hello"})). Use a fresh 1–64 character letters/numbers/underscore/hyphen ID per message. The entire JSON must fit 2048 characters and text is limited to 1500 characters. The adapter resolves a currently present game entity; never pass a gamertag, XUID, Discord ID or a client-supplied identity as entity.

For bracket-rank-v1 send text such as "[VIP] Player Name: Hello"; angle-rank-v1 accepts "[VIP] <Player Name> Hello". Up to three bracketed labels of 32 characters are supported. The name must exactly match the observed entity’s current name. Choose the matching format in the dashboard. Rank labels are presentation only and never grant roles, moderation rights, account linking or rewards.

The event must declare audience:"public". Do not send canceled messages, whispers, staff chat or messages from private recipient lists. Entity-origin events are restricted to that engine source entity. Server-origin events trust the owner’s installed world code; this interface is not a sandbox. Block/NPC events and arbitrary name lookups are rejected. Linked mute, current route permissions, duplicate IDs, per-player limits, relay echoes and private link-code suppression still apply.

The structured adapter stops when relaying is paused or its hosted authorization is stale. The dashboard reports which chat source the companion configured; this is capability evidence, not proof of live message delivery. Switch back to Automatic before removing the sending add-on. The original source remains editable in scripts/adapters/chat.js. Installed runtime and external add-on acceptance require owner gameplay testing.

Verified applicants and world admission

Open Community tools → Players & linking → Open admission review. Free owners choose identity-only, staff-reviewed or automatic approval. Existing communities that require staff approval keep that requirement when Microsoft proof is used. Only the owner can authorize membership changes; existing authorized verification staff can still review applications on Free.

Share the private player account link from Players & linking. The applicant signs in to Discord and selects Review my admission → Submit my verified account for admission. The default private ten-minute in-game code can supply admission identity once the companion and authenticated relay observe the same player entity and an actual Xbox ID. Applicants who cannot enter a closed world can choose separate Microsoft verification. The application never accepts a pasted gamertag, XUID, password or token. A Microsoft profile alone does not bind a world player identity.

BDS membership requires a current HTTP companion exposing the enabled server-admin AllowList API. Support is checked on the actual runtime. The server owner must review and enable its required experimental API separately and enable the server allowlist; Oni never changes these global options. Existing entries are preserved, new grants use the verified XUID, and readback confirms membership. Hosts without this API retain waiting requests with a precise capability explanation.

Realm membership uses the separately consented owner account and the exact bound Realm and slot. Owner authorization is checked before queueing and again before provider execution. An invitation being listed, being accepted by the player and the player actually arriving are separate observations. Rebinding, ownership changes, revoked applicant proof, stale policy and withdrawn approvals stop obsolete queued grants.

The private administrator review channel receives deduplicated approval buttons. The portal also keeps decision reasons, actors, timestamps, retry windows and provider jobs. A failed or missing confirmation is not replayed automatically. Recheck is restricted to work known not to have changed provider state. Inspect uncertain operations before manual recovery.

Withdrawal or revocation reverses only confirmed Oni-created grants. Preexisting membership is retained, and a changed BDS entry needs owner review. Another active approval for the same actual Realm prevents premature membership removal. Reversals stay available on Free and during relay pause. Provider and live gameplay acceptance remain owner-unverified.

Inspect verification-role receipts shows the saved intent, Discord result and independent role readback. Grant the bot View Audit Log: Oni attributes a grant only when its latest role-change audit entry matches the Oni request, bot, member and role. If someone removes and manually re-adds that role, Oni preserves the newer external grant. Missing, expired or unavailable audit evidence leaves an explicit ownership review. Read back from Discord does not repeat a mutation. Preserve external role state ends attribution without granting or removing the role. Roles already present before Oni acted never become new Oni grants.

Edit Discord verification panel lets the owner choose its welcome channel, title, explanation and private-code button label. Saving edits the existing message. Its second button opens each member’s own portal status. Retire the panel before moving it to a different channel. If Discord deletes it, review the missing state and explicitly replace it. After an uncertain initial post, copy the existing message ID and use read-only recovery; Oni does not automatically post duplicates.

On desktop enable Discord User Settings → Advanced → Developer Mode, then right-click the message and choose Copy Message ID. On mobile open your profile/settings → Advanced → Developer Mode, then long-press the message and choose Copy Message ID. The portal checks the bot author, community button and saved publication marker before adopting that message.

Applicant review shows the authenticated profile image and Gamerscore when provided, along with source time and exact recorded associations inside this community. These are relationship records, not automatic alternate-account findings. Arrival requires a fresh authenticated player-list observation with the matching Xbox identity and world target. A provider grant alone never records arrival.

Oni milestones and native Xbox achievements

Oni gameplay milestones use activity actually observed in this world. They are original Oni milestones and never unlock or claim to be Xbox achievements. Native Xbox activity is a separate Premium reader for a consenting player’s own authenticated account. Capability status, retained own results, stopping reads and credential revocation remain available on Free.

Open your community’s player account page from Players & linking, then choose Manage my native Xbox achievements. Review the separate Microsoft consent, connect your own account, and choose a supported Minecraft title. The current reader supports Minecraft for Windows, mobile and Nintendo Switch title identifiers. Provider availability, privacy settings and authentication can prevent a read; the page shows the actual state and last observation. It never reads an arbitrary pasted Xbox name or XUID.

The initial paginated scan is a private baseline. It will not announce your backlog. By default, later reads also remain private. To announce new unlocks, the player must enable publication and the community owner must enable the achievement category on a game-to-Discord or bidirectional Chat route. Each queued announcement rechecks the player’s current consent, membership and Premium eligibility.

Native records identify the Xbox title and provider unlock time. They do not say which server or Realm produced the unlock. Enabling cheats or running a particular companion cannot be advertised as granting native Xbox achievements. Oni does not write achievements or modify Gamerscore.

Reads run at most every five minutes per title after completing the initial pages. Each response is bounded to 100 items, 20 pages and 2,000 retained records per title. Stop reads pauses collection. Revoke achievement consent removes the encrypted Microsoft credentials and the retained native results for this community. Achievement credentials are never used as a relay bot. Live Microsoft provider acceptance remains owner-unverified for this release.

Remove world membership and recover an uncertain result

Open Community tools → World membership. Select BDS allowlist or your bound Realm, search and select a verified identity, enter the reason, and choose Review removal. Confirm the exact target. Owners can do this on Free; delegated staff need Premium and Remove and inspect world membership in Staff permissions. A world-only player ID needs authenticated Xbox correlation before membership can be changed.

BDS removal requires a current companion report with the enabled server-admin allowList API. The companion does not enable the server allowlist or experimental APIs for you. Realm removal uses the currently bound owner Microsoft consent, Realm and active slot. Oni does not substitute its pooled relay account for the Realm owner.

Removing membership revokes matching Oni admission approvals and cancels their unsent grants. An earlier in-flight grant must settle before removal can run. Removal never creates a community ban or automatically re-invites the player. Cancel undelivered removal is available before provider dispatch; revoked admission approvals stay revoked.

Also request a separate kick requires kick permission and one currently observed matching player. Read its own receipt. A provider confirming absent membership does not prove an online player disconnected. A successful kick command and independently observed later absence are separate facts.

If a receipt says Outcome unknown, use Check current membership. This queues a read-only inspection and retains the original uncertain receipt. An actual empty provider list means absent; missing or inconsistent data remains unknown. If inspection finds membership present, a new removal requires a new explicit confirmation. No uncertain write is automatically replayed. Fresh credentials can inspect the same retained world; they cannot move the recovery request to another server or Realm slot.

In Discord, use /oni membership action:remove with a verified player selector, destination, reason and confirm:true. The optional disconnect:true requests the separate kick. Use action:status with the returned case ID, action:inspect for read-only recovery, or action:cancel before dispatch. Responses use your current permissions and remain private.

Premium Automation offers Moderate a verified identity and Remove world membership. Manual/scheduled actions keep a fixed authenticated target; a join trigger targets each authenticated joining player and requires explicit policy confirmation. Both the workflow author and manual caller need their current action scope. A changed world, owner binding, workflow revision, disabled workflow or lost entitlement stops pending automation. Existing sanctions and receipts remain available after downgrade.

Moderation before and after a player joins

Open Community tools → Moderation. Select an action, search recorded identities, and choose evidence from this world or a Microsoft-verified applicant. The form shows the source and observation time. Enter a reason and, for a ban or mute, its duration in seconds; zero lasts until removed. Warnings and kicks require a currently observed matching player. Typed names and unknown Xbox IDs do not prove identity.

For Discord, use /oni moderate with a world player ID, discord: followed by a Discord member ID, admission: followed by a recorded application ID, or xuid: followed by an Xbox identity already verified in this community. The same identity and role checks apply. No Microsoft login code, token or password belongs in a command.

A saved ban blocks new Oni admission submissions, approvals and queued grants. In-game enforcement requires an authenticated native/companion player match and command authority. Oni keeps stable security evidence when a gamertag changes or an account is unlinked. That does not create a player record or indicate that the applicant has visited. Removing BDS allowlist or Realm membership remains a separate operation.

View sanctions and outcomes shows the active policy and its separate delivery receipt. A queued action expiring does not erase a ban or mute. A successful kick command is distinct from a subsequent complete roster showing absence; roster absence alone does not prove the cause. Missing acknowledgements are uncertain and actions are not automatically replayed. Realm relay mutes suppress Oni relay traffic, not chat visible inside the Realm. BDS in-game suppression requires an actually available cancellable chat adapter.

Staff permissions and delegated controls

The community owner opens Community tools → Staff permissions to assign current Discord roles separately for warnings, kicks, bans, mutes, moderation history, raw commands, preset management, workflows, Realm controls and private tools. Free retains owner safety controls and existing staff verification review. Delegated actions require Premium. Revoking a role or scope prevents queued work from running; changing the community owner requires a new review.

Administrator compatibility can be disabled. Raw commands require Administrator by default; Manage Server alone does not grant them. Exact presets keep their own role list. Private plugins additionally require their individual staff-access setting and role selection. Assigning a general private scope does not enable collection or bypass that consent.

Use /oni workflow action:list to find workflow IDs and revisions; run starts an authorized manual workflow and pause disables the current revision. Save accepts a settings JSON object with name, trigger, spec and enabled. For example: {"name":"Welcome","trigger":"manual","spec":{"kind":"game_message","text":"Welcome"},"enabled":true}. Use revision 0 for a new ID. A delegated workflow retains its creator and rechecks the creator and caller before dispatch. Module and server-preset actions also require their own current role access.

Use /oni preset-manage to save or remove an exact preset with its current revision. Save accepts the exact command and space-separated role IDs. This permission does not itself allow running arbitrary commands. The community owner must still enable command access and the relay must have real game authority.

Use /oni realm action:status for the saved Realm and binding revision, inspect for a fresh provider request, or open/close/permission with confirm:true and the current binding revision. Permission targets an actual member XUID and VISITOR, MEMBER or OPERATOR. Read the returned job with action:result. Staff cannot replace owner consent, select another world, install packs or restore archives through this delegation. Microsoft consent, current roles, plan and binding are rechecked before provider dispatch.

Premium Minecraft server commands

Open Client dashboard → OniRelay → Community tools → Server commands. Select the correct community. Premium is required. The community owner enables command access. Administrator or explicitly delegated command roles can then run raw commands. Regular members can only run exact presets assigned to their roles. General API keys and Basic module permissions do not grant arbitrary command access.

Read the assigned relay gamertag in Server commands or Connections & billing. On Bedrock Dedicated Server, use its hosting console to run op "That Gamertag" without a leading slash. Set allow-cheats=true in server.properties, save and restart the Minecraft server if required. Do not change default-player-permission-level to operator: only the relay account needs this grant. Minecraft may disable achievements when cheats are enabled; review the world settings before saving.

Run /oni server-status in the community Discord. Operator, commands enabled, relay connection and Premium access must be ready. Use /oni server-commands search:<name> page:<number> to browse commands actually reported by your server. The web Server commands tab has the same searchable catalog. All operator-accessible command syntax can be submitted, including selectors, execute, functions and custom server commands. Server version, cheats and permissions determine availability; server-console/Owner-only commands such as stop cannot be promised through a player session.

Start with /oni server-command command:list. The private reply includes a job ID. Use /oni result job:<id> or Activity to read its result. Minecraft translation keys and parameters are preserved when the server does not return localized text. Commands execute as the relay player: @s targets the bot, relative coordinates are relative to it, and @a can affect every player. Enter the complete command, with or without a leading slash. No operating-system shell runs it.

Create a named preset such as daytime with the exact command time set day, choose permitted Discord roles and save. Members run /oni server-preset preset:daytime. Presets accept no free-form arguments; changing a preset invalidates queued versions. There are 25 presets and a shared 30-command-per-minute limit. Entitlement, membership, roles, destination session, Operator and command access are checked again immediately before dispatch.

Queued means waiting; dispatched means sent toward Minecraft; completed means Minecraft returned a correlated successful result. Failed includes the reported reason. outcome_unknown means the connection ended or the server did not return a correlated reply within 15 seconds. Some servers suppress command feedback or return uncorrelated chat text. Check the world before repeating such a command. OniRelay never automatically replays uncertain actions. Disconnecting or changing destinations invalidates old queued commands.

PC: type /oni in a server text channel and select the subcommand. Mobile: open the Discord server channel, tap the message box, type /oni and select its command/options from the list. If commands are missing, ensure OniRelay was invited with applications.commands, you have Use Application Commands in that channel, and allow a minute for command registration. Full server commands do not require the companion; linking, rewards and proximity voice still do.

Build your first module

Open your community workspace, choose Community tools, then Modules. Download the Rules example. Its JSON package contains a manifest and JavaScript source. Change the rules text, keep api_version at 1, and increase version whenever you upload an update.

Upload the package, review its permissions, choose who may run it and enable it. Free supports three active custom modules; Premium supports fifteen. Built-in chat, linking and reward features use no module slots.

Download a fresh companion package containing the enabled modules and install it on your world. Run /oni module in Discord or /onirelay:menu in Minecraft. A command returns a job ID; /oni result shows its confirmed outcome.

Check the public join address against the game host

In Connections, save the public Minecraft hostname and main game port. In Game host, authorize the Pterodactyl server that actually runs this BDS world. Its panel HTTPS origin manages files and power; it does not identify the public Minecraft game endpoint. The internal server-port can differ from an external NAT mapping.

Choose Check destination against game host. This read-only check compares every current public DNS answer and the exact port with numeric allocations reported by the selected authorized panel server. An allocation match is configuration evidence, not proof that firewall rules, NAT forwarding or a player join work. The check does not open ports, change files, send arbitrary traffic or restart a service.

Not correlated means the allocation, DNS or external NAT mapping needs review with your game host. Private Docker, LAN and localhost addresses cannot be supplied for outside players. Panel IP aliases are display labels, not ownership proof. Existing scheduled reachability checks use only the saved authorized endpoint and keep bot, Companion and management health separate.

Evidence expires after five minutes and immediately becomes stale when the destination or host revision changes. Renew host access if its identity or world changed. There are five explicit checks per minute per community; settings and ownership are checked again before saving a result. This check grants no command or extra-server authority.

Remove or restore the BDS Companion

Open Community tools → Game host → Uninstall Companion. Return FarmBot home and finish pending service-account restoration before removing the pack. Prepare uninstall review reads the selected host and builds a file review; it does not change files or stop the server.

Review the activation entry, module authorization and exact installer-managed paths. Oni removes only unchanged files from a recorded installation on this same server and world. Modified files, unknown files, world data, unrelated packs and saved custom-module source remain. Modified files retained are listed explicitly. If no matching managed installation exists, use the private package instructions and your host file manager instead.

Continue to maintenance confirmation, approve the changes and choose Stop and apply reviewed files. Starting afterward is off by default for removal. The worker stops this server, rechecks ownership and hashes, preserves encrypted previous contents and verifies each change. A lost confirmation leaves a maintenance checkpoint. Inspect the original operation before choosing Resume; uncertain changes are not replayed automatically.

After verified removal, the old Companion credential is revoked and extensions are paused. The Xbox relay account and world remain. Restore previous files can restore the exact retained bytes while host access and hashes still match. Restoring files does not reactivate the old credential: install a fresh private package before resuming extensions. Revoke host authorization separately when host access is no longer needed. This is Companion removal, not permanent world or account deletion.

Install the companion

Dedicated server: back up the world, stop the server, copy the companion behavior pack and module-specific config, then append its entry to the world’s existing behavior-pack list. Preserve every existing pack. Restart and check Companion status. The download includes exact installation instructions.

BDS direct networking uses the experimental server-net/server-admin APIs. Confirm support and the effect of enabling experiments for your world before changing it. A supported server version must provide @minecraft/server 2.10.0 and @minecraft/server-ui 2.0.0. The existing Xbox relay can supply chat where the stable scripting API cannot capture it.

This expanded Companion release supports Bedrock Dedicated Server only. Choose Direct script HTTP when your host supports the required APIs, or Connected relay bot when script HTTP is unavailable. The bot option needs the assigned account online with Operator and uses a player slot. Existing Realm relay connections, retained archives and the separate Gateway service keep their existing tools; they are not installation targets for these modules.

The package contains per-world authorization. Keep it private. If exposed, rotate the companion credential in the dashboard and install a new package. Players use ordinary Bedrock clients.

Module manifest

Required fields: id, name, version, api_version: 1, platforms: ["bds"], permissions and commands. A module declares at most five commands. Each command has an id, description and visibility (private by default). Optional fields include description, events, menu, settings, privacy, author, license, dependencies and tier. Dependencies are an object of module IDs to exact semantic versions, such as {"helper":"1.2.0"}; tier is free or premium.

Source must default-export an object with commands keyed by the manifest command ID. Event handlers live under events: {join, leave, death, chat, milestone, block_break, block_place}; declare each subscription in the manifest. A menu handler receives (args, context) and can use Minecraft server-ui forms. A command receives (args, context). Return a string or JSON object. Replies containing inventory, location or death coordinates should remain private.

A custom module supports 64 KiB of UTF-8 JavaScript source on Free and 256 KiB on Premium, including higher operator grants shown in the workspace. Live module settings preserve their existing 1 KiB JSON-character allowance, including allowed roles. Store revisions, test changes on a staging world and use Rollback if needed. Updating source requires reinstalling the companion; role/channel configuration and disabling modules take effect after the next successful exchange.

SDK reference

context.player is the linked online Minecraft player, when available. context.actor identifies the authorized Discord caller. context.settings contains the module’s configured settings. context.message(text) sends a private game message. context.post(kind, text) emits a custom Discord event. context.players() returns observed player names. context.get(key) and context.set(key, value) store up to 8 KiB per module storage entry.

Import the helper from ../sdk.js in a custom module when needed. Declare game:message, discord:post, players:read or storage for the corresponding bridge operations. Player data remains scoped to this world.

Other packs can use scriptevent onirelay:module:<module-id> with a JSON object containing kind and text. The matching module must be active, declare discord:post, and have an enabled route accepting module events.

Custom JavaScript runs inside the customer’s Minecraft world, with Minecraft scripting access. Bridge permission checks do not sandbox arbitrary world scripts. Install code you trust; the hosting service never executes uploaded JavaScript.

Catalog, reviewed batches and publication

Open Community tools → Module catalog on desktop or mobile. Find a starter or reviewed extension, read its source, then add it to your review. Built-ins are already included in the companion and use no custom slots. Their private data and Premium features retain their own access controls. Catalog versions show permissions, exact dependencies, supported hosts and required tier.

Use literal imports from ../sdk.js, supported @minecraft APIs, or ./module-id.js for another declared module. Every declared dependency needs its exact version stored and enabled in the same community. Missing dependencies, cycles, unresolved computed imports and unsupported paths prevent activation. BDS server-net/server-admin imports cannot be packaged for Realms or the bot transport. The parser checks syntax and package compatibility without evaluating source; editable world scripts are not sandboxed.

Choose up to twenty installs, updates, enables, disables or removals, then Review selected changes. Read the complete change list and permissions before confirming. The review expires after fifteen minutes. Current source revisions, plan and world identity are checked again at commit; conflicting edits require a new preview. Database changes are atomic. This does not update the live Minecraft pack.

Download and install a fresh private companion after saving. The batch screen distinguishes saved source, a different or stale build, missing module reports, and individual invalid module exports. A matching fresh build with loaded module reports confirms the modules were loaded; it does not prove every custom command works. Engine startup failure may prevent any report. Check the world content log for the original engine error, without posting private credentials.

Review source rollback restores the saved before-image only while no later owner edits conflict. Prior permissions and source remain reviewable; the rollback also needs a new companion download and installation. Downgrade does not erase your saved source or prevent an otherwise valid source rollback. Modules beyond the current plan remain inactive.

Publish extensions starts with a private versioned draft from your saved module. Include a distribution license in its manifest and choose a public author name. Review the exact source, then explicitly submit it for public distribution. Only the hosting operator can approve or reject the immutable version after reviewing its source, permissions and license. Private updates never replace an approved version. Increase the semantic version for a new publication. Withdrawing removes future catalog distribution; installed copies stay with their owners.

Authenticate an integration

Create an API key with only the scopes needed by your integration. Send Authorization: Bearer <your-key> over HTTPS to /api/relay/v1. The key determines the world; requests cannot select another tenant. Keep keys on your server rather than in a public web page.

Free allows 30 external API calls per minute per community; Premium allows 120. Core relay and companion transport have separate limits. Discord extension posts are limited to 12 per minute on Free and 60 on Premium. Requests beyond the limit receive 429.

Use GET status, players, events or modules to read allowed data. POST modules/invoke, game/messages and rewards/claim queue actions. POST discord/messages sends a mention-safe embed after checking channel ownership and bot permissions. Read the downloadable OpenAPI document for request schemas.

External calls may be retried for read operations. A timeout after a write is not proof that nothing happened. Inspect the returned job or claim before repeating an action. Dispatched jobs are not blindly redelivered after an uncertain outcome.

Link Discord and Minecraft

In the community’s Discord server, run /oni link or use its Link Minecraft account button. The reply is private and contains a ten-minute code. In game, run /onirelay:menu, choose Link Discord and enter the code. The companion confirms the player actually using that world.

Linking requires the companion’s private in-game menu. Never paste a link code in public chat. Links are world-scoped player identities; they do not grant Microsoft-account access. Do not enter Microsoft passwords or Xbox session tokens.

The owner can require staff approval and grant a verification role. Approval is tracked separately from a verified identity. Unlinking removes the identity association and roles assigned by this integration, while reward claim records remain.

Discord-role rewards

Create a named reward, select the required Discord role, then choose items, scoreboard points or a tag. Use a one-time reward or a cooldown of at least one hour. Players link their accounts, join the world and use the in-game rewards menu or /oni claim.

Every claim checks current Discord membership and the required role. A pasted name, browser-supplied role list or API key cannot substitute for that check. Rewards always target the linked player.

Queued, dispatched, completed and outcome_unknown are separate states. The companion records execution before changing inventory; a crash can leave an uncertain or partial result. Staff must review such a claim before compensating the player. No automatic retry can guarantee exactly-once item delivery across a world crash.

Silent voice lobby and room recovery

PC: right-click the lobby, then Edit Channel and Permissions. Mobile: press and hold the lobby, then Edit Channel and Channel Permissions. Deny Speak for @everyone and remove ordinary role/member Speak overrides. Keep View Channel and Connect available. Administrators bypass Discord channel denies and should self-mute in the lobby. Give participating roles View Channel, Connect and Speak in the separate temporary-room category. Give OniRelay View Channel, Manage Channels, Connect and Move Members in both places.

Proximity grouping uses current linked players, three-dimensional distance and the same world/dimension. A chain of nearby players shares a room. Only players already in the same managed room receive the four-block exit margin. Relay pause stops automatic movement. Explicitly disabling voice allows cleanup, including after downgrade. Empty managed rooms are removed after two minutes; unrelated rooms are preserved.

Community tools → Proximity voice → Open room recovery lists room receipts. If creation confirmation was lost, the request is not automatically repeated. Copy the existing room ID and inspect it; Oni requires matching guild, category, type, bot actor and creation audit reason. View Audit Log is required, and older or unavailable evidence needs manual review. The owner can explicitly keep an uncertain room outside Oni management. Member moves wait for a newer Discord voice snapshot before retrying.

Exact command workflows and current allowances

Premium workflows can invoke an exact role-restricted server-command preset with manual, event or scheduled triggers. Create the preset under Server commands, then choose Run an exact server-command preset in Automation and enter its ID. No message templates or extra arguments are inserted into Minecraft commands. Scheduled workflows have a minimum five-minute interval.

The saved workflow pins the preset revision, command text and world authorization. Current Discord permissions, Premium entitlement, schedule allowance and operator/cheats status are rechecked before dispatch. Editing the preset, disabling the workflow or changing world authorization invalidates queued commands. Review and save the workflow again after changes. Inspect the private command receipt before retrying an uncertain outcome.

Command requests and preset counts use configured account allowances, including increased grants. If a grant expires, excess presets are retained and suspended by preset ID. Downgrade pauses all presets, while owners retain disabling, removal and history access.

Reward rule changes and partial delivery

Claims pin the exact reward rule, required role, verified player link and world authorization. Each is checked again before dispatch. A changed or removed rule, revoked role, relinked account or replaced world cannot deliver an old queued reward. Claim history and once/cooldown protection remain on Free.

The companion records each reward action before applying it and retains completed, partial, not-attempted and unknown outcomes. Item receipts include delivered and remaining quantities when the inventory API supplies them. A crash may prevent the final receipt from being written, so uncertain actions are not automatically repeated. Staff can inspect the job result before deciding on any compensation.

Live stats sidebar and player list

Open Community tools → Chat & community → Live stats for the selected relay. Enable the panel, choose a category or let OniRelay create one, and save. The bot creates locked information channels; it does not need an audio connection.

Edit each channel template, add up to twenty lines and turn individual lines on or off. Use {server_name}, {friend_bot}, {relay_bot}, {status}, {players}, {tps}, {ping} or {version}. The friend-join bot name is an optional label for a separate OniLink service.

Choose the player-embed lines and enable names only with explicit publication consent. Player List → Settings & access must also allow public boards. Unknown or expired rosters never become zero players. TPS comes from fresh Companion measurements; status-check latency is not a player’s game ping.

The player message is checked on the configured schedule when Discord is reachable; provider cooldowns can delay updates. Channel names default to ten-minute checks to respect Discord limits. The Refresh button queues a check and cannot bypass those limits.

Disabling a line removes only its managed channel. Disabling the panel removes its managed displays and player channel, keeping the category. Deleted owned channels are recreated automatically. A moved channel or uncertain creation is held for review instead of modifying unrelated resources. Each relay keeps its own settings, even in the same Discord server.

Boards, workflows and proximity voice

Status boards update one Discord message. Free includes one active board; Premium includes five and statistics boards. Offline data is labelled stale. If the bot cannot create a board reliably, the dashboard shows the error and pauses it for review.

Event and manual workflows can post a configured message or invoke a registered module. Premium adds scheduled workflows, up to fifteen, with a minimum five-minute interval. Use {player} and {world} in message templates.

Premium proximity voice needs linked players, fresh companion coordinates, a voice lobby and a category. Members opt in by joining the lobby and opt out by leaving the managed rooms. Players are grouped by distance within the same dimension; a four-block exit margin reduces repeated moves. Discord room changes provide grouped voice, not positional Minecraft audio.

Community invitations and applications

In Community tools → Chat & community → Community page, the current owner can choose an address, title, description, Discord invitation, optional public BDS details and a separately configured OniLink gamertag. Publish aggregate status only if desired. Unknown, stale or paused observations never become zero players. Detailed identities and private snapshots are not public.

Visitors join the community Discord, sign in to OniNetwork, connect their Discord identity and open a private application. No hosting purchase is required to apply. In-game code linking remains the default; applicants who cannot enter a closed world can use optional Microsoft verification of their own Xbox account. Existing owner/staff admission review and current identity checks still apply.

Submission, approval, provider-confirmed membership and actual arrival are separate records. A pre-existing provider membership is not a new Oni grant. Linking-only mode grants no Realm or BDS allowlist access. Realm applicants use the same verified Xbox account after membership is confirmed; BDS players use the published game address and port.

Owners can pause, republish, rename or remove their page with revision checks. Withdrawal does not remove existing game access. Old renamed/removed addresses remain reserved to the same community, within a fifty-address history limit, to prevent another tenant taking over an old invitation.

Statistics show seven days on Free and ninety on Premium, honoring higher configured grants. Page loads include repeat and automated loads, not unique people. Anonymous load receipts contain no IP, user agent or account identity and expire after one day. Aggregate/load-attempt metrics retain at least ninety days, with higher capture-time grants preserved after downgrade; their daily/request caps report partial counting without blocking access. Provider grant receipts remain attached to admissions independently of product-history expiry.

Compatibility, privacy and troubleshooting

The dashboard reports capabilities from the installed companion. Premium does not create an API that the world version lacks. The owner must enable staff access to private player tools in Players & linking. Inventory and location tools need a connected player; world bans are enforced after spawn, and Realm game-chat muting is unavailable through the stable transport.

Activity history is seven days on Free and ninety days on Premium. Historical statistics begin when observation starts. Public invitation pages show a player count; detailed player identities and private snapshots require authorized access.

401: check or rotate the key. 403: review the scope, current role and community access. 409: review the explanation for an offline companion, missing capability, stale configuration or already-used link. 429: wait for the rate window. 503: inspect provider health and verify the outcome before retrying.

When downgrading, saved modules remain available. Complete dependency groups are selected by priority within the three-module Free allowance; source and Premium-only modules are retained. Choose your preferred groups in Custom modules. Existing reward claim records remain to prevent duplicate grants.

First API request

Run the starter kit’s client on your integration server using Node.js 20 or later. Supply the key through its environment, with status:read for this example.

import {createOniClient} from './client.mjs';
const oni = createOniClient({key: process.env.ONIRELAY_API_KEY});
const status = await oni.status();
console.log(status);

The client provides players(), events(), modules(), invoke(module, command, args), game.say(text, playerId?), discord.post(channelId, text, title?), rewards.claim(playerId, rewardId), job(id) and claim(id). Player IDs come from players(), not Xbox XUIDs or Discord IDs. Game messages require the companion.

Each call consumes one API request. There is no automatic polling or write retry. An OniAPIError exposes status, uncertain and retryAfter. Inspect Activity before repeating an uncertain write. Available scopes: discord:post, events:read, game:message, modules:invoke, modules:read, players:read, rewards:claim, status:read.

Platform reference

Check the Minecraft dedicated-server scripting documentation before enabling experimental networking. Discord permissions are granted by your server administrators.