wulnrydev
Odunlara Vur Vur Vur!
- Katılım
- 13 Eylül 2025
- Mesajlar
- 39
- Elmaslar
- 22
- Puan
- 395
- Yaş
- 23
- Konum
- İstanbul
- Minecraft
- rivoles
Discord:
wulnry
- Minecraft Sürümleri
- 1.20+
wChunkBlockLimiter – Chunk Bazlı Blok Sınırlandırma Eklentisi
Plugin Hakkında Genel Bakış
wChunkBlockLimiter, Minecraft sunucularında chunk başına yerleştirilebilecek belirli blokları sınırlandırmak amacıyla geliştirilmiş, performans odaklı bir Spigot/Paper eklentisidir. Özellikle lag oluşturan blokların kontrolsüz kullanımını engellemek, farm ve otomasyon dengesini korumak isteyen sunucular için tasarlanmıştır.Bu eklenti sayesinde her bir chunk için ayrı ayrı blok limitleri tanımlanabilir ve bu limitler aşıldığında oyuncular anında bilgilendirilir.
Teknik Çalışma Mantığı
- Plugin, BlockPlaceEvent üzerinden çalışır ve yalnızca ilgili chunk’ı kontrol eder.
- Global tarama veya sürekli chunk scan işlemleri yapılmaz, bu da performans açısından büyük avantaj sağlar.
- Limit kontrolleri O(1) mantığında çalışır; yani sunucu yükü minimum seviyededir.
- Chunk bazlı sayım sistemi sayesinde dünya genelinde gereksiz veri tutulmaz.
Neler Sınırlandırılabilir?
- Spawner
- Hopper
- Chest
- Furnace
- Beacon
- Redstone bileşenleri
(Konfigürasyon üzerinden istenilen blok eklenebilir)
Konfigürasyon Esnekliği
- Blok başına chunk limiti
- Yetkili oyuncular için bypass izni
- Oyuncuya özel uyarı mesajları
- Renk kodları ve özelleştirilebilir mesaj yapısı
Performans ve Stabilite
- Asenkron veya riskli işlemler içermez
- Hafıza tüketimi son derece düşüktür
- Büyük sunucularda test edilmeye uygundur
- Paper & Spigot uyumludur
Kimler İçin Uygun?
- Survival / SMP sunucuları
- Skyblock & Oneblock
- Farm ağırlıklı serverlar
- Lag ve exploit önlemi almak isteyen yöneticiler
İndirme & Kaynak Kod
Eklentiyi GitHub üzerinden ücretsiz olarak indirebilirsiniz:
Değerli ziyaretçimiz, içeriği görebilmek için
şimdi giriş yapın veya kayıt olun.
Beğendiyseniz projeye
Bu tür açık kaynak projelerin devamlılığı için ciddi motivasyon oluyor.
Config.yml
Messages.yml# Enable or disable the plugin globally
enabled: true
# Default limit for blocks not explicitly listed below
# Set to -1 for unlimited (no restriction)
default-limit: -1
# ============================================
# Block-Specific Limits
# ============================================
# Format: MATERIAL_NAME: limit
# Use Bukkit Material names (case-insensitive)
# Set to -1 for unlimited, or any positive integer
#
# Performance Note: Only limited blocks are tracked
# in memory for optimal performance
# ============================================
limits:
# Storage Blocks
HOPPER: 10
CHEST: 25
TRAPPED_CHEST: 25
BARREL: 20
SHULKER_BOX: 15
ENDER_CHEST: 5
# Furnace Family
FURNACE: 15
BLAST_FURNACE: 10
SMOKER: 10
# Special Blocks
SPAWNER: 2
BEACON: 1
CONDUIT: 3
# Redstone Components
DROPPER: 15
DISPENSER: 15
OBSERVER: 20
PISTON: 30
STICKY_PISTON: 30
REDSTONE_LAMP: 20
NOTE_BLOCK: 15
REPEATER: 40
COMPARATOR: 40
# Misc
BREWING_STAND: 10
LECTERN: 20
JUKEBOX: 10
# ============================================
# Per-World Limit Overrides
# ============================================
# Override limits for specific worlds
# World-specific limits take precedence over global limits
# If a block is not listed for a world, it uses the global limit
# ============================================
world-limits:
# Example: Different limits for the Nether
world_nether:
HOPPER: 20 # Allow more hoppers in Nether
SPAWNER: 5 # Allow more spawners in Nether
CHEST: 40
# Example: Stricter limits for resource world
# world_resource:
# HOPPER: 5
# CHEST: 15
# SPAWNER: 1
# Example: No limits in creative world
# creative:
# HOPPER: -1 # -1 = unlimited
# CHEST: -1
# ============================================
# Sound Settings
# ============================================
sounds:
# Enable sound notifications when limit is reached
enabled: true
# Sound type (Bukkit Sound enum)
# Examples: BLOCK_NOTE_BLOCK_PLING, ENTITY_VILLAGER_NO, BLOCK_ANVIL_LAND
type: BLOCK_NOTE_BLOCK_PLING
# Volume (0.0 - 1.0 for normal range, can exceed for louder)
volume: 1.0
# Pitch (0.5 - 2.0, lower = deeper, higher = sharper)
pitch: 0.5
# ============================================
# Action Bar Settings
# ============================================
action-bar:
# Show action bar message when limit is reached
enabled: true
# ============================================
# Chat Message Settings
# ============================================
chat-message:
# Send chat message when limit is reached (in addition to action bar)
# Set to false to only use action bar (less spammy)
enabled: false
# ============================================
# Placement Counter Settings
# ============================================
placement-counter:
# Show current block count when placing limited blocks
# Example: "HOPPER placed (5/10)"
enabled: true
# ============================================
# Piston Protection
# ============================================
piston-protection:
# Prevent pistons from pushing limited blocks between chunks
# This prevents bypassing limits by pushing blocks across chunk boundaries
enabled: true
# ============================================
# Permission Nodes
# ============================================
# These can be customized if needed for compatibility
# with your permission plugin
# ============================================
permissions:
bypass: "wchunkblocklimiter.bypass"
reload: "wchunkblocklimiter.reload"
# ============================================
# wChunkBlockLimiter Messages
# ============================================
# Use & for color codes (will be translated automatically)
#
# Available Placeholders:
# %block% - Block type (e.g., HOPPER, CHEST)
# %limit% - Maximum allowed count per chunk
# %current% - Current count of blocks in chunk
# %chunk_x% - Chunk X coordinate
# %chunk_z% - Chunk Z coordinate
# %world% - World name
# %player% - Player name (where applicable)
# %prefix% - Plugin prefix (for chat messages)
# ============================================
# Global prefix for all messages
prefix: "&8[&6wCBL&8]&r"
# ============================================
# Limit Reached Messages
# ============================================
limit-reached:
# Action bar message (shown above hotbar)
action-bar: "&c&lLimit Reached! &7(&e%current%/%limit% %block%&7 per chunk)"
# Chat message (optional - enable in config.yml)
chat: "%prefix% &cYou cannot place more than &e%limit% &6%block% &cper chunk! &7(Current: &e%current%&7)"
# ============================================
# Placement Success Messages
# ============================================
placement-success:
# Shows current count when placing blocks
action-bar: "&a%block% &7placed &8(&e%current%&7/&6%limit%&8)"
# ============================================
# Command Messages
# ============================================
reload:
success: "%prefix% &aConfiguration reloaded successfully!"
failed: "%prefix% &cFailed to reload configuration! Check console for errors."
in-progress: "%prefix% &eReloading configuration..."
# ============================================
# Permission Messages
# ============================================
no-permission: "%prefix% &cYou don't have permission to execute this command!"
# ============================================
# Admin Notifications (Future Feature)
# ============================================
# These can be enabled in future versions for staff alerts
admin:
limit-exceeded: "%prefix% &e%player% &7attempted to place &e%block% &7at chunk &e(%chunk_x%, %chunk_z%) &7in &e%world% &7(&cLIMIT: %limit%&7)"
# ============================================
# Debug Messages (Future Feature)
# ============================================
debug:
chunk-scanned: "%prefix% &7Scanned chunk &e(%chunk_x%, %chunk_z%) &7in &e%world% &7- found &a%count% &7limited blocks"
cache-cleared: "%prefix% &7Cache cleared - &e%chunks% &7chunks removed from memory"

Değerli ziyaretçimiz, içeriği görebilmek için
şimdi giriş yapın veya kayıt olun.