DominionSAR is a Bukkit/Spigot plugin that integrates Dominion claim areas with various web map plugins. It automatically displays dominion boundaries and information on web maps, making it easy for players to visualize claimed territories.
- 🗺️ Multi-Map Support: Works with multiple web map plugins
- 🎨 Customizable Visualization: Uses dominion colors for consistent representation
- ⚙️ Configurable Display: Players can control whether their dominions appear on web maps
- 🔄 Real-time Updates: Automatically updates markers when dominions are created, modified, or deleted
- 📊 Information Rich: Shows dominion name, owner, and boundaries
- 🌐 Folia Compatible: Full support for Folia server software
DominionSAR supports integration with the following web map plugins:
- BlueMap - Modern 3D web map
- Dynmap - Classic 2D web map
- SquareMap - Lightweight alternative to Dynmap
- Pl3xMap - Fast and efficient web map
- Minecraft: 1.20+
- Java: 21+
- Server Software: Bukkit, Spigot, Paper, or Folia
- Dependencies:
- Dominion (4.7.0+ Required)
- At least one supported map plugin (Optional but recommended)
- Download the latest release from the releases page
- Place the JAR file in your server's
plugins/directory - Install Dominion plugin if not already installed
- Install at least one supported map plugin
- Restart your server
- Configure the plugin (see Configuration section)
The plugin creates a config.yml file in the plugins/DominionSAR/ directory:
mapProvider:
# https://bluemap.bluecolored.de/
blueMap: false
# https://www.spigotmc.org/resources/dynmap%C2%AE.274/
dynmap: false
# https://modrinth.com/plugin/squaremap
squareMap: false
# https://modrinth.com/plugin/pl3xmap
pl3xMap: falsemapProvider.blueMap: Enable BlueMap integrationmapProvider.dynmap: Enable Dynmap integrationmapProvider.squareMap: Enable SquareMap integrationmapProvider.pl3xMap: Enable Pl3xMap integration
Set the corresponding option to true for each map plugin you want to integrate with.
- Enable Map Providers: Edit the config.yml to enable the map plugins you have installed
- Restart Server: Restart the server to apply configuration changes
- Check Web Maps: Visit your web map to see dominion boundaries displayed
DominionSAR adds a new dominion flag called show_on_web that players can use to control whether their dominions appear on web maps.
Commands (via Dominion plugin):
/dominion set_flag show_on_web true # Show dominion on web map
/dominion set_flag show_on_web false # Hide dominion from web map
By default, dominions are visible on web maps (show_on_web: true).
- Event Listening: The plugin listens for dominion creation, modification, and deletion events
- Flag Checking: Before rendering, it checks if the dominion has the
show_on_webflag enabled - Marker Creation: Creates colored markers on supported web maps using the dominion's configured colors
- Real-time Updates: Automatically updates or removes markers when dominions change
Each dominion marker displays:
- Name: The dominion's name
- Owner: The dominion owner's username
- Boundaries: Visual representation of the claim area
- Colors: Uses the dominion's custom colors for inner fill and border
# Clone the repository
git clone https://github.com/LunaDeerMC/DominionSAR.git
cd DominionSAR
# Build with Maven
mvn clean package
# The compiled JAR will be in the target/ directoryThe project uses the following dependencies:
- Spigot API (1.20.1) - Bukkit/Spigot server API
- Dominion API (4.7.1) - Integration with Dominion plugin
- BlueMap API (2.7.4) - BlueMap integration
- Dynmap Core API (3.7-beta-6) - Dynmap integration
- SquareMap API (1.3.8) - SquareMap integration
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
- Issues: Report bugs or request features on the GitHub Issues page
- Dominion Plugin: For Dominion-related questions, visit the Dominion repository
- Dominion - The main land claiming plugin
- BlueMap - 3D web map for Minecraft
- Dynmap - Real-time map for Minecraft
- SquareMap - Minimalistic web map
- Pl3xMap - Fast web map for Paper servers
Made with ❤️ by LunaDeer