Groovy
96.8 FMNow playing 0:00 / 0:00Overnight with Ray Dawn
docs/CONFIG.md

Config

1619 words·~7 min read

Groovy has three config files:

filescopewhat's in it
config/groovy-server.toml (or /serverconfig/groovy-server.toml, if the world has its own)per world, sent to every player when they jointhe gameplay rules and numbers
config/groovy-common.tomlone per installation, read when the game startswhich content loads
config/groovy-client.tomleach player's ownwhat you hear: broadcasts on or off, how many radios at once

Which server file a world uses: NeoForge 21.1 reads config/groovy-server.toml for every world, unless the world's serverconfig/ folder holds a copy of its own, which then wins for that world. defaultconfigs/groovy-server.toml seeds the file when it doesn't exist yet. Pack makers ship defaults in defaultconfigs/ and the other two files in config/. All three can be edited in game: Mods → Groovy → Config.

When an update moves a key from one file to another, the value you set comes with it: on the first start after the update, every moved key you had changed is copied into the new file, once, and a file that exists already is never overwritten (the log says "carried N settings over"). The changelog names every moved key.

Server: [songs]

keydefaultwhat
maxPerPlayer256how many songs one player may add to this world's library (0 is no cap). Saving a song that is in the library already never counts again; the server's own songs don't count. Operators list and prune with /groovy songs
saveCooldownTicks20ticks a player waits between two saves at a synthesizer (20 ticks = 1 second, 0 to 1,200)
demoTapesInLoottruewhether tapes of the demo songs turn up in chests: village houses, abandoned mineshafts and dungeons, one chest in five. Off: no new ones; tapes found before keep playing. Which chests and how often is data (modpack-devs.md)

The library is a folder in the world, data/groovy/songs/: one .grv file per song (at most 24,576 bytes) and one small file per player in authors/ listing the songs they added. Back it up with the world. The 4 demo songs are stored there when the server starts, as the server's own songs.

Server: [station], [mast], [radio]

The broadcast numbers: a radio plays the strongest station on its frequency; signal is 1 − distance / range.

keydefaultwhat
station.baseRange96how far a station reaches without a mast, in blocks (1 to 4096). The one to change for a bigger or smaller map
station.broadcastWhenUnloadedtruea station keeps broadcasting while its chunk is unloaded: its playlist goes on by game time and its redstone state stays as it was. Off: only stations in loaded chunks are heard
station.maxPerPlayer0how many stations one player may own, in every dimension together, loaded or not (0 is no cap, up to 10,000). Checked when a player places one: at the cap the station isn't placed, the item stays in the hand, and the action bar says "Each player may own 3 stations here. Break one of yours to place another." Stations placed before a lower cap stay. Operators are exempt; creative mode is not. A deployer or turtle places stations nobody owns, which count against no one
mast.rangePerSegment32blocks of range each antenna mast segment adds (0 to 1024)
mast.maxSegments8segments that count; more add nothing (0 to 64). With the defaults a station reaches at most 352 blocks
radio.hearingDistance24how far from a radio players hear it, in blocks (1 to 128). The server tells players about radios within this distance plus 8

Server: [live]

Live mode at the synthesizer.

keydefaultwhat
enabledtruewhether players can go live at a synthesizer. Off: the Live button is refused, and anyone live stops within a quarter second
stationRange8how close to a broadcasting station a synthesizer must be to go live there, in blocks (1 to 32)
delayTicks10how long after a note reaches the server every radio plays it, in ticks (2 to 40; 10 is half a second). It hides the time notes take over the network: a listener whose trip to the server and back takes more than about half of it hears notes late. The one to change for players far from the server
maxNotesPerSecond32note-ons one performer may play in a second (1 to 128); more are dropped. Letting go of a key doesn't count
maxPerformers4synthesizers that can be live at one station at once: the band (1 to 16)

While anyone is live at a station, its tapes pause and pick up where they stopped when the last one leaves. A station that is broadcasting with no tape in it can still go live.

Server: [onAir]

The ON AIR sign and the broadcast microphone light while a station near them is live.

keydefaultwhat
liveRadius16how far a live station lights them, in blocks, center to center, in the same dimension (1 to 64)
liveCheckTicks40how often each sign and microphone checks on its own, in ticks (10 to 200; 20 ticks = 1 second). A station tells them in the tick it goes live or stops, so this is only the fallback: for a sign in a chunk that just loaded, or a loop through the sign's own signal. Higher costs less

Server: [coffee_mug]

keydefaultwhat
steamSeconds120how long a coffee mug steams after it is put down, in seconds (0 to 3,600; 0 never). Every client gets it with the rest of this file and draws the steam itself

Common: [content]

keydefaultwhat
stationtruethe broadcast station and the antenna mast: their recipes, creative tab entries and JEI pages; placed ones stay and keep working
radiotruethe radio: its recipe, creative tab entry and JEI page; placed ones stay and keep working
pocketRadiotruethe pocket radio: its recipe, creative tab entry and JEI page; off, pocket radios players have stay silent and don't switch on or tune
synthesizertruethe synthesizer's recipe, creative tab entry and JEI page; off, placed synthesizers stay but don't open, and no song can be saved at them
onAirSigntruethe ON AIR sign's recipe, creative tab entry and JEI page; off, placed signs stay but stay dark and give no signal
broadcastMicrophonetruethe broadcast microphone's recipe, creative tab entry and JEI page; off, placed ones stay, their tally dark
cassetteRacktruethe cassette rack's recipe, creative tab entry and JEI page; off, placed racks stay and give their tapes back, but take no new ones from players or hoppers
monitorSpeakertruethe monitor speaker's recipe, creative tab entry and JEI page; off, placed speakers stay, but their cones stand still
studioCouchtruethe studio couch's recipe, creative tab entry and JEI page; off, placed couches stay but nobody can sit on them
coffeeMugtruethe coffee mug's recipe, creative tab entry and JEI page; off, placed mugs stay but don't steam
acousticFoamtruethe three acoustic foams: their recipes, creative tab entries and JEI page; placed foam stays
studioRugtruethe studio rug: its recipe, creative tab entry and JEI page; placed rugs stay
deskLamptruethe desk lamp: its recipe, creative tab entry and JEI page; off, placed lamps stay but don't switch
floorLamptruethe floor lamp: its recipe, creative tab entry and JEI page; off, placed lamps stay but don't switch

Off, a block's recipe doesn't load (data condition groovy:config, which a datapack's own recipes can use too: modpack-devs.md), it leaves the creative tab, JEI and EMI, and /groovy diagnose lists it. Groovy adds no worldgen.

Client: [broadcasts]

What one player hears from radios and the synthesizer. The volume is the game's Jukebox/Note Blocks slider, so the slider and sound mufflers win over everything here.

keydefaultwhat
enabledtrueoff: radios, pocket radios, the synthesizer's preview and live sets stay silent for you. Nothing changes for anyone else
maxRadios4at most this many radios sound at once, the nearest first (0 to 8). Each takes one of the game's 5 to 8 streaming sound channels, which music and jukeboxes share; the synthesizer's preview always plays and counts as one. The one to lower if music or jukeboxes cut out. Radios that hiss (below) take only the slots the music leaves
staticVolume0.25how loud a switched-on radio or pocket radio hisses when no station is on its frequency (0 to 1). 1 is as loud as the static at the very edge of a station's range; 0 is silent and frees the radio's sound channel

/groovyclient demo, radio [signal], signal <0-1> and stop play the audio engine without a station, on your client only: a quick way to check your sound setup.

Commands

commandpermissionwhat
/groovy songs list 2the songs a player added to this world's library, with the cap; chat shows the first 12, the server log all
/groovy songs prune [confirm]2deletes every song the player added. Without confirm it only says how many; tapes of those songs go blank ("This tape is blank here")
/groovy diagnose2the pack check: data files that follow a content switch and those that name one that doesn't exist, the recipes and the tags they take, the mods it works with, the config in effect. Chat and the server log; see modpack-devs.md

Groovy has no permission nodes: only a station's owner changes it, and operators (permission level 2) may change any.