▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
MapArt

MapArt

A map art plugin for Purpur/Paper servers that allows players to convert custom images into in-game map paintings.

Оцените первым
181
1

MapArt - Minecraft Map Art Plugin

A map art plugin for Purpur/Paper servers that allows players to convert custom images into in-game map paintings.

Features

  • Supports PNG, JPG, GIF, BMP image formats
  • Auto-scales and crops images to fit map dimensions
  • Large images automatically split into multiple maps
  • Async processing, no server lag
  • Folia architecture support

Installation

  1. Place MapArt-1.1.2.jar into your server's plugins directory
  2. Restart the server
  3. Players use /mapart upload to upload images (saved to plugins/MapArt/images/<playerUUID>/)
  4. Or manually place images into plugins/MapArt/images/ directory

Usage

CommandDescription
/mapartOpen GUI (shows current player images)
/mapart guiOpen GUI
/mapart uploadGet a web upload link (player-specific)
/mapart apply <image file> [scale|tile]Convert image to map art (scale: fit single map, tile: split into grid)
/mapart clearClear all map art
/mapart infoView number of maps you hold
/mapart listList current player's available image files

Example:

/mapart apply myimage.png           # Scale to single map (default)
/mapart apply myimage.png tile      # Split into multiple maps for large image

Two Modes

ModeCommandDescription
Scale/mapart apply <image>Default. Scales image to 128x128, outputs 1 map
Tile/mapart apply <image> tileNo scaling. Splits image into 128x128 tiles, outputs multiple maps for mosaic

Recommended Image Size

Standard Single Map

  • Recommended size: 128x128 pixels
  • Exactly matches one map's 128x128 pixel display area, one-to-one pixel mapping with no scaling distortion

Size Comparison

Image SizeMap CountDescription
128x1281 mapRecommended, pixel-perfect mapping
256x2561 mapAuto-scaled down to 128x128
512x5121 mapAuto-scaled down to 128x128
1024x10241 mapAuto-scaled down to 128x128
2048x20481 mapAuto-scaled down to 128x128
256x1282 mapsHorizontal split, auto-divided
512x2568 maps4x2 map grid

Important Notes

  • Minecraft maps only have a 128x128 pixel display area
  • Using a 128x128 image gives you precise pixel-by-pixel control, WYSIWYG
  • Images larger than 128x128 are automatically split into multiple maps
  • Images smaller than 128x128 are auto-scaled to fill

Color Limitations

  • Minecraft maps only have 128 available colors
  • Use images with high color contrast for best results
  • Avoid images with excessive gradients
  • Pixel art style images work best

Configuration

plugins/MapArt/config.yml:

Web Upload Server

Controls the built-in web upload server.

ConfigTypeDefaultDescription
web-server.enabledbooleantrueEnable/disable the web upload server. When off, players must place images manually
web-server.hoststring0.0.0.0Listen address. 0.0.0.0 = all interfaces, 127.0.0.1 = local only
web-server.portint8080Listen port. Ensure firewall allows traffic
web-server.public-urlstringhttp://127.0.0.1:8080URL opened by players. Use http://127.0.0.1:port for local testing, server public IP for remote

Note: public-url must use http:// (not https://) unless you have a reverse proxy providing HTTPS.

Image Limits

ConfigTypeDefaultDescription
max-image-widthint2048Maximum allowed image width (pixels)
max-image-heightint2048Maximum allowed image height (pixels)

Images exceeding these limits will be rejected on upload.

Map Settings

ConfigTypeDefaultDescription
map-sizeint128Pixel size of a single map. Standard Minecraft maps are 128x128

Performance Settings

ConfigTypeDefaultDescription
async-processingbooleantrueProcess images asynchronously (recommended)
max-concurrent-tasksint4Max concurrent processing tasks

Full Config Example

web-server:
  enabled: true
  host: 0.0.0.0
  port: 8080
  public-url: "http://127.0.0.1:8080"

max-image-width: 2048
max-image-height: 2048
map-size: 128
async-processing: true
max-concurrent-tasks: 4

Public Server Example

If your server's public IP is 1.2.3.4 and port is 8080:

web-server:
  enabled: true
  host: 0.0.0.0
  port: 8080
  public-url: "http://1.2.3.4:8080"

Then set up port forwarding: external 8080 → internal server 8080.

Player image isolation

  • Uploaded files are saved under: plugins/MapArt/images/<playerUUID>/
  • Each player can only see and use their own uploaded images

Permissions

PermissionDescriptionDefault
mapart.useUse map art commandsOP
mapart.adminAdmin permissionsOP

Building

mvn clean package

Build output is located at target/MapArt-1.1.2.jar

Dependencies

  • Purpur 1.21+ or Paper 1.21+
  • Java 21+

Telemetry

This plugin collects anonymous usage data to help improve the project. A unique UUID is generated on first launch and stored in DreamArk/server-uuid.txt. Heartbeat data is sent every 60 seconds to our telemetry server. No personal or server content data is collected.

By using this plugin, you agree to our Privacy Policy and Terms of Service.

Credits

Developed by DreamArk Studio

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Ссылки

Детали

Лицензия:
Опубликован:1 месяц назад
Обновлён:1 месяц назад
Главная