1.6-BETA
What's new
0Core v1.6 — Changelog
✨ New Feature: Warp System
A fully configurable Warp System has been added to 0Core! Server administrators can create, manage and customise warps, while players can browse available destinations and teleport through commands or a polished, paginated GUI.Commands
| Command | Description |
|---|---|
/warp | Open the Warp GUI. |
/warp <name> | Teleport directly to a specific warp. |
/setwarp <name> | Create a new warp at your current location. |
/delwarp <name> | Delete an existing warp. |
/warp reload | Reload the Warp System configuration and warp files. |
- Tab completion for available warp names.
- Fully configurable command success and error messages.
Warp Permissions
| Permission | Description |
|---|---|
0Core.warp.<name> | Access a specific warp. Automatically generated from the warp name when no custom permission is configured. |
0Core.warp.all | Access all warps, overriding individual warp permissions. |
0Core.warp.admin | Access administrative warp management commands. |
0Core.warp.bypass | Bypass warp cooldowns. |
0Core.warp.bypasscost | Bypass warp costs. Explicitly granted only, making it safe for donator ranks. |
- Players without the required permissions cannot teleport to restricted warps.
- Restricted warps are hidden from the GUI by default.
- Optional setting to display restricted warps with a locked appearance.
Warp GUI
- Fully customisable GUI title, size, slot positions, filler items and pagination navigation buttons.
- Individual warp items with configurable materials, display names, lore, custom model data, enchantments and item flags.
- Configurable interaction sounds.
- Left-click a warp to begin teleportation.
- Automatically reflects added, removed and modified warps.
- Full click protection against item movement, shift-clicking, dragging and number-key swapping.
- All GUI settings configurable through YAML files without requiring code changes.
Individual Warp Configuration
Each warp has its own YAML configuration file, allowing administrators to customise:- Warp name and display name.
- Custom lore and GUI item settings.
- GUI slot position.
- Permission requirements.
- Teleportation costs.
- Enabled or disabled state.
- World-Spawn mode.
0Core.warp.<name> when no custom permission is specified.- World-Spawn Mode: Set
World-Spawn: trueto teleport players to the selected world's spawn point instead of using manually configured coordinates. - Two example warps are included: Spawn (free) and Spawn+ ($10), both using World-Spawn mode.
- Example warps work without requiring additional location setup.
Teleportation System
- Configurable teleport warmup, with a default delay of 3 seconds.
- Customisable countdown messages.
- Optional action bar countdown.
- Optional title and subtitle countdown.
- Configurable teleport start, completion and cancellation sounds.
- Optional teleport cancellation when players move.
- Optional teleport cancellation when players take damage.
- Consistent behaviour across commands and GUI interactions.
- Prevents multiple simultaneous teleport countdowns.
- Automatically cleans up cancelled teleport tasks.
Warp Cooldowns
- Configurable teleport cooldown, with a default of 3 seconds.
- Customisable cooldown messages.
- Cooldowns apply across both commands and GUI interactions.
- Prevents players from bypassing cooldowns by switching between teleport methods.
- Optional cooldown bypass through
0Core.warp.bypass. - Cooldown bypass can be disabled entirely through the configuration.
Warp Costs & Economy (Vault)
- Individual prices configurable for each warp.
- Warp costs displayed directly in the GUI item lore.
- Player balances checked before the teleport countdown starts and again before teleportation completes.
- Players are only charged after a successful teleport.
- No charges for cancelled or failed teleportations.
- Supports free warps and individual cost toggles.
- Customisable insufficient-funds messages.
- Graceful handling of missing economy providers, including clear console warnings.
- Paid warps cannot be used without a valid economy provider.
PlaceholderAPI Integration
- Full PlaceholderAPI support in warp names, lore and messages.
- Supports standard placeholders such as
%player_name%and%vault_eco_balance%. - Internal
%cost-placeholder%displays the formatted cost of the selected warp. - Placeholders refresh whenever the Warp GUI is opened.
- PlaceholderAPI is optional and is not required for core Warp System functionality.
File Structure & Configuration
The Warp System uses its own modular configuration structure:0Core/
└── Features/
└── Warps/
├── warp-config.yml
└── warps/
├── spawn.yml
└── spawn-plus.ymlwarp-config.ymlcontains global settings, including teleport delays, cooldowns, GUI settings, sounds, economy and messages.- The
warps/directory stores individual YAML files for each warp. /setwarpautomatically generates a warp configuration file with sensible default settings./delwarpremoves the selected warp and its configuration file.- Warp locations persist across server restarts.
- Default configuration files are generated automatically without overwriting existing administrator settings.
- Missing worlds and invalid warp locations are handled safely.
- Full configuration support for delays, cooldowns, permissions, costs, GUI layouts, sounds, messages and pagination.
- Supports colour codes and HEX colour formatting.
- The Warp System can be independently enabled or disabled through the configuration.
- Fully integrated into 0Core's modular feature structure.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects