Economy & Expiration

Vault or item economy, member slot upgrades, and team expiration with reminders.

Economy

Economy controls paid actions: creating a team, buying member slots, and renewing expiration.

economy:
  enable: true
  economy-type: ITEMS
  cost-for-create-team: 100.0
  cost-for-one-expiration-day: 100.0
  default-members-slots: 10
  maximum-members-slots: 20
  cost-for-one-slot-of-members: 100.0

Economy Types

TypeRequirementsBehavior
ITEMSUses a configured ItemStack as currency
VAULTVault + economy pluginWithdraws money via Vault

ITEMS mode

Configure economy-item (material, display name, lore). Admins can distribute the item with:

/teamadmin economyItem <amount>
ActionCost configWhere
Create teamcost-for-create-team/team create
Extra member slotcost-for-one-slot-of-membersDashboard UPGRADE_MEMBERS
+1 day expirationcost-for-one-expiration-dayDashboard EXPIRATION_UPDATE

Member Slots

OptionDefaultDescription
default-members-slots10Slots when a team is created
maximum-members-slots20Hard cap for upgrades

Invites and accepts fail when the team is full.

When economy.enable is false, paid GUI actions are hidden/skipped and creation is free (no economy charge).

Expiration

expiration:
  enable: true
  default-expiration-hours: 7
  maximum-expiration-hours: 125
OptionDescription
enableRun expiration checks and allow time-limited teams
default-expiration-hoursInitial validity after creation
maximum-expiration-hoursMaximum total lifespan after renewals

When enabled:

  • New teams receive expiresAt = now + default-expiration-hours
  • TeamsExpirationCheckTask removes or invalidates expired teams
  • Players renew via the dashboard (EXPIRATION_UPDATE) for one day per purchase, up to the maximum

Reminders

reminders:
  remind-on-join: true
  remind-periodically: true
  send-reminders-to-all-members: false
  reminders-period: 60
  minimum-time-to-remind: 1
  minimum-time-unit: DAYS
OptionDescription
remind-on-joinNotify on player join when the team is near expiry
remind-periodicallyBackground reminder task
send-reminders-to-all-membersfalse = leader only
reminders-periodMinutes between periodic runs
minimum-time-to-remind + minimum-time-unitStart reminding when remaining time is at or below this threshold

minimum-time-unit accepts: DAYS, HOURS, MINUTES, SECONDS.

Free casual teams

economy:
  enable: false
expiration:
  enable: false
economy:
  enable: true
  economy-type: VAULT
  cost-for-create-team: 5000
  cost-for-one-expiration-day: 500
  cost-for-one-slot-of-members: 1000
expiration:
  enable: true
  default-expiration-hours: 168   # 7 days
  maximum-expiration-hours: 720  # 30 days
reminders:
  remind-on-join: true
  remind-periodically: true
  minimum-time-to-remind: 1
  minimum-time-unit: DAYS