▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/Contracts

Contracts

A digital contract system between players: sales, delivery, payment, resource gathering, protection, bounty, and services, with secure Vault-backed escrow.

Оцените первым
6
1

A digital contract system between players — sell, deliver, pay, gather resources, protect, hunt bounties, or offer services, all backed by a secure Vault escrow.

Contracts lets players make binding agreements with each other: define an objective and a reward, set a deadline, and let the plugin automatically track progress and pay out. No more "trust me bro" trades.

✨ Features

  • 7 contract types: Sale, Delivery, Payment, Resource Gathering, Protection, Bounty, and Service.
  • Guided chat-based creation wizard — no clunky forms, just answer a few prompts in chat.
  • One-click acceptance from an in-game GUI or via command.
  • Automatic objective tracking:
    • Sale / Delivery / Resource Gathering → completes when the required items are handed over.
    • Bounty → completes when the target is eliminated.
    • Protection → completes if the target survives the agreed duration; fails instantly if they die early.
    • Service → completed manually via API/admin for work that can't be auto-verified.
  • Secure Vault-backed escrow: the reward is withheld from the creator the moment the contract is created, and released only on completion, or refunded on failure/cancellation.
  • Full GUI: Available contracts, My contracts, Active, Completed, and Failed — paginated, with a detailed view for each contract.
  • Automatic expiration: a configurable periodic task fails expired contracts and refunds the escrow automatically.
  • Anti-duplication safe by design: idempotent transaction log, per-contract locking, and safe handling of logout, death, restarts, and crashes.
  • SQLite storage, no external database required.
  • Public developer API with dedicated Bukkit events for other plugins to hook into.

🧾 Contract types at a glance

TypeVerification
SaleAutomatic (item delivery)
DeliveryAutomatic (item delivery)
PaymentSemi-automatic (Vault transfer on acceptance)
Resource GatheringAutomatic (item delivery)
ProtectionAutomatic (periodic task + death event)
BountyAutomatic (player death event)
ServiceManual (API / admin confirmation)

🖥️ Commands

CommandDescriptionPermission
/contractsOpen the main menucontracts.use
/contracts create <type>Start the guided creation wizardcontracts.create
/contracts listBrowse available contractscontracts.use
/contracts mineContracts you createdcontracts.use
/contracts activeContracts you're involved incontracts.use
/contracts completedCompleted contractscontracts.use
/contracts failedFailed / cancelled contractscontracts.use
/contracts accept <id>Accept a contractcontracts.use
/contracts cancel <id>Cancel your own contractcontracts.use
/contracts info <id>View contract detailscontracts.use
/contractsadmin reloadReload config & messagescontracts.admin
/contractsadmin delete <id>Force-delete a contract (auto-refunds escrow)contracts.admin

🔑 Permissions

  • contracts.* — all permissions (default: op)
  • contracts.use — browse, accept, view info, cancel own contracts (default: true)
  • contracts.create — create new contracts (default: true)
  • contracts.admin — administrative commands (default: op)

🔌 Dependencies

  • Vault (soft-dependency) — required only for money-based rewards. Item-only contracts work without it.
  • Any Vault-compatible economy plugin (e.g. EssentialsX) for money rewards.
  • No external database — runs on a bundled, shaded SQLite driver.

🛠️ Developer API

Contracts exposes a public ContractsAPI via Bukkit's ServicesManager, plus dedicated events (ContractCreateEvent, ContractAcceptEvent, ContractProgressEvent, ContractCompleteEvent, ContractFailEvent, ContractCancelEvent) so other plugins can create contracts programmatically, listen for state changes, or integrate custom verification systems — perfect for SERVICE-type contracts.

⚙️ Configuration highlights

  • Max active/accepted contracts per player (anti-spam)
  • Min/max contract duration
  • Max participants per contract
  • Expiration check interval
  • Whether cancelling an already-accepted contract is allowed
  • Fully customizable, colour-coded messages

📋 Roadmap

  • PlaceholderAPI support
  • Per-contract-type permission nodes
  • Web dashboard for server admins
Партнёрский материал

Сервер для плагина Contracts - как у профи

Плагин Contracts создан для серверов: на своём сервере вы настраиваете его под себя и решаете, кому играть. Создать сервер с плагином Contracts для друзей можно за пару минут - BungeeHost всё уже подготовил.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.20.x

Платформы

Поддерживаемые окружения

Сервер

Ссылки


Детали

Лицензия:
Опубликован:3 недели назад
Обновлён:3 недели назад
Главная