🏕️
QuickCamp
  • Getting Started
    • 🏕️Instalation Guide
    • Commands
    • Create Camp Template
      • Linked items
    • GUI Overview
    • Compatibility with other plugins
  • Claim system and protection
  • Configs
  • Need help?
  • Marketplaces
  • Known bugs/issues
Powered by GitBook
On this page
  • config.yml
  • templates.yml
  • camps.yml
  • msg.yml

Configs

This page contains all configs with descriptions to all importatnt sections of the config (read #comment parts).

config.yml

config.yml
# A list of block types that only the camp owner can access.
# Other players will be prevented from opening or interacting with these blocks.
# Add or remove block names as needed.
GoodsProtection:
- BLAST_FURNACE
- FURNACE
- CHEST
- TRAPPED_CHEST
- BARREL
- ANVIL

# The section below will be automatically generated when an item is linked through the GUI.
# It contains all the templates linked to their corresponding items.
LinkedItems:
  # Template for an example item
  example: 
    # The custom display name for the item
    displayedName: §2§lexample
    # The lore (description text) shown when hovering over the item
    Lore:
    - '§7Camp size:'
    - §e5x5
    - ''
    - §8Right click to place
    # The full item configuration (e.g., material, metadata, etc.)
    itemStack:
      ... # Details of the itemStack would go here
    # The metadata that links the template to this item
    PublicBukkitValues: |-
      {
          "quickcamp:camp": "example"
      }

  # Second example template for another item
  example2:
    # Custom display name for this item
    displayedName: §2Test Camp
    # Lore for the item
    Lore:
    - '§6Camp size:'
    - §73x3
    # Full item configuration for this template
    itemStack:
     ... # Details of the itemStack would go here

templates.yml

templates.yml
# Configuration for camp blueprints, responsible for block placement and appearance in the camp GUI.
CampBlueprint:
  # Template name for the camp
  example2:
    # Blueprint defines the blocks to be placed on the ground.
    # The key represents the relative position (block index) in the camp layout.
    # The value represents the type of block to be placed (e.g., TORCH, CHEST, AIR, etc.).
    blueprint:
      '0': TORCH       # Example block at index 0
      '1': CHEST       # Example block at index 1
      '2': FURNACE     # Example block at index 2
      '9': AIR         # Empty space at index 9
      '10': AIR        # Empty space at index 10
      '11': AIR        # Empty space at index 11
      '18': TORCH      # Another torch at index 18
      '19': AIR        # Empty space at index 19
      '20': AIR        # Empty space at index 20
    # Size of the camp. This is for internal use and determines the layout dimensions.
    # Example: size 1 corresponds to a 3x3 layout, size 4 corresponds to a 6x6 layout.
    size: 1

  # Another template for a camp
  example:
    blueprint:
      '0': AIR         # Empty space at index 0
      ...              # Rest of the configurations for this template
      '40': AIR        # Empty space at index 40
    # Size of the camp. Larger number = bigger layout.
    size: 3

camps.yml

camps.yml
# This configuration lists all blocks claimed by players.

# Player UUID (unique identifier for each player)
24s44315-1816-46bf-9bdc-c3125f0sf51s5:
  # Block locations claimed by the player
  - world: world      # Name of the world where the block is located
    x: -518.9666433771107  # X-coordinate of the block
    y: 71.0                # Y-coordinate (height) of the block
    z: 4693.626104574623   # Z-coordinate of the block
    pitch: 34.499935       # Player's head pitch at the time of claim
    yaw: 76.21466          # Player's head yaw at the time of claim

  - world: world      # Another claimed block
    x: -520.9666433771107
    y: 71.0
    z: 4691.626104574623
    pitch: 34.499935
    yaw: 76.21466

... # Additional player block claims go here

msg.yml

# ! Don't remove or modify text surrounded by % !
# Use this color codes to customize messages appearance.
# Black &0    | Dark Blue &1    | Dark Green &2 | Dark Aqua &3
# Dark Red &4 | Dark Purple &5  | Gold &6       | Gray &7
# Dark &8     | Blue &9         | Green &a      | Aqua &b
# Red &c      | Light Purple &d | Yellow &e     | White &f

# Placing camp messages
camp_location: "&aYou have set camp at: &e%location%"
camp_place_reject: "&cYou cannot place camp"
camp_place_limit: "&cYou cannot place more than one camp!"
# Camp remove
no_camp: "&cYou don't have any camp to remove!"
camp_removed: "&aYour camp been removed!"

# Interaction cancel messages
not_an_owner: "&7Sorry! You not an owner!"
harm_entity: "&7You cannot harm entity here!"
range_weapon: "&7You cannot use ranged weapons here!"

# Commands
camp_command_usage: "&eUsage: \n\n /camp remove \n\n /camp location"
#Give command target message
received_item: "&aYou received %item%"

# Location command
camp_located: "&aYour camp located at: &e%location%"
no_camp_located: "&7You don't have any camp set!"

# Permission warning
no_permission: "&cYou don't have permission to use this command"
PreviousClaim system and protectionNextNeed help?

Last updated 1 month ago