Skip to content

feat: add bans, the allow list, the server list entry, tick rate, shutdown and the plugin list to the plugin api - #20

Merged
NaySurGithub merged 1 commit into
mainfrom
feat/administration
Nov 14, 2026
Merged

NaySurGithub merged 1 commit into
mainfrom
feat/administration

Conversation

@NaySurGithub

Copy link
Copy Markdown
Contributor

Batch 8 of the plugin API additions.

Depends on the batch 7 PR (#19); merge that one first. The base branch is the batch 7 branch so the diff only shows this batch.

What it adds

  • Bans by name and address (serverBan, serverPardon, serverIsBanned, serverBanCount/serverBannedName, and the Ip variants), kicking the players concerned like /ban and /ban-ip.
  • Allow list: add, remove (kicks the players it no longer lets in), list, on/off.
  • Server list entry: serverMotd/serverSetMotd (the server name, not saved to server.properties), serverMaxPlayers/serverSetMaxPlayers.
  • serverTps, serverMillisecondsPerTick, serverShutdown, and the loaded plugins (serverPluginCount/Name, serverPluginVersion, serverPluginEnabled).
  • C++, Java and Wasm bindings, README section.

All functions are appended at the end of FalconServerApi, events numbered after the existing ones (API 1.0.6, bumped by batch 1).

Not added

  • Status request event (changing the MOTD or player count per query): status queries are answered on the transport threads, synchronously; plugins only run on the main thread, so there is no safe place to ask them. setMotd and setMaxPlayers change what every query returns.

Checks

CI of the batch 10 branch (feat/world-events), which contains this one: Linux, Windows (MSVC and MinGW), .NET and Java jobs green; the macOS jobs were cancelled by the runner, as on main.

@NaySurGithub
NaySurGithub merged commit 047b1bd into main Nov 14, 2026
7 of 10 checks passed
@NaySurGithub
NaySurGithub deleted the feat/administration branch November 14, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant