Second+third review pass (2026-07-10/11): security and completeness fixes, public-release polish

This commit is contained in:
2026-07-11 13:59:33 +01:00
parent fe8dc78d0f
commit bc6e2296c6
34 changed files with 226 additions and 203 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
# ============================================
# Language setting (available: en_US, pt_PT)
language: en_US
language: pt_PT
# Database Configuration
database:
+8
View File
@@ -45,12 +45,16 @@ messages:
claim-empty: "&eYou have no items to claim."
claim-inventory-full: "&cYour inventory is full! Please make space."
claim-all-success: "&aClaimed {count} items!"
claim-items: "&eYou have &6{count}&e item(s) waiting to be claimed. Use /market to claim them."
# Earnings Messages
earnings-withdrawn: "&aWithdrew {amount}! New balance: {balance}"
earnings-empty: "&eYou have no pending earnings."
earnings-balance: "&aYour pending earnings: {amount}"
# Generic
failed: "&cSomething went wrong. Please try again."
# Item Validation
invalid-item: "&cPlease select a valid item."
item-no-longer-available: "&cThe selected item is no longer in your inventory."
@@ -445,4 +449,8 @@ help:
- ""
- "&7&oTip: All actions are done through GUIs!"
- "&7&oJust click on buttons to navigate."
tax-title: "&6Tax Information"
tax-market: "&7Market Tax: &f{tax}%"
tax-auction: "&7Auction Tax: &f{tax}%"
tax-note: "&7Taxes are deducted from seller earnings."
+8
View File
@@ -45,12 +45,16 @@ messages:
claim-empty: "&eNão tens itens para reclamar."
claim-inventory-full: "&cO teu inventário está cheio! Por favor liberta espaço."
claim-all-success: "&aReclamaste {count} itens!"
claim-items: "&eTens &6{count}&e item(ns) por reclamar. Usa /market para os reclamar."
# Mensagens de Ganhos
earnings-withdrawn: "&aLevantaste {amount}! Novo saldo: {balance}"
earnings-empty: "&eNão tens ganhos pendentes."
earnings-balance: "&aOs teus ganhos pendentes: {amount}"
# Genérico
failed: "&cAlgo correu mal. Tenta novamente."
# Validação de Itens
invalid-item: "&cPor favor seleciona um item válido."
item-no-longer-available: "&cO item selecionado já não está no teu inventário."
@@ -445,4 +449,8 @@ help:
- ""
- "&7&oDica: Todas as ações são feitas através de GUIs!"
- "&7&oBasta clicar nos botões para navegar."
tax-title: "&6Informação de Taxas"
tax-market: "&7Taxa do Mercado: &f{tax}%"
tax-auction: "&7Taxa dos Leilões: &f{tax}%"
tax-note: "&7As taxas são deduzidas dos ganhos do vendedor."
+2 -18
View File
@@ -4,7 +4,7 @@ main: pt.henrique.communityMarket.CommunityMarket
api-version: '1.21'
description: A GUI-only marketplace plugin for fixed-price listings and auctions
author: Henrique
website: https://github.com/henrique/CommunityMarket
website: https://github.com/henriquescrrrr/carrageis-communitymarket
# Soft dependencies - plugin will detect and use these if available
softdepend:
@@ -63,21 +63,5 @@ permissions:
default: true
communitymarket.admin:
description: Allows access to admin functions
default: op
children:
communitymarket.admin.viewall: true
communitymarket.admin.remove: true
communitymarket.admin.reload: true
communitymarket.admin.viewall:
description: Allows viewing all listings/auctions
default: op
communitymarket.admin.remove:
description: Allows removing any listing or auction
default: op
communitymarket.admin.reload:
description: Allows reloading configuration
description: Allows access to admin functions (view all, remove listings, reload)
default: op