Files
Stargate/stargate-paper/src/main/resources/config.yml
T
Michael Burgess c99f4c9f85 Auto-select chevron slots instead of requiring a distinct unlit material
Chevrons no longer need to be built out of a special block - the plugin
picks gate.chevron-count frame blocks evenly spaced around the scanned
ring and remembers their resting material, so a chevron can rest as
plain obsidian (matching the rest of the frame) and only reveal itself
by swapping to gate.chevron-lit-material while dialing/open. Restoring
on close now puts back the original block instead of a fixed material,
so alternating decorative frames (e.g. obsidian/gilded blackstone) are
preserved exactly.
2026-08-09 10:20:14 -04:00

59 lines
2.0 KiB
YAML

# Stargate configuration
# Unique id for THIS server. Used to tag gates created here and to route cross-server
# dials through the proxy. Must be unique across your network and match the server's
# name as configured in the Velocity/Bungee proxy config.
server-id: "server1"
storage:
# sqlite -> single server, file-based, zero setup
# mysql -> required if you want gates to be visible/dialable across multiple
# backend servers sharing this same database
type: sqlite
mysql:
host: localhost
port: 3306
database: stargate
username: stargate
password: ""
table-prefix: "stargate_"
# Enables sending players to another backend server when they dial a gate whose
# server-id differs from this one. Requires the stargate-velocity or stargate-bungee
# companion plugin installed on the proxy, and storage.type: mysql so all servers
# share gate data.
cross-server:
enabled: false
gate:
# Any of these materials count as the decorative frame ring. Mix and match to match
# your build (the default matches an obsidian/gold-block/birch-planks arch).
frame-materials:
- OBSIDIAN
- GOLD_BLOCK
- GILDED_BLACKSTONE
- BIRCH_PLANKS
- OAK_PLANKS
# Chevrons are NOT a separate material you have to place - the plugin automatically
# picks this many frame blocks, evenly spaced around the ring, and swaps them to
# chevron-lit-material while dialing/open, then restores whatever they looked like
# at rest when the gate closes. So a chevron can rest as plain obsidian and only
# stand out once it lights up.
chevron-lit-material: GILDED_BLACKSTONE
chevron-count: 6
# Material poured into the interior (the "event horizon") while the gate is open.
iris-material: WATER
max-frame-blocks: 300
max-iris-blocks: 200
min-frame-blocks: 8
dialing:
# Seconds the gate stays open (iris filled) before auto-closing if nobody walks through.
open-seconds: 10
# Delay in ticks between lighting each chevron during the dial animation.
chevron-tick-delay: 4
play-sounds: true
network:
default-network: "main"