Soundlooper
Version: 1.0
Author: XCaNiNeX
Overview
Soundlooper is a lightweight plugin that lets you create custom sound regions on your server. Play immersive sounds when players enter specific areas like hubs, spawn points, or mini-games. Configure regions, sounds, and messages easily using commands.
Commands
Set Region Corners
-
/looper pos1
Set the first corner of the region at your location.- Example:
/looper pos1
- Example:
-
/looper pos2
Set the second corner of the region at your location.- Example:
/looper pos2
- Example:
Create and Manage Regions
-
/looper set <name> <sound> [message]
Create a region with a name, sound, and optional enter message.- Example:
/looper set spawn_area ENTITY_PLAYER_LEVELUP Welcome to spawn!
- Example:
-
/looper play <name>
Activate the region.- Example:
/looper play spawn_area
- Example:
-
/looper stop <name>
Deactivate the region.- Example:
/looper stop spawn_area
- Example:
-
/looper remove <name>
Delete the region permanently.- Example:
/looper remove spawn_area
- Example:
Plugin Management
/looper reload
Reloads the plugin’s configuration and region data.- Example:
/looper reload
- Example:
How It Works
- Define a region: Use
/looper pos1
and/looper pos2
to set corners. - Create a region: Use
/looper set <name> <sound> [message]
to save it. - Activate: Use
/looper play <name>
to start the sound when players enter the region. - Manage: Use
/looper stop
to deactivate,/looper remove
to delete.
Configuration
regions.yml
: Stores all defined regions, sounds, and messages.active_regions.yml
: Tracks active regions across restarts.
Compatibility
- Minecraft Version: 1.21+
- Dependencies: None
Enjoy creating immersive soundscapes on your server with Soundlooper! 🎵