Switchy

Quick rating

Switchy

No reviews yet

Play multiple characters in one world! Opt-in, customizable player profiles for hotseat multiplayer, lets plays, plural systems, RP servers, or just for fun!

No Theme
No Genre
Social & Roleplay
QoL & Tweaks
API/Library
Mod Loaders
Forge
NeoForge
Fabric
Quilt
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Optional
Server Required

About

Project Details

Type
Mod
License
GNU Lesser General Public License v3.0 only
Latest Version
3.7.3+26.1

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

mod preview
Serverside player profiles for hotseat multiplayer, adventure maps, and plural systems.
Requires Connector and FFAPI on (neo)forge.

Switchy allows players to create and switch between player profiles, which save part of their player data.

This is both data-driven and player-customizable. Here's a profile with Styled Nicknames and Fabric Tailor (+SCH): components
Support is also built-in (via data) for Lampblack Pronouns, Trinkets/Accessories, Pehkui (width/height), and Origins.

You can even fluently chat using the display names of other profiles, just like PluralKit:
chat tags This is fully compatible with well-behaved chat bridges, like our cantilever fork!

Usage

Disclaimer: All mods that manipulate player data have a save corruption risk!
Always take backups of your worlds, especially when updating mods.

Just run /switchy and follow the hints! This covers renaming, toggling components, and making new profiles.

After this, you can freely switch profiles via /switch <name> or by clicking <switch> in the profile list.
Switching into a profile restores component data to the state it was in was when the profile was last used.
So to change e.g. a fabric tailor skin for a profile, switch into the profile first, set the skin, and switch out.

You can use /switchy say to send a chat message as if you were switched into a specific profile.
Use /switchy edit <name> tag <prefix>text<suffix> to match regular chat messages based on a pattern.
Display names look slightly different to styled nicknames/chat, so just adjust their configs to match.

Profiles are per-world, so speed things up by running /switchy export to get your name/skin data to save to a .json file.
To import, upload the file (e.g. to tmpfiles.org) and paste the link into /switchy import all <url>.
You can also import from PK (and import from / export to Utter) - use /switchy import <member/group> to filter imports.

Compatibility

Note: If Switchy crashes your 1.20 modpack, set fastSingleplayerReconnect to false in config/switchy.toml

For compatibility with new mods, components are defined like so:

// data/minecraft/switchy_components/inventory/ender_chest.json (minecraft:inventory/ender_chest)
{
  "enabled": true, // whether to load the component at all. use this instead of deleting default files, as they'll regenerate.
  "codec": "inventory", // which codec (from the registry in SwitchyComponentTypes) to use to deserialize the data. defaults to "nbt" (passthrough)
  "path": "EnderItems", // NBT path targeting the part of player.dat to load from / modify to
  "preview": "inventory", // which text previewer (from the registry in SwitchyComponentTypes) to use in chat. null = toString(), use "trunc" for long data. Start with $ to use an NBT path for passthrough components.
  "prefix": "👁 ", // a prefix to add to the text preview, for glanceability
  "emptyChecker": "inventory", // which empty checker (from the registry in SwitchyComponentTypes) to use to prevent profile deletion for precious data. Start with $ to use an NBT path for passthrough components.
  "group": "inventory", // components with a matching group ID will be previewed and toggled as if they're one component
  "default": [], // default value. JSON serialized. set to "$copy" to copy the value from previous. set to null or omit to delete the key from player data as the initial value.
  "hidden": false // hides the component preview in the profiles list (still shown in the components list)
}

Feel free to PR components (and previewers/etc with no dependencies) into the main mod - see existing examples.

Switching data outside player NBT requires an addon. API TBD - Interested addon devs can hit up the issues page.

Afterword

If you're a plural system (or a friend to one) and appreciate our work, please consider reading and sharing sys.guide, our plurality handbook.

Switchy was our first original minecraft mod, made during the mod jam ModFest: Singularity.
Since making it, the minecraft modding community has given us friendship, mentorship,
endless favours, an outlet for self-expression, and reinforced our passion for software as an art.
Everyone who's been a part of that - and you should know who you are - thank you.

Screenshots

Gallery

  • Chat Tags Demo
    Chat Tags Demo
  • /switchy (3.5)
    /switchy (3.5)
  • /switchy view (3.5)
    /switchy view (3.5)

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~84,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works