Skip to content

World blacklist: affect all worlds by default, ExcludedWorlds config#1

Open
nectariepopa20 wants to merge 1 commit intomrmag518:masterfrom
nectariepopa20:master
Open

World blacklist: affect all worlds by default, ExcludedWorlds config#1
nectariepopa20 wants to merge 1 commit intomrmag518:masterfrom
nectariepopa20:master

Conversation

@nectariepopa20
Copy link
Copy Markdown

Summary

  • Plugin now targets all worlds by default; the config acts as a blacklist (worlds to exclude) instead of a whitelist.
  • Replaced AffectedWorlds with ExcludedWorlds: list worlds where join/quit/kick/death messages should not be hidden. Empty list = all worlds affected.
  • Legacy AffectedWorlds is migrated automatically on load (excluded = all worlds − affected).
  • Added Maven build for Spigot 1.21.11 (pom.xml).

Config

  • Before (whitelist): AffectedWorlds: [world1, world2] → only world1 and world2 were affected.
  • After (blacklist): ExcludedWorlds: [world_lobby] → all worlds except world_lobby are affected. Empty ExcludedWorlds = all worlds.

Build

mvn clean package — compiles against Spigot 1.21.11-R0.2-SNAPSHOT.

Made with Cursor

- All worlds are now affected by default (join/quit/kick/death hiding).
- Replaced AffectedWorlds (whitelist) with ExcludedWorlds (blacklist).
- Empty ExcludedWorlds = all worlds; list worlds to exclude.
- Legacy AffectedWorlds config is migrated to ExcludedWorlds on load.
- Built for Spigot 1.21.11 (pom.xml, Maven).

Co-authored-by: Cursor <cursoragent@cursor.com>
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