settings.yml
Every setting of settings.yml.
settings.yml holds the logging level, how accounts get their UUIDs, the session policy, and the proxy listeners.
Takesan integer from 0 to 4
Default2
Affectshow much Identica writes to the console
| Value | Writes |
|---|---|
0 | errors only |
1 | warnings and errors |
2 | info, warnings, and errors |
3 | adds debug logging |
4 | adds trace logging |
Use 2 for normal operation and 3 or 4 while you look into a problem.
identity
Danger
Takes"RANDOM", "OFFLINE", or "PREMIUM"
Default"RANDOM"
Affectshow new accounts get their UUID
RANDOM gives each account a new random UUID, OFFLINE the offline-mode UUID of its username, PREMIUM its premium UUID. Existing accounts keep their UUID. See Unique ids before changing it.
Advanced
Takesa positive duration
Default"15m"
Affectshow long a reserved UUID waits for an account to be registered under its username
A reservation made with /identica admin reservation set, with /identica admin clear, or while a registration is in progress expires after this time if nobody registers under the username. Too short, and a slow registration loses its reserved UUID; too long, and abandoned reservations stay around longer.
sessions
Warning
Takes"REPLACE_EXISTING" or "REJECT_NEW"
Default"REPLACE_EXISTING"
Affectswhat happens when an account that has a session logs in from another connection
REPLACE_EXISTING disconnects the earlier connection; REJECT_NEW refuses the new login. Any other value stops the startup with an error that names the accepted values. A provider can use another policy with session.concurrencyPolicy in providers/providers.yml. See Sessions.
level: 2
identity:
uniqueIdMode: "RANDOM"
reservationTtl: "15m"
sessions:
concurrencyPolicy: "REPLACE_EXISTING"listeners
Identica follows the proxy's events to handle joining players. listeners.events lets you change the priority of one of these listeners, for example to run before or after another plugin that handles the same event, or to leave it out.
Advanced
Takesa map keyed by the proxy event's full class name
Affectswhether Identica listens to that event, and with which priority
listeners:
events:
com.velocitypowered.api.event.connection.PreLoginEvent:
register: true
priority: "NORMAL"Warning
Takestrue or false
Affectswhether Identica listens to the event at all
Turning a listener off breaks the part of the login that depends on it. Only do it when another plugin takes over that event's work.
Advanced
Takes"LOWEST", "LOW", "NORMAL", "HIGH", or "HIGHEST"
Default"NORMAL"
Affectswhen Identica's listener runs compared to other plugins' listeners of the same event, in the proxy's own priority order
