-
Notifications
You must be signed in to change notification settings - Fork 0
mods rtwrapper mod
A custom-command wrapper/queue mod with a gated permission system, audit log, and Chest GUI. Rewritten from scratch in Java, inspired by the command-queueing idea of the original RTWrapper datapack.
(Description automatically extracted from src/main/resources/fabric.mod.json.)
Source: src/main/resources/fabric.mod.json
-
Declared dependencies:
fabricloader: >=0.16.14,fabric-api: *,minecraft: ~1.21.1,java: >=21 - License (from fabric.mod.json): MIT
RTWrapper - Fabric mod for Minecraft 1.21.1. Inspired by the conceptual idea behind the original RTWrapper datapack (a macro-command wrapper/queue API), rewritten from scratch in Java with the additional features requested by the user: - OP-level gate (configurable per command, 0-4) - Audit log to both the console and config/rtwrapper/audit.log - Chest GUI (/cmdname menu) - lists registered commands and runs them on click - /cmdname subcommand tree (register/unregister/list/run/menu/reload) instead of /trigger The 400+ mcfunction variants in the datapack (data/rtwrapper/function/core/wrappers/internal/variants/) were not ported one-to-one; the functionality they covered (running parameterized vanilla commands) is handled by a single general mechanism instead: every line in RegisteredCommand.actions is run directly via server.getCommandManager().executeWithPrefix(...) (see queue.CommandExecutor). This replaces RTWrapper's "generate a separate macro variant per command" approach with a simpler design that lets Brigadier handle its own argument parsing.
com.runtoolkit.rtwrapper.RTWrapperModcom.runtoolkit.rtwrapper.audit.AuditLogcom.runtoolkit.rtwrapper.command.CmdNameCommandcom.runtoolkit.rtwrapper.command.RTWrapperCommandscom.runtoolkit.rtwrapper.gui.CommandMenucom.runtoolkit.rtwrapper.permission.PermissionGatecom.runtoolkit.rtwrapper.queue.CommandExecutorcom.runtoolkit.rtwrapper.storage.CommandRegistrycom.runtoolkit.rtwrapper.storage.RegisteredCommand
- Path in repo:
mods/rtwrapper-mod - View on GitHub
- This sub-project has no README.md; this page was generated entirely from metadata files and source code comments.
This page was generated automatically by generate_wiki.py from the README, package metadata, and source code of this sub-project. Manual edits will be overwritten the next time the script runs.