Skip to content
项目

关于

squaremap 是一款简约轻量的 Minecraft 服务器世界地图查看器,采用原版地图渲染风格。

设计与媒体

这些数字如何统计

可以做什么

  • Ultra fast render times. Get your map rendered today, not next week.
  • Simple vanilla-like top down 2D view, designed for navigation.
  • Player markers showing yaw rotation, health, and armor.
  • Easy to setup and configure.

实测星标增长

24小时
0
7天
+4
15天
+5
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

squaremap

License GitHub Workflow Status Discord

What is squaremap

squaremap is a minimalistic and lightweight live world map viewer for Minecraft servers.

squaremap hooks into your Minecraft server as a plugin or mod on a supported platform, then generates and manages a live map of your server, viewable in any web browser.

Features

  • Ultra fast render times. Get your map rendered today, not next week.
  • Simple vanilla-like top down 2D view, designed for navigation.
  • Player markers showing yaw rotation, health, and armor.
  • Easy to setup and configure.
  • Up to date Leaflet front-end.
  • Addons and integrations for many popular plugins.

Supported platforms

Downloads

Downloads can be obtained from Modrinth.

Development builds

Development builds are available at https://jenkins.jpenilla.xyz/job/squaremap/

Demo

Official squaremap demo: https://squaremap-demo.jpenilla.com/

License

This project is licensed under the MIT license

Leaflet (the web ui frontend) is licensed under 2-clause BSD License

API

squaremap provides simple APIs to draw markers, shapes, icons, and etc. on rendered maps. Javadocs are hosted on the maven repository alongside the binaries, and should be automatically downloaded by your IDE.

Dependency Information

Releases are published to Maven Central

Using snapshot builds

Snapshot builds are available on the Sonatype snapshots maven repository: https://central.sonatype.com/repository/maven-snapshots/

Consult your build tool's documentation for details on adding maven repositories to your project.

Maven

<dependency>
    <groupId>xyz.jpenilla</groupId>
    <artifactId>squaremap-api</artifactId>
    <version>1.4.4</version>
    <scope>provided</scope>
</dependency>

Gradle

repositories {
    mavenCentral()
}

dependencies {
    compileOnly("xyz.jpenilla", "squaremap-api", "1.4.4")
}

Develop

Prerequisites and setup

  • An up-to date JDK (i.e. Java 21 or later)
  • Bun installed for building the web UI
  • Run bun install in the web directory to install the web UI dependencies

Plugin

Build squaremap by invoking the build task with Gradle.

./gradlew build

Web UI

The web UI will be automatically built and included in the plugin jar by Gradle when building the plugin.

When using the various run tasks (i.e. :squaremap-paper:runServer), Gradle will pass the squaremap.devFrontend=true and squaremap.frontendPath=<absolute path to ./web> system properties to the server. When these properties are present, the plugin will attempt to run the Vite dev server and proxy requests to it. This allows hot module reloading to work when developing the web UI.

bStats

Usage stats for the Paper platform

bStats Graph Data

探索相关项目

加载中…