promotional bannermobile promotional banner
premium banner
This a custom mod made for Project Flattened modpack

Description

Project Flattened Utilities

Project Flattened Utilities is a lightweight custom mod developed for the Project Flattened modpack. It enables players to spawn custom structures from .nbt files.

✨ Features

/spawnHouse <fileName>

  • Spawns a structure at the player's current location.
  • <fileName> is optional; defaults to default_base if not specified.
  • All .nbt files should be placed in:
  /config/pf_schematics
  • This command can only be run once per player (unless reset with /clearHouse).

/clearHouse [playerName]

  • Resets a player’s ability to use /spawnHouse.
  • Requires permission level 2 or higher.
  • [playerName] is optional. If not provided, it applies to the executing player.

⚙️ Configuration

A config file is created at:

/config/projectflattenedutilities-common.toml

This file allows you to whitelist specific players (via their UUIDs) who are allowed to use the /spawnHouse command.

If left empty, it will allow every player to call it at least once, unless /clearHouse was used on them. 

📦 Use in Other Modpacks

While built specifically for Project Flattened, this mod is standalone and can be used in any Forge-based 1.20.1 modpack.