Package-level declarations

Types

Link copied to clipboard
class DeterministicClock(startEpochMillis: Long = 0) : PlatformClock

Deterministic clock for tests and fake servers.

Link copied to clipboard

Minimal command bridge for the fake platform.

Link copied to clipboard
class FakePlatform(val clock: DeterministicClock = DeterministicClock(), val schedulerHooks: FakeSchedulerHooks = FakeSchedulerHooks(clock), val commandBridge: FakeCommandBridge = FakeCommandBridge()) : Platform

Fake platform implementation for tests and demos.

Link copied to clipboard
class FakePlayer(val name: String, permissions: MutableSet<String>) : CommandSender

Minimal fake player.

Link copied to clipboard

Fully controllable scheduler hooks backed by a DeterministicClock.

Link copied to clipboard
class FakeServer(val platform: FakePlatform = FakePlatform())

Fully controllable fake server runtime.

Link copied to clipboard
data class FakeWorld(val id: String, val name: String = id)

Minimal fake world.