HomeJavaModsSamū's Commands
Samū's Commands

Samū's Commands (ModID: rfx-cmd)

A small mod for Minecraft 1.20.x that adds several small little gameplay features. The mod is made for Fabric and requires the Fabric API.

The mod has both client and server features, but operates in such a way that clients don't need to have the mod if the server has it, and vice versa. The mod mostly adds some commands and is most useful on the server, but the client adds some neat little features as well (especially if the server has the mod too).

Server Features

All commands and gamerules listed here are automatically shared with all clients, so all players have access to this whether they have the mod or not.

Homes

The mod adds the well known /home and /sethome commands. You have a main home which you can use by calling the base commands with no extra name. You can add more homes under names by calling the commands with a specific name.

Homes can be controlled by gamerules:

Homes work from any distance and through different dimensions. A home set in the Nether allows players in the Overworld to teleport to that home in the Nether instantly.

A useful feature: home names can be clicked in the chat and it will suggest either a /home or /sethome command based on whether the home existed when it was printed or not.

Spawn teleportation

The mod adds a simple command to let players teleport to the world spawn point in the Overworld.

This behaviour can be enabled or disabled with a gamerule:

Teleportation Requests

The mod adds the well known /tpa system, to send teleportation requests to players. It is controlled using a set of commands:

You can control who can send you requests using a blacklist and a whitelist. The whitelist is by default disabled but can be enabled. If the whitelist is enabled, nobody can send you a request unless they're whitelisted. Blacklisted players can never send you a request even if they're whitelisted. If the whitelist is disabled, everyone except those in your blacklist can request.

Teleportation requests can be controlled with several gamerules:

Personal Notes

Players can write small notes for themselves, which are stored per world (on the server's side). Notes are stored a bunch of lines which the player may edit, move, remove and add to freely.

Notes allow the interpolation of some simple data points such as your coordinates or your dimension, if the gamerule reducedDebugInfo is set to false. Each of these insert the specific information at the location where they were put in the note. They are meant to make it easier to insert some information from the debug screen in your notes.

Since notes are stored on the server side in the player data, a gamerule exists to limit the amount of notes per player in order to limit memory usage per player. Notes have a hardcoded length limit of 1024 characters, but the amount of notes per player is configurable.

A useful feature: note lines printed in chat can be clicked upon to copy a note line to the clipboard.

Points of interests

In addition to the home commands, the mod provides points of interests, which are like homes shared across all players. Unless configured otherwise, only admins can set these. All players can teleport to them by default. All commands targeting a single POI can have an optional name as argument to set a named POI. The main POI has no name and must be referred to by not providing the name.

Points of interest can be controlled by gamerules:

POIs, like homes, work from any distance and through different dimensions. A POI set in the Nether allows players in the Overworld to teleport to that POI in the Nether instantly.

Last death

The mod has a feature to teleport players to where they last died. This can be done in two ways:

A gamerule can control this ability:

Pets and Leashed Mobs

Now you have your fancy teleport commands, but you have a cat or dog and it will stay behind at the place you teleported from. Oh no! But fear no more, because pets can teleport with you, and so can leashed mobs. By default, leashed mobs can teleport through dimensions, and pets only in the same dimension. This can be configured with game rules:

Both gamerules follow the same principles:

Client Features

Currently, not much client features exist.

Home Keys

You can bind keys to set and teleport to your main home.

Planned Features

License

Copyright (C) 2023 Runefox

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more