Repository navigation
Server Setup
HandyPhone runs on Fabric 26.3, NeoForge 1.21.1 and Forge 1.20.1, plus a Paper 26.3 plugin. Players use the mod for their version and loader; the server must run the same Minecraft version. On 26.3 you can choose a Fabric or a Paper server; on 1.21.1 and 1.20.1, use a NeoForge or Forge server with the mod.
| Fabric / NeoForge / Forge server | Paper server (26.3) | |
|---|---|---|
| Install | HandyPhone mod in mods/ (+ Fabric API on Fabric) |
HandyPhone plugin jar in plugins/
|
| Config file | config/handyphone-server.json |
plugins/HandyPhone/handyphone-server.json |
| Data | <world>/handyphone/ |
<world>/handyphone/ (same format) |
| Admin commands | op level 3 (the vanilla admin level) | permission handyphone.admin (default: op) |
| Optional add-ons | Simple Voice Chat, squaremap (the build for your loader) | Simple Voice Chat, squaremap (both soft dependencies) |
The server code is the same everywhere, so features and data are identical. On 26.3 you can switch between Fabric and Paper and keep everything.
- Use Minecraft 26.3, Java 25 and Fabric Loader 0.20.1+.
- Put Fabric API and the HandyPhone mod jar in
mods/. - (Optional) Add Simple Voice Chat (for calls) and squaremap (for the Map app terrain). See Optional add-ons.
- Start the server. On first start it creates
config/handyphone-server.jsonwith the defaults (see Configuration) and<world>/handyphone/for the data. - Players install the same mod on their client (Fabric Loader + Fabric API + HandyPhone).
- Use Minecraft 1.21.1 + NeoForge with Java 21, or Minecraft 1.20.1 + Forge with Java 17.
- Put the HandyPhone jar for that loader (
handyphone-neoforge-<version>+1.21.1.jarorhandyphone-forge-<version>+1.20.1.jar) inmods/. - (Optional) Add the NeoForge or Forge builds of Simple Voice Chat and squaremap.
- Start the server: config and data go in the same places as on Fabric. Commands are the same (op level 3).
- Players install the same jar on their client.
Pasting an image with Ctrl+V isn't available on 1.21.1 and 1.20.1 (dragging the file into the game window works).
Singleplayer works out of the box, and so does a LAN world: whoever hosts runs the phone service (and, for the real-terrain map, needs squaremap).
- Use Paper 26.3 (the plugin declares
api-version: 26.3) and Java 25. - Put the HandyPhone plugin jar (
handyphone-paper-<version>.jar) inplugins/. The plugin will be available on Modrinth soon. - Start the server. The config is created at
plugins/HandyPhone/handyphone-server.json. Coming from a Fabric server? Copy your oldconfig/handyphone-server.jsonthere: the Fabricconfig/folder is ignored on Paper. - Players install the Fabric 26.3 mod on their client, as usual.
Things that differ on Paper:
- Players without the mod do not get a phone (no number is created for them; this is the same on Fabric).
-
Plugin channel limit. The plugin uses 84 plugin-messaging channels (1.6), and Paper allows 128 per player. A big modpack on the client can hit
that limit; raise it with the JVM flag
-Dpaper.pluginMessageChannelLimit=256(anyNworks). -
Not supported: Folia (
folia-supported: false) and/reload. Restart the server instead. -
Saving: the plugin saves in the background and cannot detect
/save-all flush. It saves everything when the server (or plugin) stops. -
Commands need the permission
handyphone.admin, and work from a player or the console only (not from command blocks). See Commands and Permissions.
- Everyone can still join: HandyPhone never blocks vanilla clients.
- They get no phone and no phone number, on Fabric and on Paper alike: the server only creates an account for clients that announce the HandyPhone channels.
- On a server with no HandyPhone at all, a player who has the mod still gets the Camera, and the photos stay only on their computer (see Features).
- Needed on the server and on every player that wants calls. Without it, the Phone app says calls are unavailable and everything else keeps working.
- HandyPhone was built against the Simple Voice Chat API 2.6.27.
- Call audio is relayed by the server. HandyPhone does not record it. (A different plugin on your server could.)
- Call voices get their own volume slider in Simple Voice Chat, in the category "Phone calls" (registered once for everyone, so it is always in English).
-
Clips (1.6) also use it: with Simple Voice Chat on the player's client, a video clip records the voices of the player and of people nearby. Calls themselves are never recorded.
clipVoiceRecording=falseasks phones to leave voices out (see Configuration). - Turn calls off with
callsEnabled(see Configuration).
- Install it where the world is hosted (the server, or the host player on LAN).
- HandyPhone reads the PNG tiles squaremap already writes and sends them to the player in pieces. Without squaremap, the Map app shows a plain grid and tells the player.
- On a world that existed before squaremap was installed, run
/map fullrenderonce (as an operator) to draw everything. On a new world the terrain shows up within about a minute of squaremap drawing it. - The Map app only shows the dimension the player is in.
- squaremap shows everything already explored, including hidden bases. Limit it with
mapTilesEnabled/mapRadiusBlocks(see Configuration).
- Server starts and the log shows no HandyPhone
errorlines. -
config/handyphone-server.json(orplugins/HandyPhone/handyphone-server.json) exists. Read the options and decide on photos, computer uploads, map and calls. - You know that you can read everything players send (see Moderation and Privacy). Tell your players.
- Online mode is on (
online-mode=true). On an offline-mode server anyone can join with another person's UUID and read that person's phone. - Back up
<world>/handyphone/together with the world.
- Config changes are read only when the server starts. There is no reload command: edit the file and restart.
- The file is rewritten on every start: new options from newer versions appear with their defaults, and out-of-range numbers are clamped (see
Configuration). Anything you typed into
_leia_meis not kept. - The mod was renamed from "BlockPhone" before release. If an old
<world>/blockphone/folder orconfig/blockphone-server.jsonexists, the mod renames it for you on startup. - Mixing versions: the 1.6.0 server works with clients from 1.0.2-beta on (older clients simply don't get the new features: a clip reaches a 1.5 client as a picture, and 1.4 clients don't see group invites), and a newer client on an older server hides what that server can't do. A new MAJOR version (2.0.0) would be the one that breaks this. The Paper plugin always has the same version number as the mod.
- If you go back to an older version after 1.3, photos that players deleted but that were still in chats show up in their gallery again (nothing breaks).
- Don't go back to 1.4 after running 1.5 or newer: 1.4 ignores group invites and the "only sees from when they joined" rule, so members who joined by invite would see the older history.
- Upgrading from 1.4 or 1.5 needs nothing: new options (
avatarAllowComputerPhotos, the clip options) are added to your config with their defaults, and new folders (avatars/,clips/) are created when needed. A config file created by 1.4 keeps"feedPhotoSource": "camera"(the default became"any"in 1.5): change it by hand if you want the new default.
The phone costs nothing for players who have it put away. Saving is done off the main server thread, and the server work per player per tick is constant.
For raw connection floods use rate-limit in server.properties: HandyPhone's own limits protect the cost of answering packets, not the
connection itself.
Migzu's HandyPhone
Server owners
Players
Help