Repository navigation
Configuration
Two kinds of settings exist: the server owner's file (this page, first part) and the player's own settings inside the phone (second part).
| Server | Location |
|---|---|
| Fabric, NeoForge, Forge | config/handyphone-server.json |
| Paper |
plugins/HandyPhone/handyphone-server.json (the Fabric config/ folder is ignored: copy the file) |
How the file behaves:
- Created on first start with the defaults, so you have something to edit.
- Read only at startup. There is no reload command: edit, then restart.
-
Rewritten on every start. New options from newer versions are added with their defaults; numbers outside their range are clamped (ranges below).
The
_leia_mefield is overwritten with the current notes (don't write in it). -
A broken file fails closed. If the JSON can't be read (a stray comma, a wrong type), HandyPhone logs an
error, does not touch the file, and turns these OFF until you fix it and restart:liveLocationEnabled,mapTilesEnabled,locationMessagesEnabled,allowComputerUpload,photosEnabled,callsEnabled,publicFeed(scroll.in),clipsEnabled,clipVoiceRecordingandallowComputerGifs. Other options stay at their defaults.
| Key | Default | Range | What it does |
|---|---|---|---|
photosEnabled |
true |
on/off | Master switch for photos. Off: new photos are refused (camera, gallery upload, sending a photo in a chat). Photos already in conversations can still be downloaded by the people in them; to remove content use /handyphone wipe. |
allowComputerUpload |
true |
on/off | Accept images dragged or pasted (Ctrl+V) from the player's computer. Off: the server refuses them and the app hides the option. This is a convenience, not protection: the server can't tell a camera photo from an image by its bytes, so a modified client can still upload. What limits the damage is validation, size, quota and rate limits, which always apply. |
photoQuotaMb |
30 |
1 to 4096 | Photo storage per player, in MB. |
maxPhotosPerPlayer |
500 |
1 to 500 | Maximum photos per player (500 is the hard cap). |
photoTotalMb |
2048 |
at least photoQuotaMb, up to 1,000,000 |
Cap for all photos on the server together, in MB, so many accounts times the quota can't fill the disk. |
Photos are always re-encoded by the server: JPEG, at most 640 px on the long side and 200 KB each. Photos a player deleted but that are still in someone's chat have a cap of their own, the same size as the player's quota (see Moderation and Privacy). The server also refuses new photos when less than 256 MB of disk is free.
New in 1.6. A clip is a short video recorded in the Camera's Video mode. Clips are stored in <world>/handyphone/clips/ with their own quota, separate from photos.
Players see "Photos" and "Clips" bars in the Gallery. See Features for the player side.
| Key | Default | Range | What it does |
|---|---|---|---|
clipsEnabled |
true |
on/off | Master switch for clips. Off: new clips are refused and the Camera hides the Video mode. Clips already in conversations or scroll.in can still be downloaded by the people who can see them (like photos); to remove content use /handyphone clip remove or wipe. |
clipQuotaMb |
30 |
1 to 4096 | Clip storage per player, in MB (separate from photoQuotaMb). |
maxClipSeconds |
15 |
1 to 15 | Longest clip, in seconds. 15 is the hard cap; lower it to make clips smaller. |
maxClipsPerPlayer |
100 |
1 to 500 | Maximum clips per player. |
clipTotalMb |
2048 |
at least clipQuotaMb, up to 1,000,000 |
Cap for all clips on the server together, in MB. |
clipVoiceRecording |
true |
on/off | Clips may record voices (the player's own and people nearby, with Simple Voice Chat). Off: phones record only the game's sound. Convenience, not protection: the phone obeys it, but a modified client can ignore it. |
allowComputerGifs |
true |
on/off | Accept animated GIFs dragged in from the player's computer (they become silent clips). Off: the server refuses them. Convenience, not protection, like allowComputerUpload. |
What to know:
- A clip is at most 15 seconds (or
maxClipSeconds) and 4 MB, 320x180 at 20 frames per second, with stereo sound. Fast movement is about 2 MB per 10 seconds. - The server checks every clip and decodes each of its frames before storing it; a clip it can't read is refused.
- Fixed anti-abuse limits (not configurable): 4 clip uploads per minute per player, a 30-second wait after a clip the server refused, and a server-wide cap on clips being uploaded at the same moment (64 MB).
- Clips and photos share one id counter. Hidden clips (deleted by their owner but still in a chat) work like hidden photos.
- If the config file is broken, clips, voice recording and GIFs are all turned off (see the top of this page).
- The Camera records the game's sound and, when Simple Voice Chat is installed, nearby voices. The audio relayed by a HandyPhone call is never recorded, but someone nearby who is talking on a call is heard like any other nearby voice. More in Moderation and Privacy.
| Key | Default | Range | What it does |
|---|---|---|---|
locationMessagesEnabled |
true |
on/off | Sending your location (current or a pinned spot) in a message. Off: refused, options hidden. |
liveLocationEnabled |
true |
on/off | Sharing live location (15 min, 1 h or 8 h). Off: refused, option hidden. |
mapTilesEnabled |
true |
on/off | Deliver squaremap tiles to the Map app. Squaremap shows everything explored, including hidden bases: turn this off, or use mapRadiusBlocks, if that is a problem. |
mapRadiusBlocks |
0 |
0 to 30,000,000 | Only deliver tiles that touch a square of this radius (in blocks) around the player's current position. 0 = no limit. The real minimum is about 512 blocks (the smallest tile): a value like 64 does not show "only 64 blocks"; the whole 512x512 region touching the square is delivered. |
maxSavedPlaces |
32 |
1 to 100 | Saved places per player. |
Live location sharing is never written to disk: a restart, leaving the game, expiry or stopping it ends it.
Calls need Simple Voice Chat on the server and on the players. See Server Setup.
| Key | Default | Range | What it does |
|---|---|---|---|
callsEnabled |
true |
on/off | Voice calls. Off: the server refuses calls, the Phone app says they are unavailable, and calls in progress end. |
crossDimensionCalls |
true |
on/off | Voices carry across dimensions. Off: people only hear each other in the same dimension. |
maxCallParticipants |
8 |
2 to 32 | People at once in a group call. Two-person calls are not affected. |
ringSeconds |
30 |
5 to 120 | How long a call rings before it becomes "not answered". |
scroll.in is the public photo feed (new in 1.4). See Features for what players see and Moderation and Privacy for reports and removal.
| Key | Default | Range | What it does |
|---|---|---|---|
publicFeed |
true |
on/off | Master switch for scroll.in. Off: the server refuses everything about the feed and the icon disappears from the phones. Posts already saved are kept on disk (not shown) and come back if you turn it on again. |
feedPhotoSource |
"any" |
"camera" or "any"
|
Which photos and clips can be posted. any (the default since 1.5) = also pictures uploaded from the computer. camera = only photos taken with the phone's Camera (the server stamped where they were taken and they weren't declared as coming from the computer). Any other value becomes camera. Like allowComputerUpload, this is a convenience, not protection: a modified client can claim a picture came from the camera. A config file created by 1.4 keeps the "camera" written in it: change it by hand if you want the new default. |
feedPostsPerDay |
10 |
1 to 200 | Posts per player in any 24 hours. |
feedMaxPosts |
2000 |
10 to 10,000 | Posts on the whole server. Past this, the oldest posts leave the feed (the photo stays in its owner's gallery). |
Posts reference the photo (or clip) in the owner's gallery (no copy), so they count toward that player's quota, and deleting it removes the post. Since 1.6 a post can hold a clip, which plays inside the post. A post never carries where the photo was taken. Fixed limits (not configurable): caption 256 characters, comment 150; comments 6 per minute and 60 per hour per player; a post keeps its latest 200 comments, with at most 20 by the same player; 50,000 comments on the whole server; 10 reports per hour per player.
New in 1.5. Players can set a profile photo for their phone number, for their scroll.in profile (a separate photo, never linked to the number) and, if they own it, for a group.
The server crops the chosen gallery photo to a small 160 px JPEG and keeps it in <world>/handyphone/avatars/ (index avatars.json: if it can't be read, profile photos stay
off and the file is left untouched).
| Key | Default | Range | What it does |
|---|---|---|---|
avatarAllowComputerPhotos |
true |
on/off | Allow pictures from the player's computer as profile photo. Off: only photos taken with the Camera. Convenience, not protection, like feedPhotoSource and allowComputerUpload. |
Who sees a phone-number profile photo is decided by the server: people the owner saved as a contact, people the owner has answered in a conversation, and people in a group
with them. Someone who only typed the number sees the initial; a block in either direction means "no photo". A group photo is only seen by members, and only the group owner can change it.
Players can change a photo at most 10 times per hour. Admin tools: /handyphone avatar remove.
_leia_me ("read me") is a note HandyPhone writes into the file on every start (JSON has no comments). It repeats the warnings from this wiki:
allowComputerUpload, feedPhotoSource, avatarAllowComputerPhotos, clipVoiceRecording and allowComputerGifs are conveniences and not protection, the effective minimum of mapRadiusBlocks is about 512,
photosEnabled=false does not hide existing photos, the owner can read everything, what a broken file turns off, what clips record, how calls and mute interact, and that "busy" / "declined" tell the caller the number is online.
{
"allowComputerUpload": false,
"photosEnabled": true,
"photoQuotaMb": 20,
"maxPhotosPerPlayer": 200,
"photoTotalMb": 1024,
"locationMessagesEnabled": true,
"liveLocationEnabled": true,
"mapTilesEnabled": true,
"mapRadiusBlocks": 1024,
"maxSavedPlaces": 32,
"callsEnabled": true,
"crossDimensionCalls": false,
"maxCallParticipants": 6,
"ringSeconds": 30,
"publicFeed": true,
"feedPhotoSource": "camera",
"feedPostsPerDay": 5,
"feedMaxPosts": 2000,
"avatarAllowComputerPhotos": true,
"clipsEnabled": true,
"clipQuotaMb": 20,
"maxClipSeconds": 10,
"maxClipsPerPlayer": 50,
"clipTotalMb": 1024,
"clipVoiceRecording": true,
"allowComputerGifs": false
}Anti-spam limits (messages per few seconds, groups per hour, packet budget, call attempts...) are fixed in the code on purpose. They are listed in Moderation and Privacy.
Players change these in the phone's Settings app (they are saved per player, on the player's computer, in config/handyphone.json).
They never affect other players, except Show to others.
| Section | Option | Default | Notes |
|---|---|---|---|
| Appearance | Interface style | Minimalist | Classic (2009), Aero (2012), Minimalist (2016), Modern. |
| Accent color | Automatic | Automatic = the style's own color; or pick a color. | |
| Wallpaper | Automatic | Default for the style, Landscape, Mosaic, Plain, Christmas, or any photo from your Gallery (open the photo and use the wallpaper button; it asks first). A photo wallpaper is stored on your computer, not on the server. | |
| Holiday decorations | On | In December, players who never chose a wallpaper get the Christmas wallpaper with falling snow. Turn off here. | |
| Replay introduction | Shows the welcome tour again (it appears once, the first time you pull out the phone). | ||
| Navigation | Scroll speed | 100% | 50% to 200%. |
| Sway while walking | 10% | 0% to 100%. How much of the walking bob the phone in hand keeps (low = steadier). | |
| Controls hint | On | The short hint shown when you take the phone out. | |
| Highlight & cursor | Wheel highlight | Fluid | Fluid, Calm or Simple (a still border). |
| Highlight color | Automatic | A different shade of the accent color, or your own. | |
| Cursor | Cross | Cross or Hand; only with the phone expanded. | |
| Sounds | Interface sounds | On | Taps, alerts, navigation. |
| Keyboard sound | On | Clicks while typing. | |
| Volume | 100% | 0% to 100%, all phone sounds. | |
| Phone sounds | Automatic | Which style the sounds come from (looks and sounds can be mixed, e.g. Aero looks with Minimalist sounds). | |
| Notifications | Banner at the top | On | Messages, missed calls and live location. Errors and server notices always show. |
| Notification sound | On | Plays when a message arrives. | |
| Icons on the game screen | On, each kind | Small colored dots next to the hotbar, one switch each for Messages, Missed calls, Live location and scroll.in (likes and comments). Work even with the phone put away. | |
| Privacy | Show to others | On | Other players near you see the phone in your hand (a still image of your style, never your screen). Off: nobody sees it; you still see it in third person. |
| Copy on this computer | On | Keeps a copy of the photos you take on your computer. Button to open the folder. | |
| Shortcut key | Change key | Z | Press a key or a mouse button (not left/right click). Shows conflicts with other mods. "Back to default" restores Z. |
Also remembered by the phone: the Camera's grid and self-timer (off / 3 s / 10 s).
File-only options (config/handyphone.json on the player's computer): localPhotosMb (cap of the local photo copies, default 500 MB, range 50 to 20,000).
The default key is also changeable in the game's Controls screen (category "Migzu's HandyPhone", action "Use phone"). If another mod uses the same key, the phone warns once in chat.
Migzu's HandyPhone
Server owners
Players
Help