Paper and Minestom in mcrs terms
This page is a lookup table for people who know Paper, Velocity or Minestom. Find the name you know, and the row shows the nearest thing in mcrs and its state today. If “entity” and “system” are new words, read From objects to data first.
Life cycle
Section titled “Life cycle”| JVM | mcrs | State | Notes |
|---|---|---|---|
JavaPlugin, onEnable |
impl Plugin for X with fn build(&self, app: &mut App) |
Works#279 | As in Minestom, you write your own main, see src/main.rs. There is no plugin.yml and no separate jar |
onDisable |
No hook. Shutdown goes through a ShutdownRequest message |
Partialshutdown.rs | The embedder writes the request, or calls request_shutdown on a ServerThread. The plugin installs no signal handler |
depend: and softdepend: |
A plugin group: a member that needs another fails in build and names the missing one |
Works#279 | See MinecraftServerPlugins in lib.rs |
| Disabling a bundled feature | server.disable::<SomePlugin>() on the plugin group |
Works#282 | Used in main.rs to switch the mob brain off |
/reload, PlugMan |
None. Code is not reloaded | WIP#316 | Only data pack reload is planned |
| NMS, CraftBukkit | Any public crate of the library layers | Not planned#437 | There is no facade between you and the engine, so these crates are NMS and API at once |
Static Bukkit.getServer() |
None. Take Res<T>, Query<..>, Commands as system parameters |
Not planned#437 | The static accessor was rejected |
Dependency on paper-api |
A git dependency on mcrs crates | Undecided#321 | One game version at a time, no backward compatibility (Not planned#412) |
Events
Section titled “Events”| JVM | mcrs | State | Notes |
|---|---|---|---|
Listener, @EventHandler |
An observer app.add_observer(f) with f: fn(On<Event>), or MessageReader<M> for a message buffer |
Partial#283 | The hook depends on the domain: chat and commands have cancelled, inventory has RequestCheck, and damage has a filter set. Packet observers use Received<P> |
setCancelled(true) |
The cancelled field of the event, set in an observer that takes mut |
Partial#636 | Only PlayerChatEvent and CommandEvent. A general mechanism with rollback of client prediction is Partial#283 |
AsyncChatEvent |
PlayerChatEvent { player, text, cancelled } |
Works#636 | text is a Text component, not a String. It fires before the broadcast |
EventPriority |
System order: .before(), .after(), SystemSet such as TickSet |
Works#323 | Observers have no priority. An unordered conflict fails a test |
PlayerJoinEvent, PlayerQuitEvent |
Internal bus messages InboundPlayerSpawn and InboundPlayerDespawn |
Partial#283 | Not a public event yet. Public join and leave events are planned |
BlockBreakEvent, BlockPlaceEvent |
The public message UseItemOnRequest for a placement, and the public set BlockBreakSet to order a system after the breaks |
Partial#283 | No cancellable event yet. The break request is internal, and a placement can be refused only by replacing VanillaBlockPlacePlugin. See Hook into block placing, breaking and drops |
InventoryClickEvent, setCancelled(true) |
An observer of RequestCheck that calls deny(Denial { source, code }), or a Gate in the SlotPolicy of the holder |
Works#846 | A click arrives as an inventory request. The denial carries the request source of your plugin. A click on a menu button arrives as EntryPressed. See Inventory |
EntityDamageEvent |
A filter system over PendingHits |
Works#1106 | Handle damage, death and respawn covers the filter sets and result messages for players and mobs |
PlayerDeathEvent |
Died |
Works#1084 | Handle a player’s death covers replaceable messages; Inventory covers drops and keep_inventory |
PlayerRespawnEvent |
RespawnRequest |
Works#1082 | Respawn through a request explains how to replace the vanilla destination policy |
Bukkit.createInventory, openInventory |
A MenuLayout, obtained from MenuLayout::of(MenuType::Generic9x3) as Some(layout), over a holder entity with Slots, opened with open_titled_menu of MenuCommandsExt |
Works#977 | Button entries in MenuButtons move no stack and write EntryPressed. close_menu replaces closeInventory. The mcrs client draws the eight generic container screens and takes clicks in them (Works#130). See Inventory |
ProtocolLib, packet listeners |
On<Received<P>> over the typed game packets |
Partial | About half of the packets are typed, see the README. One typed receive path: Works#57 |
Minestom EventNode tree |
No event tree, only Bevy observers and schedules | Undecided | There is no issue. Do not copy the pattern |
Scheduler
Section titled “Scheduler”| JVM | mcrs | State | Notes |
|---|---|---|---|
runTaskTimer |
A system in FixedUpdate, 20 ticks per second by default (DEFAULT_TPS) |
Worksrunner.rs | Keep state in a resource or Local<T>. Bevy does the scheduling, and mcrs has no scheduler of its own |
runTaskLater |
A tick counter or GameTime in a dimension; Res<Time<Fixed>> in the host app |
Works | You write it by hand, there are no helpers |
runTask to return to the main thread |
Not needed. There is no main thread in the Bukkit sense | Works#357 | See From objects to data |
runTaskAsynchronously |
Bevy task pools exist, but there is no documented pattern for plugins | Partial | There is no issue. Parallelism comes from the scheduler |
Players and worlds
Section titled “Players and worlds”| JVM | mcrs | State | Notes |
|---|---|---|---|
Player, Entity as objects |
An Entity id plus components Player, GameProfile, PlayerGameMode, Transform and Vitals; mobs are entities too |
Works#1082 | Entity is local to one world, PlayerSession survives dimension travel, the profile UUID survives reconnects, and packets use a separate network id (Works#158) |
player.sendMessage(Component) |
An OutboundPlayerPacket message, built with mcrs_minecraft_engine_shared::to and the system_chat helper |
Partial | This is low level, and there is no player.send() |
Bukkit.getOnlinePlayers() |
Query<&GameProfile, With<Player>> inside a dimension |
Partial | Players live in dimension worlds, and there is no global collection (WIP#154) |
world.getBlockAt(..).setType(..) |
The BlockSetRequest message and the WorldView volume API |
Partial | Works inside one dimension. One API for world access is Works#486 |
World and createWorld for mini games |
Dimension worlds are fixed at start | WIP#546 | Creating and removing a world at run time is planned |
Minestom Instance |
A dimension world (a sub-app) | Works#280 | Add plugins with add_dimension_plugin, not add_plugins |
ChunkGenerator |
A replaceable chunk source | WIP#281 | Today the generator is the vanilla one |
Saving the world, world.save() |
No call. The server writes changed chunks to the region files on an autosave every 6000 ticks and on a clean shutdown | Works | Saving is not a method that a plugin calls |
| Boss bar | None | WIP#247 | |
| Scoreboard | None. Only the planned owner of global state names scoreboards | WIP#154 | There is no scoreboard issue, and we found no code |
Commands and permissions
Section titled “Commands and permissions”| JVM | mcrs | State | Notes |
|---|---|---|---|
Brigadier, registerCommand |
add_command, a typed command tree, literal and argument nodes |
Works#579 | The vanilla commands are the reference |
| Tab completion and the commands packet with levels | The command tree with permission levels and the commands packet | Partial#285 | See Add a command |
hasPermission("x.y") |
PermissionCheck::Require(CommandLevel::..), operator level 0-4 in PlayerOpLevel |
Partial#285 | No string permission nodes, no LuckPerms-like plugin |
| Whitelist, ban list | A ban list resource and the /ban and /whitelist commands |
Worksban.rs | Covered by tests in ban.rs and whitelist.rs |
| A custom argument type | Added only at compile time, as part of the command set | Partial#285 |
Data and config
Section titled “Data and config”| JVM | mcrs | State | Notes |
|---|---|---|---|
config.yml, saveDefaultConfig() |
Fields on the plugin struct. The binary reads MCRS_* environment variables |
Partial | Configuration comes only through the plugin (Works#278). The settings of the binary are in server_settings.rs. There is no config file format for a plugin yet |
PersistentDataContainer |
Your own component, registered with register_persisted |
Works#159 | Only components of players are saved. Keep a player component across restarts and moves shows how to register one and choose whether the server writes it to the player file |
Network and proxy
Section titled “Network and proxy”| JVM | mcrs | State | Notes |
|---|---|---|---|
Velocity ProxyServer, @Subscribe |
A proxy library without Bevy: routing, online mode, modern forwarding, backend switch | WIP#296 | Not in the code yet |
Paper proxies.velocity, modern forwarding |
The forwarding field of ServerNetworkPlugin with a ForwardingSecret. The binary reads MCRS_FORWARDING and MCRS_FORWARDING_SECRET |
Works#855 | Connections, proxies and operators says what the player gets and when the binary does not start |
Paper proxies.proxy-protocol |
The proxy_upstreams field of ServerNetworkPlugin. The binary reads MCRS_PROXY_UPSTREAMS, IP addresses separated by commas |
Works#927 | Connections, proxies and operators says which connections must send a header and what the server takes from it |
| Online mode, Mojang authentication | None. The server is offline only | WIP#82 | Do not expose the port |
| ViaVersion | Protocol translation at the network edge, down to 1.21.6 | WIP#537 | The decision is open |
| JVM | mcrs | State | Notes |
|---|---|---|---|
| MockBukkit | Integration tests with PlayServer and host_app in crates/mcrs_minecraft_server/tests/it/ |
WIP#266 | The test harness is not a separate crate |
The page Status shows the state of each area.
Sources and verification
Verified: 26.4-snapshot-7, 1cf84286c, 2026-11-30
- src/main.rs
- crates/mcrs_minecraft_server/src/lib.rs
- crates/mcrs_minecraft_engine_world/src/world/sub_app.rs
- crates/mcrs_minecraft_engine_server/src/shutdown.rs
- crates/mcrs_minecraft_engine_server/src/server_thread.rs
- crates/mcrs_minecraft_engine_server/src/server_network_plugin.rs
- crates/mcrs_minecraft_engine_server/src/runner.rs
- crates/mcrs_minecraft_engine_shared/src/persisted_registry.rs
- crates/mcrs_minecraft_server/tests/it/persistence.rs
- crates/mcrs_minecraft_command_engine/src/command_event.rs
- crates/mcrs_minecraft_engine_shared/src/bus.rs
- crates/mcrs_minecraft_engine_shared/src/ability.rs
- crates/mcrs_minecraft_game_mode/src/player_game_mode.rs
- crates/mcrs_minecraft_command_engine/src/app_commands.rs
- crates/mcrs_minecraft_command/src/permission.rs
- crates/mcrs_minecraft_chat_server/src/chat_plugin.rs
- crates/mcrs_minecraft_server/tests/it/host_app/mod.rs
- issue #437
- issue #159
- PR #855
- PR #927
- crates/mcrs_minecraft_client/tests/it/screen_clicks.rs
- crates/mcrs_minecraft_menu_geometry/src/menu_geometry.rs
- crates/mcrs_minecraft_engine_damage/src/damage_request.rs
- crates/mcrs_minecraft_engine_damage/src/pending_hits.rs
- crates/mcrs_minecraft_engine_damage/src/damage_plugin.rs
- crates/mcrs_minecraft_server/tests/it/player_attack.rs
- PR #1106
- crates/mcrs_minecraft_engine_player_vitals/src/player_vitals_plugin.rs
- crates/mcrs_minecraft_engine_player_vitals/src/death_message.rs
- crates/mcrs_minecraft_vanilla_death/src/drop_inventory.rs
- crates/mcrs_minecraft_server/tests/it/death_drops.rs
- crates/mcrs_minecraft_server/tests/it/death_messages.rs
- PR #1078
- PR #1082
- PR #1084
- crates/mcrs_minecraft_engine_item/src/request_check.rs
- crates/mcrs_minecraft_engine_inventory_menu/src/menu_commands_ext.rs
- crates/mcrs_minecraft_server_settings/src/server_settings.rs
- issue #279
- issue #282
- issue #316
- issue #321
- issue #412
- issue #283
- PR #636
- issue #323
- PR #846
- PR #977
- issue #130
- issue #57
- issue #357
- issue #158
- issue #154
- issue #486
- issue #546
- issue #280
- issue #281
- issue #247
- PR #579
- issue #285
- issue #278
- issue #296
- issue #82
- issue #537
- issue #266
- crates/mcrs_minecraft_engine_host/src/sub_app_builder.rs
- crates/mcrs_minecraft_engine_world/src/server_loop.rs
Related open issues:
- #82 WIP Online mode: encryption and session authentication
- #154 WIP Global state has one owner and reaches every dimension as a versioned snapshot
- #162 WIP Distribution as an opt-in plugin group behind a link trait that serialises every message
- #163 WIP The edge as its own process
- #266 WIP Run one dimension headless with a fixed seed, no player and an area kept ticking
- #281 WIP Chunk source as a replaceable plugin point, with empty and flat sources
- #283 Partial Public, cancellable player events
- #285 Partial Command tree with permission levels and the commands packet
- #296 WIP Proxy library: routing, online mode, modern forwarding and backend switch
- #321 Undecided The protocol, network and game data crates can be published
- #537 WIP Decision: one implemented version, and the network edge translates client protocols down to 1.21.6
- #546 WIP Create and remove dimension worlds while the server runs, and move players between them
- #912 WIP Operator commands: kick, list, say, msg, stop, save-all, give and title
- #916 WIP Chat rate limit and mute
- #917 WIP Cancellable break and place message, and spawn protection with a radius