RocketMC 0.9.0 beta: Java and Bedrock, one binary. See what's new

RocketMC is in beta (0.9.0). These docs follow the source code; if something differs on your build, the code wins. Please report it on GitHub.

Plugin API

Server Toolkit

Ranks, regions, homes, warps, kits, moderation and WorldEdit-style tools.

Updated Dec 5, 2026

Building blocks for the plugins most servers run. All are guest-side Rust, unit-tested, and need no host changes. Storage-backed ones open a folder, usually ctx.get_data_folder(), so they need fs.read.data and fs.write.data.

ModuleSimilar toWhat it gives you
rank::RanksLuckPerms-liteRanks::open(folder): define, set_player_rank, prefix_of, has_permission with inheritance, * wildcards and -node negation
region::RegionManagerWorldGuard-litedefine, set_flag, set_priority, at, flag_at(world, block, "build", default)
locstore::{Warps, Homes}Essentials warps and homesWarps::open(folder) with set, get, remove, names; Homes::open(folder) with a per-player limit
teleportPlayer#teleport(Location)player.location(), teleport_to_location, and teleport_with_warmup(&player, loc, secs, cancel_on_move)
tprequest::TeleportRequests/tpa, /tpahererequest, accept, deny, cancel_from, with expiry
kit::KitSetEssentials kitsKitSet::from_config(&cfg) reads [kits.<name>] (items = ["bread:16"], cooldown = "1d"); Kit::give(&player)
punish::PunishmentListMutes and bansPunishmentList::open(folder, "mutes"): punish(id, reason, by, Option<Duration>), active, pardon; expired entries clean themselves up
worldeditWorldEdit-litefill, hollow, walls, fill_with over a Cuboid, each with a max_blocks safety limit
toggle::ToggleSetGod, vanish and fly modestoggle, is_on, set, on_keys

Protecting a spawn area

let regions = RegionManager::open(ctx.get_data_folder())?;

// in a block-break handler
if !regions.flag_at(&world_name, block, "build", true) {
    event.cancelled = true;
}

A /home with a warm-up

if let Some(home) = homes.get(&account_of(&player), "base") {
    // 3 second warm-up that cancels when the player moves
    teleport_with_warmup(&player, home, 3, true);
}

teleport_with_warmup looks the player up by UUID every second, so it is safe if they log out in the meantime.

Ranks

let ranks = Ranks::open(ctx.get_data_folder())?;
let prefix = ranks.prefix_of(&account_of(&player));
let may_build = ranks.has_permission(&account_of(&player), "build.place");

Heavy edits

worldedit runs synchronously inside the call. Keep max_blocks modest (tens of thousands), or split big jobs across ticks with tasks::run_timer_limited.