D

Backrooms Plugin Specification (Paper 26.2)

General Overview

Create a Paper 26.2 Minecraft plugin that recreates an infinitely generating Backrooms experience.

The plugin must be modular and heavily configuration-based.

The plugin must not use custom world generation.

All Backrooms dimensions must be normal Minecraft dimensions created and managed by the plugin. The administrator defines the dimensions in configuration by name.

Example:

dimensions: level0: world: backrooms_level0 poolrooms: world: backrooms_poolrooms level1: world: backrooms_level1

If a configured world does not exist, the plugin creates an empty dimension with that name.

Generation happens inside those worlds after players enter them.

Dimension System

Each Backrooms level is an independent Minecraft dimension.

Each dimension has configurable:

world name

generator type

room pools

prop pools

entity pools

ambient sounds

music

lighting override

transition destinations

generation settings

Example:

layers: level0: world: backrooms_level0 generator: random roomPool: - Level0/ propPool: - Level0/Props/ entityPool: - level0_entities nextLevels: - poolrooms baseLight: -1

Lighting System

The plugin should use Minecraft's default lighting system.

However, the plugin must be able to override the final rendered lighting level for specific dimensions.

This allows values below Minecraft's normal limits.

Example:

level0: baseLight: -1

Level 0 should be able to appear darker than normal Minecraft lighting allows.

Positive values continue using normal Minecraft lighting.

The lighting override should only affect visual rendering.

It should not replace Minecraft's lighting engine.

Room Generation System

Rooms are stored as NBT files.

The plugin loads rooms from configured folders.

Example:

Backrooms/ ├── Level0/ │ ├── Level0/DarkRooms/ │ ├── PoolRooms/ │ └── PoolRooms/Big/

Each layer has its own room pools.

The plugin must support different generation algorithms:

random generation

Wave Function Collapse style generation

future custom generators

Room Weight System

Every room has a generation weight.

Default weight:

10

Administrators can override specific rooms in configuration.

Example:

roomWeights: hallway1: 10 hallway2: 20 rare_room: 1 unused_room: 0

Rules:

higher weight = more common

lower weight = rarer

weight 0 disables the room

Rooms not listed use the default weight of 10.

The same system should support:

normal rooms

dark rooms

large rooms

props

entities

Prop System

Props are generated using Jigsaw Blocks.

Rooms contain Jigsaw Blocks that select props from the configured prop pool.

Each Backrooms level has its own prop pool.

Example:

Level0/Props/ PoolRooms/Props/ PoolRooms/Big/Props/

Props are stored as NBT structures.

The plugin must allow:

random prop selection

weighted props

different prop pools per level

Ambient Audio System

Everything should support configurable audio.

Each level can have:

Music

Example:

music: tracks: - level0_theme - level0_ambient

Features:

random selection

configurable cooldown

looping support

Ambient Sounds

Examples:

fluorescent lights

dripping water

ventilation

distant footsteps

electrical noises

metallic sounds

Each sound supports:

weight

minimum delay

maximum delay

volume range

pitch range

distance

Backrooms Entry System

Players do not access the Backrooms through commands.

The only normal way to enter is through Noclip Zones.

Noclip Zones are rare unstable locations in the Overworld.

Noclip Blocks

A Noclip Block is a custom plugin-recognized block.

When activated:

it loses collision

it is visually replaced by a Block Display entity

players and entities can pass through it

Noclip Wand

Admins can obtain a Noclip Wand through a command.

Example:

/backrooms give noclip_wand

Right-clicking a block with it converts that block into a Noclip Block.

The original block is stored visually using a Block Display.

Noclip Glitch Effect

Noclip Blocks can rarely glitch.

When this happens:

a Bamboo Mosaic block appears visually on top

textures appear corrupted

the effect lasts a few seconds

The chance and duration are configurable.

Natural Noclip Structures

Noclip structures replace vanilla structures.

They do not generate separately.

They are copies of existing structures with Noclip Blocks added.

Supported structures:

villagerhouse.nbt jungletemple.nbt igloo_with_basement.nbt outpost.nbt pyramid.nbt

The structures follow the same rules as their vanilla versions:

same biome requirements

same rarity

same generation conditions

Villager House Replacement

Villages are handled separately.

The plugin only replaces one individual house inside a village.

The entire village is not replaced.

Backrooms Plugin Specification (Paper 26.2)

Part 2/4

Player-Generated Noclip Blocks

Player-made Noclip Blocks are separate from naturally generated Noclip Structures.

The generation rules below only apply to player-built blocks.

Player-created Noclip Blocks do not appear immediately after placing blocks.

They appear after a delay of:

1-2 Minecraft days

After this time, eligible blocks may become unstable and turn into Noclip Blocks.

Requirements For Player Noclip Conversion

A player-placed block can only become a Noclip Block if:

it was placed by a player

it is exposed to air

it is connected to multiple other player-placed blocks

those connected blocks are also connected to more blocks

The system should detect player-built structures rather than isolated blocks.

Examples:

Valid:

player-built underground rooms

hidden bases

sealed structures

large connected builds

Invalid:

random single blocks

small unrelated builds

naturally generated terrain

Conversion Chance Scaling

The chance of player blocks becoming Noclip Blocks decreases when many eligible player-placed blocks are nearby.

Example:

Small hidden structure:

→ higher chance

Large player base:

→ lower chance

This prevents large builds from being filled with Noclip Blocks.

The scaling values must be configurable.

Example:

noclip: playerBlocks: baseChance: 0.01 nearbyBlockPenalty: 0.001 minimumChance: 0.0001

Noclip Block Placement In Walls

This rule applies to all generated Noclip Blocks.

If a Noclip Block generates inside a wall or another inaccessible location:

The plugin must always place another Noclip Block directly connected to it.

The second block must appear:

directly above it

or directly below it

The choice can be random.

This prevents impossible-to-reach Noclip Zones.

Entity Noclip Travel

Entities can travel through Noclip Blocks.

If an entity enters a Noclip Block:

it is transported using the same transition system as players

its data is preserved

Preserved data includes:

entity type

health

equipment

custom names

custom data

AI state when possible

Natural Entity Spawning

The plugin must not use normal Minecraft natural spawning for Backrooms entities.

Entities only appear through:

configured entity spawns

room generation

scripted events

special encounters

This prevents uncontrolled spawning.

Noclip Dimension Transition

Every dimension transition uses the Void dimension.

The Void is a separate custom dimension.

Properties:

black sky

no terrain

no void damage

player continuously falls

The player stays there for a random amount of time:

0-15 seconds

After the transition:

the player arrives at the destination dimension

First Backrooms Entry

When a player enters a Noclip Block in the Overworld:

Sequence:

Player enters Noclip Block

Player is sent to Void dimension

Player falls for several seconds

Player arrives at Level 0

The same system works for entities.

Backrooms Noclip Transitions

When a player enters a Noclip Block inside the Backrooms, four outcomes are possible.

All values should be configurable.

Default chances:

  1. Return To Overworld

Chance:

5%

The player returns to the Overworld.

They appear approximately:

1000 blocks above ground

The player:

falls normally

receives no fall damage

  1. Go To Next Level

Chance:

89%

The player goes to another Backrooms layer.

Each layer defines possible destinations.

Example:

layers: level0: nextLevels: - poolrooms - level1

If multiple destinations exist:

choose randomly

  1. Return To Level 0

Chance:

5%

The player is sent back to Level 0.

  1. Lost In The Void

Chance:

1%

The player is sent to the Void dimension.

While there:

no void damage

no terrain

endless falling

The player remains there until another system releases them.

Level Generation

Generated areas should be created around active players.

The plugin should avoid generating the entire dimension.

Generation should:

create rooms around players

unload distant generated areas when possible

preserve already explored areas

Level 0 Generation

Level 0 uses a random room generation system.

Features:

yellow corridor rooms

randomly connected rooms

random walls

props

occasional sealed areas

Rooms are generated from:

Level0/

Level 0 Dark Areas

Level 0 contains special areas called Dark Areas.

A Dark Area occurs when part of Level 0 becomes sealed away from the main generated Backrooms.

Characteristics:

no lighting

different room pool

separated from normal Level 0 generation

Folder:

Level0/DarkRooms/

Dark Areas use their own:

room pool

prop pool

entity pool

sounds

The plugin should treat them as separate generation zones.

Players may need to mine through walls to access them.

Pool Rooms Generation

Pool Rooms use a Wave Function Collapse style generation system.

The generator must create:

winding corridors

connected pools

large open rooms

intersections

The system should support larger rooms.

Example folder:

PoolRooms/ PoolRooms/Big/

Large rooms have configurable weights.

Entity System Overview

Each Backrooms level can have entities.

Entities support:

custom models

custom animations

custom sounds

resource pack integration

Models and animations are handled through a resource pack.

Each entity has:

spawn rules

AI type

sounds

animations

variants

Entity Spawn Rules

Entities must never spawn:

in the player's field of view

directly visible to the player

The plugin should search for valid hidden spawn locations.

Entities should not appear instantly in front of players.

Backrooms Plugin Specification (Paper 26.2)

Part 3/4

Level 0 Two-Layer System

Level 0 is composed of two separate generated layers:

Top Layer

Bottom Layer

Both layers generate at the same time.

Each layer has its own:

room pool

prop pool

entity pool

generation rules

The two layers are different and do not mirror each other.

Dark Areas

Level 0 can contain special separated areas called Dark Areas.

Dark Areas are sections of Level 0 that are disconnected from normal generation.

They use their own pools:

Level0/ ├── Normal/ │ └── DarkRooms/

Dark Areas have:

separate room pools

separate prop pools

separate entity pools

separate sound pools

Dark Area Generation

Dark Areas are sealed away from the rest of Level 0.

The plugin must generate a wall to separate  them from the normal level 0 using an NBT structure.

Example:

Level0/wall.nbt

Players must mine through this wall to enter.

Dark Area Bottom Layer

The Level 0 bottom layer does not generate underneath Dark Areas.

Instead, the space underneath is blocked using the wall NBT structure for the bottom layer.

There is no accessible bottom-layer Dark Area, instead there is just nothing

Universal Void System

The plugin must detect when players enter the void of any custom dimension.

This applies to:

Level 0

PoolRooms

other Backrooms levels/dimensions

When a player enters the void:

They are sent to the Void dimension.

The void transition begins.

The player follows the same logic as entering a Backrooms noclip block.

Void Dimension

The Void dimension is used as a transition area.

Properties:

black sky

no terrain

no void damage

player continuously falls

The player stays there for:

0-30 seconds

before being sent to their destination.

Entity System

Backrooms entities are custom entities controlled by the plugin.

They support:

custom models

custom animations

custom sounds

resource pack integration

Each entity has:

AI type

model

animations

sounds

stats

spawn rules

Entity Spawning Rules

Entities must never use Minecraft natural spawning.

They only appear through:

configured entity pools

room generation

events

admin commands

Entity Persistence

All Backrooms entities are persistent.

They do not naturally despawn.

They can only disappear through:

their own AI behavior

being removed by commands

configured mechanics

Admins can manually spawn every entity using custom commands.

Example:

/backrooms entity spawn <entity_ai> <entity_model>

Entity Visibility Rules

Entities must never spawn:

inside the player's field of view

directly where the player is looking

The plugin must find a hidden valid spawn location.

AI System

Entities use reusable AI systems.

Different entities can share the same AI while having different:

models

sounds

animations

stats

The system must allow adding new AI types later.

AI Type 1: Stalker

Behavior:

watches players from far away

gets closer with every encounter

slowly increases its progression

When it reaches a configured distance:

it starts chasing the player

it becomes extremely fast

If the player sees it:

the entity disappears after 0.5 seconds

its progression resets

AI Type 2: Camera

Behavior:

cannot detect completely still players

detects movement

detects sounds

All sounds attract it.

Examples:

walking

breaking blocks

throwing snowballs

Players can distract it.

When not being looked at:

it has a chance to disappear

Default:

1/1000 chance per tick

AI Type 3: Reverse Angel

Behavior:

moves when the player looks at it

freezes when the player does not look at it

Uses line-of-sight detection.

AI Type 4: Violent

Behavior:

immediately attacks players when detected

constantly chases them

Each instance has randomized:

speed

damage

aggression

AI Type 5: Fly

The Fly entity is attracted to light.

Behavior:

stays in bright areas

avoids darkness normally

When:

it enters a dark area

a player gets too close

it becomes hostile.

The entity can use custom models and animations.

AI Type 6: Skin Walker

The Skin Walker is a unique entity.

It only appears if multiple players have joined the server before.

Player Skin Copying

The Skin Walker can copy the skin of any player that has previously joined the server.

Requirements:

the player does not need to currently be online

the player only needs to have joined before

It can copy:

username

player skin

Player Form

In its player form:

it behaves similarly to a normal player

it can walk around naturally

lights near it randomly disappear

It waits for a good opportunity.

When a player is:

alone

isolated

in a dead end

it attacks.

Creature Form

The Skin Walker also has a creature form.

This form uses:

a player model

a configurable custom skin

This form is always hostile.

Killing Behavior

When the Skin Walker kills a player:

it takes that player's skin

it takes that player's username

it uses them for its next attack

Rules:

only one Skin Walker instance can exist at once

after killing a player, it enters a cooldown

AI Type 7: Living Darkness

Living Darkness is not a normal entity.

It is a moving dangerous area.

It appears as an extremely dark zone inside level 0.

Living Darkness Behavior

Living Darkness:

moves around rooms

uses a custom model/effect to make it look like a Moving dark area. Its just a circle of darkness able to move around and not affected by light. The light in it is set to -1

can teleport anywhere covered by darkness

It starts small (only a few blocks radius)

Every time it absorbs a player:

its size increases

It has a maximum size cap.

Player Absorption

When a player enters Living Darkness:

they are absorbed

they are sent to a configured room

The destination room is set in the config using coordinates.

The room exists at the same coordinates in every Backrooms dimension.

Survival Escape

Players trapped inside Living Darkness must survive:

10 minutes

After surviving:

they are returned to their previous location

Growth Reduction

If Living Darkness does not absorb a player for:

20  minutes

its size decreases by one player.

Entity Interaction

Living Darkness also works with entities.

If an entity enters it:

the entity can be absorbed

the same teleport rules apply

Leaving Effects

When leaving Living Darkness, players receive:

Hunger set to 0

Darkness effect for 2 minutes

Slowness effect for 2 minutes

Additional effect:

Nearby lights turn off.

Rules:

lights around the player turn off for 2 minutes

lights return after 10 seconds if they are no longer near the player

Living Darkness Attack

The entity inside Living Darkness:

uses a custom model

teleports through dark areas

attacks quickly

has an attack cooldown

It cannot move through lit areas.

Admins can get spawn eggs for each entity through this command: /backrooms give <player> <entity_ai_name> <entity_model> The entity model is from the resource pack. For entities like the skinwalker and living darkness, it doesnt have any effect. Every argument must support tab completion.

Backrooms Plugin Specification (Paper 26.2)

Part 4/4

---

Configuration System

Almost every feature of the plugin must be configurable.

The goal is that new content can be added without modifying Java code.

---

Layer Registration

Every Backrooms level is registered inside the config.

Example:

yaml
levels:

  level0:

    world: "level0"

  poolrooms:

    world: "poolrooms"

  hotel:

    world: "hotel"

When the plugin starts:

* every listed level automatically gets its own world * if the world does not exist, it is created * new levels can be added simply by adding them to the config file *A new config file for this world is created

New worlds are initially empty until rooms are added.

---

Generation Pools

Every level has configurable generation pools.

Example:

yaml
level0:

  rooms:

  props:

  entities:

  music:

  ambience:

  darkRooms:

The plugin automatically loads every NBT file from the configured folders.

---

Room Weight System

Every room has a configurable generation weight.

Default weight:

weight: 10

Higher values increase the probability of the room generating.

Example:

yaml
Office/Lobby.nbt:

  weight: 30

level0/DeadEnd.nbt:

  weight: 5

level0/bottom/storage.nbt:

  weight: 15

Rooms without an explicit weight set in weightconfig (other config file) automatically use 10.

---

Configurable Lighting

Minecraft's normal lighting engine must still be used.

However, the plugin must override the minimum ambient light value.

Example:

yaml
lighting:

  base: -1

This is set in each layer's config. If it isnt there, it uses minecraft's default.

Possible values:

yaml
entities:

- stalker

- camera

- fly

Those are specified in each layer's config file. Each layer has a different config file

The plugin should modify minecraft's normal  lighting instead of replacing its entire lighting system.

Different levels may use different base lighting values.

---

Music System

Every level has its own music pool.

Music should:

* play randomly * support weighted chances * fade in and out * stop when changing dimensions

---

Ambient Sound System

Every level also has ambient sounds.

Use vanilla Minecraft sounds if the player doesn't have the resourcepack.

Examples:

* fluorescent buzz * dripping water * distant footsteps * electrical hum * ventilation * distant metal noises

Ambient sounds should:

* play randomly * have configurable delays * support positional sounds

---

Prop System

Props generate independently from rooms.

Props are generated by Jigsaw blocks spawning in rooms Each level has its own prop pool.

Props may include:

* furniture * pipes * broken lights * shelves * boxes * signs * decorations

---

Entity Pools

Every level has its own entity pool.

Example:

yaml
darkAreas:

  enabled: true

  roomPool:

  entityPool:

  musicPool:

  ambiencePool:

  entitySpawnMultiplier: 3.0

Each entity has configurable:

* spawn chance * minimum distance from players * maximum amount * cooldown * spawn conditions * model * texture

The entities config are in a separate config file. ---

Dark Area Config

Dark Areas have independent settings.

Example:

yaml
livingDarkness:

  model:

  texture:

  enabled: true

  maxSize: 20

  shrinkTime: 20m

  survivalTime: 10m

  roomCoordinates:

---

Living Darkness Config

Everything about Living Darkness must be configurable.

Example:

yaml
skinWalker:

  model:

  texture:

  enabled: true

  cooldown: 30m

  creatureSkin:

---

Skin Walker Config

Example:

yaml
stalker:

  model:

  texture:

  chaseDistance:

  disappearDelay:

camera:

  model:

  texture:

  hearingRadius:

  despawnChance:

violent:

  model:

  texture:

  speed:

  damage:

---

AI Configuration

Every AI type has its own configuration.

Example:

text
/backrooms reload

/backrooms tp <level>

/backrooms entity spawn <entity>

/backrooms entity removeall

/backrooms room spawn <room>

/backrooms prop spawn <prop>

/backrooms music play <track>

/backrooms ambience play <sound>

/backrooms darkness spawn

/backrooms darkness remove

/backrooms noclip give

/backrooms debug on

/backrooms debug off

/backrooms debug rooms

/backrooms debug entities

/backrooms debug lighting

/backrooms debug generation

/backrooms generate <level>

/backrooms regenerate

/backrooms void

/backrooms structure spawn <structure>

/backrooms event start <event>

/backrooms event stop <event>

No AI values should be hardcoded.

---

Resource Pack Support

The plugin must support a server resource pack.

The resource pack is used for:

* custom models * animations * textures * sounds * music

Everything should continue working if new assets are added later.

---

Custom Models

Entities support custom models.

Custom models should be assignable through the config.

---

Animation System

Entities support multiple animations.

Examples:

* idle * walk * run * attack * crouch * inspect * death

Animations are used automatically by the AIs in the right contexts.

---

Admin Commands

The plugin must include extensive testing commands.

Examples:

code

...

-10

-5

-2

-1

0 (normal Minecraft)

1+

---

Debug Mode

Debug mode should display information such as:

* current room * room coordinates * generation seed * entity count * loaded rooms * loaded chunks * current level * light value * current ambient sound * current music * AI state of nearby entities

---

Performance Requirements

The generation system must remain efficient even for infinite worlds.

Requirements:

* generate rooms only near players * cache frequently used NBT files * reuse loaded structures when possible * keep memory usage stable during long sessions

---

Multiplayer Requirements

All systems must fully support multiplayer.

This includes:

* independent room discovery * synchronized entity AI * synchronized sounds * synchronized lighting changes * synchronized Living Darkness behavior * synchronized Skin Walker state * synchronized generation * seamless dimension transitions for every player independently

The plugin must remain stable with multiple players exploring different Backrooms levels simultaneously.

Kodari AI
KodariJul 20 at 10:09 pm 19
BackroomsEchoes
BackroomsEchoes creates configurable, multiplayer Backrooms dimensions for Paper servers. It manages level worlds, active-area room generation, weighted NBT room and prop pools, noclip zones, Void-based transitions, ambient audio, configurable lighting metadata, persistent custom entities, and admin tools. Levels, transitions, sounds, entity pools, room weights, and gameplay rules are defined through YAML so administrators can expand the experience without changing code.
  • Establish the Paper plugin build, metadata, and default configuration.

  • Build configurable level, world, room-pool, and active-generation services.

  • Implement noclip blocks, Void transitions, ambient playback, and Backrooms entity persistence.

  • Add the /backrooms administration command with reload, teleport, spawning, debugging, and noclip-wand support.

D

Here are some backrooms levels to add to the plugins. You may add new entities for those based on the wiki's pages, using similar behaviour and replacements if needed. If you make new generators or ais, add them to the possible ones i can use in the config file so i can reuse them for future entities/levels.

Level 0.01 — "The Exit?"

Layout / Generation

* A single seemingly endless hallway with Level 0 wallpaper and carpet. * Every long distance, the hallway turns 90° and repeats itself. * The further the player travels, the environment becomes more damaged:

* broken lights   * damaged walls   * exposed pipes   * increasing fog * The plugin can implement this using several hallway variants chosen based on total distance traveled. ([Backrooms][1])

Entities

* No real entities. * Hallucinations make players think they see people or exits. * For gameplay this can be simulated with fake sounds, particles or fake entity renderings visible only to one player. ([Backrooms][1])

Special Effects

* Players cannot die from hunger. * Players cannot die from dehydration (irrelevant in Minecraft). * Visual hallucinations increase over time. * Hot humid atmosphere. * Colors slowly become desaturated. ([Backrooms][1])

Entrances

* Rare flickering "EXIT" door in Level 0. * Very small chance when noclipping from Level 0. * Rare fire exits in some levels. ([Backrooms][1])

Exits

* Rare noclip back to Level 0. * Falling through floor holes into the Void. * Rare special exits to other levels. ([Backrooms][1])

---

Level 0.02 — "Kenophobia"

Layout / Generation

* Huge empty Level 0 rooms. * Extremely large open spaces with very little furniture. * Long uninterrupted sightlines. * Sparse props.

Entities

* Very few entities. * Isolation is the main danger.

Special Effects

* Strong paranoia. * Feeling of being watched. * Fear of empty spaces. * Occasional distant sounds.

Entrances

* Rare noclip from Level 0.

Exits

* Random noclip. * Rare transition rooms.

---

Level 0.1 — "Deep Emptiness"

Layout / Generation

* One gigantic hallway. * Countless doors line both sides. * Most doors lead to ordinary Level 0 rooms. * Some storage rooms contain supplies such as Almond Water, batteries and other loot. ([Backrooms][2])

Entities

* Few entities normally. * Unknown creatures may appear deeper into the hallway.

Special Effects

* Phones emit static. * Static noises may attract nearby entities. * Increasing psychological stress as players travel farther. ([Backrooms][2])

Entrances

* Rare noclip from Level 0.

Exits

* Noclip. * Random level transitions.

---

Level 0.7 — "Claustrophobia"

Layout / Generation

* Extremely narrow corridors. * Tight passages. * Low ceilings. * Small rooms connected by cramped hallways.

Generation should prioritize:

* 1-block-wide corridors * low ceilings * dead ends * cramped intersections. ([Backrooms][3])

Entities

* Mostly the same entities as Level 0.

Special Effects

* Constant feeling of confinement. * Reduced visibility. * Frequent dead ends.

Entrances

* Rare Level 0 transition.

Exits

* Random noclip.

---

Level 0.8 — "Inundation"

Layout / Generation

* Flooded Level 0. * Water covers many rooms. * Water depth varies from shallow puddles to fully submerged corridors. * Dry rooms still exist but are uncommon. ([Backrooms][3])

Entities

* Water-based entities. * Drowned-like custom entities. * Aquatic creatures.

Special Effects

* Swimming sections. * Reduced movement speed. * Limited visibility underwater. * Players may need air pockets.

Entrances

* Rare transition from Level 0.

Exits

* Noclip. * Rare transition rooms.

---

Red Rooms

Layout / Generation

* Extremely rare rooms replacing normal Level 0 rooms. * Entirely covered with dark red wallpaper. * Dim red lighting. * Silent atmosphere. * Usually consist of interconnected corridors and rooms rather than a full separate level. ([Backrooms][3])

Entities

* Usually much more dangerous than ordinary Level 0. * Can contain stronger or rarer entity spawns.

Special Effects

* Red ambient lighting. * Silence or muffled sounds. * Increased paranoia. * Higher entity spawn rates.

Entrances

* Extremely rare generation inside Level 0.

Exits

* Walking back into normal Level 0 rooms. * Rare noclip transitions.

Kodari AI
KodariJul 20 at 10:27 pm 122
  1. Add Level 0.01’s distance-scaled looping hallways, hallucinations, survival rules, and transitions.

  2. Add Level 0.02’s vast sparse rooms and paranoia effects.

  3. Add Level 0.1’s door-lined deep hallway, loot storage rooms, and static pressure.

  4. Add Levels 0.7 and 0.8 with their cramped and flooded generation/effects.

  5. Add Red Rooms as rare dangerous Level 0 replacements.

  6. Register every new generator and AI/effect in the existing configuration system for reuse.

  1. Level 0.01: add a selectable endless_hallway generator, configure its world and transition route, and apply its hallway/fog/hallucination rules.

  1. Level 0.01: completed the core implementation; refining its hallway route and player-only fog/hallucinations before moving to Level 0.02.2. Level 0.02: adding the reusable kenophobia generator and its open-space paranoia effect.

  1. Level 0.1: adding the reusable deep hallway generator, storage chest population, and static interference effect.

  1. Level 0.1: completing its supply-storage population now; the generator and static effect are already registered.

  1. Level 0.1: complete — deep_emptiness is selectable, generates the door-lined hall with rare Almond Water/redstone storage chests, and is reachable from Level 0.

  1. Levels 0.7 and 0.8: adding reusable claustrophobic and flooded-room generation, plus their visibility and aquatic pressure effects.

  1. Red Rooms: adding rare Level 0 replacements with per-room red/silence effects and a stronger Red Room entity profile.

  1. Red Rooms: implementing the rare replacement logic and player-local red/silent atmosphere; Red Room entity profiles remain selectable in config.4. Levels 0.7 and 0.8: completing the registered generator implementations.

  1. Red Rooms: finalizing their rare Level 0 generator route and suppressing configured ambience while a player stands inside one.

  1. Red Rooms: increasing their effective danger by activating level-configured entity pools, with Red Rooms selecting the stronger red_stalker profile.

Implemented all requested Backrooms content.

  • Levels 0.01, 0.02, 0.1, 0.7, and 0.8: added configured worlds, transitions from Level 0, dedicated generators, ambience, effects, and appropriate entity pools.

  • Reusable generators: endless_hallway, kenophobia, deep_emptiness, claustrophobia, inundation, and level0 are registered in config.yml.

  • Reusable effects/AIs: added hallucinations, humidity, distance fog, void sickness, static, claustrophobia, water pressure, and Red Room effects; configured drowned_wanderer and red_stalker.

  • Red Rooms: Level 0 now has a configurable generators.level0.red-rooms.chance, generates rare red hallway replacements, suppresses ambient audio inside them, applies the red atmosphere, and spawns the stronger Red Stalker profile.

  • Level 0.1 loot: rare storage sections populate chests with Almond Water and battery items.

Delete/recreate an already-existing backrooms_level0, backrooms_level001, backrooms_level002, backrooms_level01, backrooms_level007, or backrooms_level008 world folder before starting the server if you want its new chunk generator applied to existing worlds.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
24 2,017
src/main/java/com/kodari/backroomsechoes/BackroomsEchoesPlugin.java
package com.kodari.backroomsechoes;

import com.kodari.backroomsechoes.command.BackroomsCommand;
import com.kodari.backroomsechoes.config.ConfigurationManager;
import com.kodari.backroomsechoes.effect.LevelEffectManager;
import com.kodari.backroomsechoes.entity.BackroomsEntityManager;
import com.kodari.backroomsechoes.generation.GenerationManager;
import com.kodari.backroomsechoes.level.LevelManager;
import com.kodari.backroomsechoes.listener.BackroomsListener;
import com.kodari.backroomsechoes.noclip.NoclipManager;
import com.kodari.backroomsechoes.sound.AmbientSoundManager;
import com.kodari.backroomsechoes.transition.TransitionManager;
import lombok.Getter;
import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class BackroomsEchoesPlugin extends JavaPlugin {
    private ConfigurationManager configurationManager;
    private LevelManager levelManager;
    private GenerationManager generationManager;
    private NoclipManager noclipManager;
    private TransitionManager transitionManager;
    private AmbientSoundManager ambientSoundManager;
    private BackroomsEntityManager entityManager;
    private LevelEffectManager levelEffectManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        configurationManager = new ConfigurationManager(this);
        configurationManager.reload();

        levelManager = new LevelManager(this);
        levelManager.createConfiguredWorlds();

        generationManager = new GenerationManager(this);
        noclipManager = new NoclipManager(this);
        transitionManager = new TransitionManager(this);
        ambientSoundManager = new AmbientSoundManager(this);
        entityManager = new BackroomsEntityManager(this);
        levelEffectManager = new LevelEffectManager(this);

        getServer().getPluginManager().registerEvents(new BackroomsListener(this), this);
        getServer().getPluginManager().registerEvents(levelEffectManager, this);

        BackroomsCommand command = new BackroomsCommand(this);
        PluginCommand pluginCommand = getCommand("backrooms");
        if (pluginCommand != null) {
            pluginCommand.setExecutor(command);
            pluginCommand.setTabCompleter(command);
        }

        generationManager.start();
        ambientSoundManager.start();
        entityManager.start();
        levelEffectManager.start();
        getLogger().info("BackroomsEchoes enabled with " + configurationManager.getLevels().size() + " configured levels.");
    }

    @Override
    public void onDisable() {
        if (generationManager != null) {
            generationManager.stop();
        }
        if (ambientSoundManager != null) {
            ambientSoundManager.stop();
        }
        if (entityManager != null) {
            entityManager.stop();
        }
        if (levelEffectManager != null) {
            levelEffectManager.stop();
        }
        if (noclipManager != null) {
            noclipManager.save();
        }
    }

    public void reloadBackrooms() {
        noclipManager.save();
        configurationManager.reload();
        levelManager.createConfiguredWorlds();
        ambientSoundManager.resetCooldowns();
        getLogger().info("BackroomsEchoes configuration reloaded.");
    }
}