Update from Git Manager GUI
This commit is contained in:
89
src/main/resources/config.yml
Normal file
89
src/main/resources/config.yml
Normal file
@@ -0,0 +1,89 @@
|
||||
# Hotels Plugin Configuration
|
||||
# Version: 2.0.0
|
||||
# For Minecraft 1.21.x
|
||||
|
||||
# Database settings
|
||||
database:
|
||||
# Database type: h2, mysql, postgresql
|
||||
type: h2
|
||||
# H2 database file location (relative to plugin folder)
|
||||
h2-file: database
|
||||
# MySQL/PostgreSQL settings (if using external database)
|
||||
host: localhost
|
||||
port: 3306
|
||||
database: hotels
|
||||
username: root
|
||||
password: ""
|
||||
# Connection pool settings
|
||||
pool:
|
||||
maximum-pool-size: 10
|
||||
minimum-idle: 2
|
||||
connection-timeout: 30000
|
||||
|
||||
# Economy settings
|
||||
economy:
|
||||
# Enable economy integration (requires Vault)
|
||||
enabled: true
|
||||
# Default currency symbol
|
||||
currency-symbol: "$"
|
||||
|
||||
# Hotel settings
|
||||
hotels:
|
||||
# Maximum number of hotels per player
|
||||
max-hotels-per-player: 5
|
||||
# Maximum number of rooms per hotel
|
||||
max-rooms-per-hotel: 50
|
||||
# Minimum distance between hotels (in blocks)
|
||||
min-hotel-distance: 100
|
||||
# Allow hotel creation in all worlds
|
||||
allow-all-worlds: true
|
||||
# Worlds where hotels are allowed (if allow-all-worlds is false)
|
||||
allowed-worlds:
|
||||
- world
|
||||
- world_nether
|
||||
- world_the_end
|
||||
|
||||
# Room settings
|
||||
rooms:
|
||||
# Default rent duration in days
|
||||
default-rent-duration: 7
|
||||
# Maximum rent duration in days
|
||||
max-rent-duration: 30
|
||||
# Minimum rent price
|
||||
min-rent-price: 10.0
|
||||
# Maximum rent price
|
||||
max-rent-price: 10000.0
|
||||
# Allow room friends
|
||||
allow-friends: true
|
||||
# Maximum number of friends per room
|
||||
max-friends-per-room: 5
|
||||
|
||||
# Region settings
|
||||
regions:
|
||||
# Minimum region size (blocks)
|
||||
min-region-size: 16
|
||||
# Maximum region size (blocks)
|
||||
max-region-size: 10000
|
||||
# Require WorldGuard region for hotel creation
|
||||
require-worldguard: true
|
||||
|
||||
# Permission settings
|
||||
permissions:
|
||||
# Use permission-based limits (overrides default limits)
|
||||
use-permission-limits: true
|
||||
|
||||
# Messages
|
||||
messages:
|
||||
# Message prefix
|
||||
prefix: "&8[&6Hotels&8]&r "
|
||||
# Enable colored messages
|
||||
colored-messages: true
|
||||
|
||||
# Debug mode
|
||||
debug: false
|
||||
|
||||
# Auto-save interval (in minutes, 0 to disable)
|
||||
auto-save-interval: 5
|
||||
|
||||
# Language (en, de, es, fr)
|
||||
language: en
|
||||
Reference in New Issue
Block a user