Paper plugin for StellarNet network utilities.
- Random timed announcements
- Clickable announcement links for
store,discord, andwebsite - Configurable announcement prefix from
lang_en.yml - Chat games in Java
- Optional PlaceholderAPI expansion
- Reload command for config and language files
- Runtime:
- Java 21
- Download: Eclipse Temurin / Adoptium
- Paper
1.21.8- Download: Paper Downloads
- Java 21
- Build:
- Gradle wrapper included in this project
- Optional:
- PlaceholderAPI for placeholder support
- Project page: PlaceholderAPI on SpigotMC
- Wiki: PlaceholderAPI Wiki
- PlaceholderAPI for placeholder support
- Build the plugin:
./gradlew.bat build-
Copy the generated jar from
build/libs/into your Paper serverplugins/folder. -
Start the server once to generate:
plugins/StellarNetApp/config.yml
plugins/StellarNetApp/lang_en.yml
-
Edit config and lang files as needed.
-
Reload or restart the server.
Useful links:
./gradlew.bat buildBuilt jar:
build/libs/
/testTests the random announcement message./test chatgameStarts a chat game instantly./reloadReloads config, lang, and restarts plugin schedulers./reload configReloads only config and restarts schedulers./reload langReloads only the language file.
stellarnetapp.admin.teststellarnetapp.admin.reload
Main config:
languageminMinutesmaxMinutesannouncements.links.discordannouncements.links.storeannouncements.links.websiteannouncements.sound.nameannouncements.sound.volumeannouncements.sound.pitchchatgames.enabledchatgames.interval_minuteschatgames.time_limit_secondschatgames.max_numberchatgames.reward_textchatgames.scramble_words
Language file:
announcements_messages.prefixannouncements_messages.hoverannouncements_messages.variants.*.messageschatgames.scramble.messageschatgames.math.messageschatgames.winner.messageschatgames.timeout.messages
Use link tokens inside lang_en.yml:
{LINK:store}
{LINK:discord}
{LINK:website}These names must match keys under:
announcements:
links:
discord: "https://example.com"
store: "https://example.com"
website: "https://example.com"Chat games rotate automatically based on config and currently include:
- Scramble word game
- Math question game
Answers are matched exactly from player chat.
run/plugins/StellarNetApp/contains the active runtime config/lang copies used by the local test server.- If you change only source resource files, rebuild and replace the plugin jar.
- If you want immediate local testing, also update the runtime files or use the reload command.