Where I will upload my Kubejs scripts for modpacks I work on.
Feel free to download and upload to ..\minecraft\Instances\Brink Of War\kubejs\server_scripts. For a better runtime use a subfolder in server_scripts with all the .js files in the subfolder.
Open your game OR /reload within the game to enable the scripts
Brink Logistics is a modular logistics framework for Minecraft using KubeJS.
It supports two workflows:
/brinkstationcommands/brinkledgercommands- Fast setup for testing and world building
- Brink Surveyor's Kit
- Player-built contractor offices
- Automatic office registration
- Automatic ledger generation
- Automatic office validation
- Small deliveries
- Cash payouts
- Dynamic ledgers
- Category support
- Large shipments
- Sealed freight crates
- Physical payroll
- Create Wrench crate opening
Generated directly from the contract registry.
Adding a contract to the proper pool automatically makes it available
after: - /reload - Refreshing or regenerating the ledger.
brink_contracts/
├── 00_config.js
├── 01_contracts.js
├── 02_office_api.js
├── 03_util.js
├── 04_inventory.js
├── 05_ledgers.js
├── 06_interactions.js
├── 07_processors.js
├── 08_admin_commands.js
├── 09_surveyor_kit.js
Each contract should define:
- id
- name
- type
- pool
- category
- payout
- required items
Categories are used to automatically group ledger pages.
- Lectern
- Input Chest
- Output Chest
- Cash payout
- Dispatcher Lectern
- Input Chest
- Output Chest
- Sealed Freight Crate payout
- Office API
- Surveyor's Kit workflow
- Automatic ledger insertion
- Automatic office commissioning
- Office refresh tools
- Dynamic office registry
- Build the office.
- Register the office.
- Generate or refresh the ledger.
- Players request contracts.
- Submit cargo.
- Receive payment.
The long-term goal is to keep the system data-driven so adding new offices or contracts requires little or no code changes outside the contract definitions.