Minecraft mod adding nations to the game
Find a file
sandrp 2c325e6344
All checks were successful
Build & Publish Mod / build (push) Successful in 6m7s
Release updated nation messages
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-03 09:40:07 +01:00
.forgejo/workflows integradet releases 2026-10-28 08:59:57 +01:00
gradle/wrapper Rename TeamsMod to FishNations, add Gradle wrapper and .gitignore 2026-10-27 22:13:31 +01:00
src Release updated nation messages 2026-11-03 09:40:07 +01:00
.gitignore Rename TeamsMod to FishNations, add Gradle wrapper and .gitignore 2026-10-27 22:13:31 +01:00
build.gradle Move config to config/fishnations/config.json, add /nation reload, and unify metadata 2026-11-01 18:10:32 +01:00
gradle.properties Release updated nation messages 2026-11-03 09:40:07 +01:00
gradlew Rename TeamsMod to FishNations, add Gradle wrapper and .gitignore 2026-10-27 22:13:31 +01:00
gradlew.bat Rename TeamsMod to FishNations, add Gradle wrapper and .gitignore 2026-10-27 22:13:31 +01:00
LICENSE.txt Move config to config/fishnations/config.json, add /nation reload, and unify metadata 2026-11-01 18:10:32 +01:00
README.md Simplify README headings 2026-11-03 08:54:05 +01:00
settings.gradle first commit 2026-10-27 17:48:05 +01:00

FishNations

FishNations is a lightweight Fabric server mod that adds player-governed nations, offline invitation mailboxes, PlaceholderAPI suffix tags, and a public API for shared chunk claims.

100% Server-Side: Players do not need to install this mod on their client to join the server.


Features

  • Nation Management: Players can found nations with a unique name and tag, invite online or offline players, transfer leadership, kick members, or disband their nation.
  • Offline Invitation Mailbox: Invitations and member join notifications are persisted and delivered as interactive chat buttons when players join.
  • Shared Claim Limits: Exposes FishNationsApi so mods like FishClaims can calculate dynamic nation claim limits (baseNationClaims + members * claimsPerMember) and verify shared nation membership.
  • PlaceholderAPI Integration: Provides %fishnations:name%, %fishnations:tag%, and %fishnations:formatted_tag% (also aliased under teams:*).
  • Live Config Reload: Reload tag formatting, name/tag constraints, and claim limits at runtime with /nation reload.

Commands & Permissions

  • /nation — Shows your current nation status or available commands.
  • /nation create <name> <tag> — Creates a new nation.
  • /nation invite <player> — Invites an online or offline player to your nation.
  • /nation accept [tag] / /nation decline [tag] — Accepts or declines an invitation.
  • /nation inbox — Opens your nation invitation mailbox.
  • /nation info — Displays details about your nation.
  • /nation leave — Leaves your current nation.
  • /nation kick <player> — Removes a member from your nation.
  • /nation transfer <player> — Transfers nation leadership to another member.
  • /nation rename <name> / /nation tag <tag> — Updates your nation's name or tag.
  • /nation disband — Disbands your nation.
  • /nation reload — Reloads config/fishnations/config.json (requires fish.nations or OP level 2).

Configuration

Configuration is stored in config/fishnations/config.json:

{
  "nationsPermission": "fish.nations",
  "tagFormat": " [{tag}]",
  "minNameLength": 3,
  "maxNameLength": 24,
  "minTagLength": 2,
  "maxTagLength": 6,
  "baseNationClaims": 20,
  "claimsPerMember": 2
}

License

Licensed under the MIT License.