Hose Hose

Can you do command that refreshes every 5s with player health and name and their position and all operators can view it view /map and it shows them gui of whole map and all players positon health and name ( show name and health when they put their mouse over them ) also show the head icon minecraft as the marker for the positon

Kodari AI
KodariOct 14 at 5:58 pm 1

This sounds like a Minecraft server plugin, but there are no projects in this workspace yet. Should I create a new plugin project for it, or will you add an existing project? If it’s new, what Minecraft version should it target?

Hose Hose

new plugin folia 1.21.11

Kodari AI
KodariOct 14 at 5:58 pm 1
Created Folia Player Map 1.21.11Plugins
Delegated to Folia Player Map 1.21.11 Running
Build the first version of a Folia-compatible Bukkit/Paper plugin targeting Minecraft 1.21.11 with a player map GUI. User requirements: a `/map` command, accessible only to server operators; a GUI showing an overview of the whole map/world and markers for all online players; refresh automatically every 5 seconds; use Minecraft player-head icons as position markers; when a viewer hovers a marker, its tooltip should show that player's name, health, and position. Make sensible implementation choices within Bukkit APIs: use a 54-slot GUI laid out as a coarse 2D overview centered/scaled around the viewer's/current world, place player heads at corresponding grid cells when possible, and put player name, health, and exact XYZ/world coordinates in each head's display name/lore so hover reveals the info. Include a refresh item/button if useful, support multiple viewers, and gracefully handle players moving worlds/offline while GUIs are open. Enforce both `/map` permission and GUI access so non-operators cannot use/view it. Must be Folia-safe: avoid Bukkit global scheduler assumptions; schedule refreshes with Folia-compatible mechanisms and access player/world state safely. Add plugin metadata, command registration, and configuration only as useful. Inspect the existing project starter files first and implement directly in the established structure. Do not run builds; done means code and resources are implemented.

I’ve started a new Folia-compatible Minecraft 1.21.11 plugin project for /map. It will show player-head markers with name, health, and coordinates on hover, and refresh the open GUI every five seconds.

Report from 1 project
TaskBuild the first version of a Folia-compatible Bukkit/Paper plugin targeting Minecraft 1.21.11 with a player map GUI. User requirements: a `/map` command, accessible only to server operators; a GUI sho...
  1. Inspect the starter structure and existing plugin conventions.

  2. Implement the Folia-safe /map GUI, live player markers, and five-second refresh.

  3. Add only the metadata/dependencies needed for the project’s existing setup.Created the PlayerMap plugin with /map restricted to operators. It renders a 54-slot spatial overview with player-head markers and name, health, world, and exact XYZ details; players in the same map cell are grouped in that marker’s tooltip.

The map refreshes every five seconds, supports multiple viewers, and uses Paper/Folia region and entity schedulers for player data and GUI updates. Added plugin metadata, command permission, and Java 21/Paper 1.21.11 build configuration. No build was run.

Kodari AI
KodariOct 14 at 6:03 pm 1
Compiled PlayerMapOverviewSucceeded

The plugin is implemented and the build succeeded. Operators can use /map to view the map; player-head markers show names, health, world, and coordinates on hover, and the GUI refreshes every five seconds.

Hose Hose

Is it possible to make it like a gui of the map like see the blocks like including ocean how it looks the whole map from bird view prespective and it shows

Kodari AI
KodariOct 14 at 6:07 pm 1

Yes. I can replace the abstract grid with a bird’s-eye terrain map showing land and ocean, with player positions and the existing hover details.

A single Minecraft map has limited coverage (up to roughly 2,048 × 2,048 blocks at its widest zoom). Should it show that area centered on the operator, or do you want a specific world area?

Hose Hose

The map is from 1792x1792 and center 0 0

Kodari AI
KodariOct 14 at 6:09 pm 1
Delegated to PlayerMapOverview Running
Enhance the existing Folia-compatible PlayerMap plugin to display a real bird's-eye terrain map in `/map`, not just the abstract inventory grid. The map area is fixed and does NOT follow the operator: exactly 1792×1792 blocks centered at world X=0, Z=0 (use boundaries X/Z -896 through +895 so the area is unambiguous). Render terrain/top surfaces with distinct block colors, including oceans/water, and overlay all online players in the same world as the viewer at their relative positions. Preserve the existing operator-only `/map` protections, 5-second refresh, name/health/position hover details, player-head markers if technically possible, multi-viewer support, and Folia safety. Read the existing source and existing API conventions first. Current `MapManager` is `src/main/java/com/kodari/playermap/MapManager.java`; it currently uses a 54-slot inventory, scheduled player sampling, and renders head markers. `PlayerMapPlugin` and `MapCommand` are in the same package. Implement a practical GUI presentation that visibly renders terrain (for example custom filled-map/map-image item(s) or a tiled map mosaic), not merely item names that imply terrain. Keep the 1792×1792 bounds exact and centered on origin. Do not synchronously inspect blocks off the owning Folia region thread, do not cause chunks to load/generate or stall the server; handle unloaded terrain gracefully and document any visual limitation in plugin messages/README if necessary. Where Minecraft inventory rendering makes simultaneous terrain image and exact head-icon placement impossible, favor an actual terrain image with player markers rendered visibly and retain skull/name/health details via tooltip or companion items. Implement code/resources and report what display approach and limitations were chosen. Do not run a build; compilation is handled separately.

I’ve started an update to render the fixed 1792×1792 area centered at X=0, Z=0 as an actual overhead terrain map, including water and player locations. It will retain the five-second refresh and player details, while avoiding loading chunks just to draw the map.

Report from 1 project
TaskEnhance the existing Folia-compatible PlayerMap plugin to display a real bird's-eye terrain map in `/map`, not just the abstract inventory grid. The map area is fixed and does NOT follow the operator:...
  1. Read the current manager, command/plugin setup, and Folia scheduling conventions.

  2. Add a terrain-rendering view centered exactly on the requested bounds, with safe unloaded-chunk handling and visible player markers.

  3. Preserve operator checks, five-second refresh, and hover details; document the map’s rendering limits.Implemented the terrain view in MapManager as a 7×5 mosaic of filled-map tiles. It covers exactly X/Z -896 through +895, samples terrain on a 64×64 grid, colors surfaces by block type (including water), and overlays online players in the viewer’s world with visible map markers. Player heads alongside the mosaic retain each player’s name, health, and exact coordinates in their tooltip.

Player positions refresh every five seconds; terrain is resampled every 60 seconds. Gray areas indicate terrain that is unloaded or still being sampled. Sampling runs on the owning Folia region and checks for loaded chunks first, so the map does not load or generate chunks. The terrain is an overview rather than a block-by-block image. No build was run.

Kodari AI
KodariOct 14 at 6:14 pm 1
Compiled PlayerMapOverviewSucceeded

The map now shows a bird’s-eye terrain view in a 7×5 filled-map mosaic, covering X/Z -896 to +895 around the origin. It colors terrain and water, overlays player markers, and keeps player heads with name, health, and coordinates in their tooltips.

Terrain refreshes every 60 seconds; player positions refresh every five seconds. Unloaded or not-yet-sampled areas appear gray rather than forcing chunks to load. The updated plugin build succeeded.

Hose Hose

No is it possible to supply some image to it and it shows like players on the map

Kodari AI
KodariOct 14 at 6:18 pm 1
Delegated to PlayerMapOverview Running
Add configurable custom-image background support to the existing PlayerMap plugin, so the operator can supply an image and `/map` displays that image as the base with live player markers over it. Read current source first. Relevant current code: `src/main/java/com/kodari/playermap/MapManager.java` currently creates a 7x5 filled-map mosaic (`MapView` + custom `MapRenderer`), uses fixed world-coordinate bounds X/Z -896 through +895, samples terrain safely on Folia region threads, overlays player markers, and refreshes markers every 5 seconds. Preserve existing operator-only command/menu checks, Folia safety, player head tooltips with name/health/coordinates, multi-viewer support, and existing terrain fallback. Implement an image file convention such as `<plugin data folder>/map.png` (document exact path clearly). If the image exists, use it as the background for all map tiles; scale it to exactly cover the fixed 1792x1792 block area centered at world origin, without unintentionally changing the coordinate mapping. Any supplied image dimensions should be handled predictably (prefer scale to fit the whole image to this square, with documented behavior). Convert to Minecraft map colors/palette and render the 7x5 map mosaic. Draw the current online player markers on top using the same world bounds and positions; ensure marker clicks/hover or accompanying skull tooltips still reveal player name, health, world, and coordinates. If PNG is missing/invalid, keep the existing terrain rendering and provide a useful one-time operator/admin message or clear README guidance instead of breaking `/map`. Image loading/resizing/palette conversion must not block Folia region threads or the global thread; do file/image work asynchronously where appropriate, publish immutable prepared pixel data, and preserve thread-safe rendering. Do not load/generate chunks for image mode. Add README/config instructions describing where to put the PNG, expected orientation (north/top = negative Z; west/left = negative X), scaling to cover -896..+895, and restart/reload behavior. Do not introduce external dependencies unless necessary. Keep changes scoped and do not run a build. Report files changed and key implementation details.

Yes—an image can be the background, with live player markers overlaid. I’ve started adding support for a PNG file in the plugin’s data folder, fitted to the existing 1792×1792 area centered at 0,0. The current terrain view will remain the fallback if no image is provided.

Hose Hose

how to provide image

Kodari AI
KodariOct 14 at 6:19 pm 1

Once the image support update is ready, put your PNG here on the server:

plugins/PlayerMap/map.png

Use a top-down image of the area: top = north (negative Z) and left = west (negative X). It will be scaled to cover coordinates -896 through +895 on both axes. Restart the server after adding or replacing it, then use /map. The update is still in progress, so that file won’t work with your currently installed plugin yet.

Hose Hose

Can I get image on internetr or how do I take the image

Kodari AI
KodariOct 14 at 6:19 pm 1

You can use an image from the internet, but player markers will line up correctly only if the image shows your server’s actual world and coordinates. A random Minecraft map image can be used as a background, but the markers won’t correspond to its locations.

For an accurate image, generate or capture a top-down render of your world, using a mapping tool such as BlueMap or Dynmap, then crop it to the area from X/Z -896 to +895. Make it square, with north (negative Z) at the top and west (negative X) on the left.

When image support is ready, save the PNG as plugins/PlayerMap/map.png and restart the server. The update is still in progress, so the installed plugin may not recognize that file yet.

Report from 1 project
TaskAdd configurable custom-image background support to the existing PlayerMap plugin, so the operator can supply an image and `/map` displays that image as the base with live player markers over it. Read...
  1. Inspect the map renderer and startup/lifecycle code.

  2. Add asynchronous PNG preparation with safe fallback to terrain, preserving marker overlays and fixed coordinates.

  3. Document the image path, orientation, scaling, and reload behavior.Added custom PNG backgrounds to MapManager and documented usage in README.md.

Place the image at plugins/PlayerMap/map.png. It loads asynchronously, fits the full image into a square for the fixed -896…+895 bounds, preserves aspect ratio with dark-gray fill where needed, and converts colors to Minecraft’s map palette. Live player markers remain overlaid, with head tooltips retaining player details. If the PNG is missing or invalid, the terrain background remains available; image mode skips terrain resampling once loaded and does not load or generate chunks.

The README covers orientation, scaling, reload behavior, fallback, and the 7×5 mosaic’s visual stretch. No build was run.

Kodari AI
KodariOct 14 at 6:20 pm 1
Compiled PlayerMapOverviewSucceeded

Image support is implemented, and the plugin build succeeded. Put your PNG at plugins/PlayerMap/map.png, then restart the server. Use a top-down image with north (−Z) at the top and west (−X) on the left; the plugin scales it to cover X/Z −896 through +895. Player markers appear over the image. If the file is missing or invalid, the terrain map remains the fallback.

Hose Hose

Can you make it work with blue map and sample every 30 min a map update from the plugin image and supply it directly to the map and can you make a small marker that is movable the player head

Kodari AI
KodariOct 14 at 6:22 pm 1

Do you mean BlueMap’s web map should show live, movable player-head markers, or should BlueMap’s rendered view become the background in the in-game /map GUI?

Also, for the 30-minute update, should it refresh the existing plugins/PlayerMap/map.png file, or fetch/capture an image from BlueMap?

Hose Hose

is it possible to connect the image fetched by bluemap

Kodari AI
KodariOct 14 at 6:23 pm 1

Yes. BlueMap renders map tiles rather than one PNG, so the plugin could collect the tiles for the area, assemble them into the map background, and refresh that image every 30 minutes. Player-head markers can continue moving with players as they move in-game.

Is BlueMap installed on the same server as this plugin, and which world should the map show?

Hose Hose

its installed on the server as a plugin and it should show normal world and not other dimensions

Kodari AI
KodariOct 14 at 6:24 pm 1
Delegated to PlayerMapOverview Running
Integrate the existing PlayerMap plugin with an already-installed BlueMap plugin so its GUI background is periodically derived from BlueMap's rendered imagery, and make the on-map marker a small player-head icon that tracks each player. User confirmed BlueMap is installed on the same server and wants the normal/Overworld only, not Nether or End. Read the existing source before editing. Current project details: `src/main/java/com/kodari/playermap/MapManager.java` manages a 7x5 filled-map mosaic covering block coordinates X/Z -896..+895, loads optional `plugins/PlayerMap/map.png`, currently refreshes live player positions every 5 seconds, and uses Folia region/global schedulers; `src/main/resources/plugin.yml` has no BlueMap dependency; `build.gradle` uses Paper API 1.21.11 compileOnly and Java 21; README documents map.png. Current marker drawing in `TerrainRenderer` is colored pixels; skull heads are also displayed as inventory items with hover info. Implement safe optional BlueMap integration using BlueMap's supported public API / documented rendered tile access, never brittle undocumented paths if avoidable. Select the BlueMap map associated with the loaded Bukkit world whose environment is NORMAL, exclude all other dimensions, and handle absent API/plugin/map cleanly with existing PNG/terrain fallback. Refresh/rebuild the BlueMap-derived background every 30 minutes asynchronously (not on Folia region/global threads), publish immutable pixels safely, and do not block server threads or load/generate chunks. Preserve exact coordinate bounds and north/top = -Z, west/left = -X as far as BlueMap's imagery projection permits; BlueMap may use an oblique/isometric projection, so accurately document any unavoidable alignment/coverage limitation rather than claiming false coordinate precision. If API cannot yield a defensible image covering this area, keep fallback behavior, document clearly, and report the concrete blocker instead of scraping guessed endpoints. Make BlueMap an optional/soft dependency (not required to run PlayerMap). For GUI map markers, replace/enhance the colored dot with a small visible player-head/skin-head icon that moves to the sampled location with the existing 5-second updates; maintain marker tooltip/player skull details (name, health, world, XYZ) and multi-viewer support. Handle BlueMap disabled or rendering not ready, shutdown/cancellation, missing normal world, and async errors gracefully. Update README with BlueMap enable/setup, world selection, 30-minute refresh, fallback, orientation/projection limitations, and that replacing external map source may require restart/reload if applicable. Add no unrelated features, and do not run a build. Report changed files, exact BlueMap access approach and any limitations.

I’ve started adding optional BlueMap support for the normal world only. The update will refresh the map background every 30 minutes and make the player-head markers move with player positions; the existing image/terrain fallback will remain if BlueMap imagery isn’t available.

Report from 1 project
TaskIntegrate the existing PlayerMap plugin with an already-installed BlueMap plugin so its GUI background is periodically derived from BlueMap's rendered imagery, and make the on-map marker a small playe...

…succeeded"/>Updated MapManager.java, plugin.yml, and README.md.

BlueMap is now an optional soft dependency, and PlayerMap logs a startup warning when it is enabled. I checked BlueMap’s public API: it exposes map/world metadata, render-task controls, and custom asset storage, but no supported method to read rendered tiles as image pixels. To avoid relying on private file layouts or guessed endpoints, BlueMap imagery and the requested 30-minute refresh are not implemented. The map continues to use map.png, then the existing terrain fallback; README documents this limitation.

Replaced the red dot with a small generated pixel-art head that tracks each player across map-tile boundaries. It is not the player’s actual skin texture; the companion player-head items retain the name, health, world, and coordinate details.

No build was run.

Kodari AI
KodariOct 14 at 6:28 pm 1
Compiled PlayerMapOverviewSucceeded

The update is implemented and builds successfully, but there’s an important limitation: BlueMap’s supported API doesn’t provide rendered map tiles as image data. To avoid relying on undocumented file paths or endpoints, this version does not fetch BlueMap imagery or refresh it every 30 minutes. The GUI continues to use plugins/PlayerMap/map.png, then falls back to terrain.

Player markers now move with players and look like small pixel-art heads. They aren’t the players’ actual skin textures; the companion head items still show player details on hover. BlueMap is optional, so it doesn’t prevent the plugin from running.

Hose Hose

how is it possible bluemap imagery to map.png

Kodari AI
KodariOct 14 at 6:31 pm 1

It’s possible if BlueMap’s web map is accessible to the server. A background downloader could fetch the rendered tiles for the Overworld, stitch and crop them to the area around X/Z 0, then save the result as plugins/PlayerMap/map.png every 30 minutes. The player markers could still update separately in-game.

The catch is alignment: BlueMap renders a zoomable map, so its tiles aren’t automatically a north-up, block-aligned 1792×1792 image. The plugin would need the tile coordinates and projection settings to place player markers accurately. BlueMap’s public plugin API doesn’t provide those rendered pixels directly; fetching them would depend on the web map’s tile access and configuration.

The current plugin does not fetch BlueMap imagery yet—it only loads a supplied map.png or uses its terrain fallback. To assess the best route, I’d need the BlueMap web-map URL or to know whether its web server is enabled.

Hose Hose

##

BlueMap ##

Webapp-Config ##

##

With this setting you can disable the creation and updating of all webapp related files.

Default is true

enabled: true

The webroot where the webapp files will be created.

Usually this should be set to the same directory like in the webserver.conf!

Default is "bluemap/web"

webroot: "bluemap/web"

Whether the settings.json of the webapp should be updated/synchronized with the current BlueMap settings.

If this is set to "false", BlueMap will only add maps to the settings.json but never remove unknown ones or update other settings.

Disabling this is for example useful if you are running multiple BlueMap instances on the same webroot and don't want them to overwrite each others maps.

Default is true

update-settings-file: true

If the webapp should use cookies to save the configurations of a user.

Default is true

use-cookies: true

If the webapp will default to flat-view instead of perspective-view.

Default is false (perspective-view)

default-to-flat-view: false

The default map and camera location where a user will start after opening the webapp.

This is in form of the URL anchor: Open your map in a browser and look at the URL, everything after the '#' is the value for this setting.

Default is "no anchor" (The camera will start with the topmost map and at that map's starting point).

#start-location: "world:0:16:-32:390:0.1:0.19:0:0:perspective"

The minimum (closest) and maximum (furthest) distance (in blocks) that the camera can be from the ground.

Default is min:5 max:100000

min-zoom-distance: 5 max-zoom-distance: 100000

The default value of the resolution (settings menu).

Possible values are: 0.5, 1, 2

Default is 1

resolution-default: 1

The min, max and default values of the hires render distance slider (settings menu).

The values are in blocks.

Default is max:500 default:100 and min:0

hires-slider-max: 500 hires-slider-default: 100 hires-slider-min: 0

The min, max and default values of the lowres render distance slider (settings menu).

The values are in blocks.

Default is max:7000 default:2000 and min:500

lowres-slider-max: 7000 lowres-slider-default: 2000 lowres-slider-min: 500

Here you can specify an alternative base URL where all of the map data is loaded from.

Default is "maps"

#map-data-root: "https://cdn.my-domain.com/mapdata"

Here you can specify an alternative base URL where all of the live data is loaded from.

Default is "maps"

#live-data-root: "https://cdn.my-domain.com/livedata"

Here you can add URLs to custom scripts (js) so they will be loaded by the webapp.

You can place them somewhere in BlueMap's webroot and add the (relative) link here.

scripts: [ #"js/my-custom-script.js" ]

Here you can add URLs to custom styles (css) so they will be loaded by the webapp.

You can place them somewhere in BlueMap's webroot and add the (relative) link here.

styles: [ #"css/my-custom-style.css" ] can you work with these two to implement it

📎 1 file 2,225 chars
📄
pasted-code-1792003655883.txt
txt 46 lines
▶
##                          ##
##         BlueMap          ##
##     Webserver-Config     ##
##                          ##

# With this setting you can disable the integrated webserver.
# This is useful if you want to only render the map data for later use, or if you setup your own webserver.
# Default is true
enabled: true

# The webroot that the server will host to the web.
# Usually this should be set to the same directory like in the webapp.conf!
# Default is "bluemap/web"
webroot: "bluemap/web"

# The port that the webserver listens to.
# Default is 25594
port: 25594

# Config-section for webserver activity logging:
log: {
  # The file where all the webserver activity will be logged to.
  # Comment out to disable the logging completely.
  # Java String formatting syntax can be used to add timestamps, see: https://docs.oracle.com/javase/8/docs/api/java/util/Formatter.html
  # Default is no logging.
  file: "bluemap/logs/webserver.log"
  #file: "bluemap/logs/webserver_%1$tF_%1$tT.log"

  # Whether the logger should append to an existing file, or overwrite it.
  # Default is false (overwrite the file).
  append: false

  # The format of the webserver acivity logs.
  # The syntax is the Java String formatting syntax, see: https://docs.oracle.com/javase/8/docs/api/java/util/Formatter.html
  # Possible Arguments:                                                    | Example output
  #  1 - the source address (ignoring any xff headers).                    | 10.10.10.10
  #  2 - the source address (using the (leftmost) xff header if provided). | 88.66.44.22
  #  3 - the http method of the request.                                   | GET
  #  4 - the full request address.                                         | /assets/file.png 
  #  5 - the protocol version of the request.                              | HTTP/1.1
  #  6 - the status code of the response.                                  | 200
  #  7 - the status message of the response.                               | OK
  # Default is "%1$s \"%3$s %4$s %5$s\" %6$s %7$s"                         | 10.10.10.10 "GET /assets/file.png HTTP/1.1" 200 OK
  format: "%1$s \"%3$s %4$s %5$s\" %6$s %7$s"
}
Kodari AI
KodariOct 14 at 6:49 pm 1
Delegated to PlayerMapOverview Running
Implement BlueMap image-source integration using the user's actual BlueMap config details. User provided both configs: webapp config enabled=true, webroot="bluemap/web" (default path), and webserver config enabled=true, same webroot="bluemap/web", integrated HTTP port=25594 (default). They want the existing `/map` in-game map to use an image fetched from BlueMap, only the normal/Overworld map, refresh the BlueMap-derived background every 30 minutes, while player markers continue tracking/moving on the map (currently refreshed every 5 seconds). Current PlayerMap source has optional BlueMap soft dependency, 7×5 MapView filled-map mosaic for X/Z -896..+895, `map.png` background/terrain fallback, and generated small pixel-art head markers. Read current source first and inspect BlueMap’s actual generated webapp data format rather than guessing. Use the configured local webserver or webroot/generated files safely, discover/select the map tied to the Bukkit NORMAL world via BlueMap settings/map metadata, and derive a square background accurately covering the fixed area if BlueMap output/projection permits. Keep image fetch/decode/stitching async off Folia tick/region threads; publish immutable pixel data thread-safely. Do not block or load chunks. Preserve fallback to custom `plugins/PlayerMap/map.png` then terrain if BlueMap data unavailable; handle missing/disabled BlueMap, HTTP failures, not-yet-rendered tiles, shutdown, etc. Do not add undocumented brittle paths without validating against real BlueMap source/schema. BlueMap's perspective/isometric view may prevent reliable block-coordinate alignment; if so, only implement a defensible flat-map tile projection or explain concrete incompatibility in README/log, preserving fallback rather than showing a misleading map. The user says they want it implemented based on these configs, so attempt a practical integration and clearly document any BlueMap settings/preconditions. Maintain existing marker tooltip/item details and movable head marker. Update README with exact use of `bluemap/web`, webserver local port 25594, 30-minute refresh, normal-world selection, projection/coverage limits, fallback, and where to change options if configs differ. Do not run a build; I will compile after completion. In final report say exact BlueMap data/source method, changed files, whether successful fetching works and caveats.

I’ve started an update to use the BlueMap web files from your configuration (bluemap/web, served on port 25594) as the background for the Overworld map, with a 30-minute refresh. The existing image/terrain fallback and five-second player-marker updates will remain. I’ve asked the developer to verify BlueMap’s actual tile format and coordinate alignment so the map won’t show misleading positions if its view can’t be aligned accurately.

Report from 1 project
TaskImplement BlueMap image-source integration using the user's actual BlueMap config details. User provided both configs: webapp config enabled=true, webroot="bluemap/web" (default path), and webserver c...

…tchedFile>Implemented the BlueMap background fetch path.

  • BlueMap access: PlayerMap queries BlueMap’s public API to match the first loaded Bukkit NORMAL world and select its alphabetically first map ID. It reads the served settings.json for mapDataRoot and tile size, then fetches BlueMap’s generated flat LOD-1 PNG tiles from the configured webserver. Tile decoding, stitching, and color conversion run on a background worker.

  • Alignment and refresh: The flat tiles map directly to block-grid coordinates, so the stitched image covers X/Z -896 through +895, with -Z at the top and -X on the left. It samples at two-block intervals for PlayerMap’s 896-pixel background. BlueMap refreshes after startup and every 30 minutes; player markers continue updating every five seconds.

  • Fallback and lifecycle: BlueMap imagery takes priority for the selected normal world. On an initial fetch failure, PlayerMap falls back to map.png, then terrain sampling; a later failure retains the last successfully loaded BlueMap image. Shutdown cancels the image worker. Nether and End are not used as BlueMap sources.

  • Configuration and documentation: The default URL matches the supplied port, http://127.0.0.1:25594. Change bluemap.base-url in plugins/PlayerMap/config.yml if the server’s address, port, or URL prefix differs.

Changed files: BlueMapImageSource.java (new), MapManager.java, PlayerMapPlugin.java, config.yml (new), and README.md. The existing optional BlueMap soft dependency remains in plugin.yml.

The fetcher follows BlueMap’s generated file-backed low-resolution tile format, including its documented PNG dimensions and tile paths. It falls back if required tiles are missing or the served format/settings are unsupported. The HTTP fetch has not been live-tested against the running server, and no build was run, as requested.

Kodari AI
KodariOct 14 at 6:59 pm 1
Compiled PlayerMapOverviewSucceeded

Implemented BlueMap background fetching, and the plugin build succeeded. It fetches flat, low-resolution BlueMap tiles for the first matching normal-world map using the local URL http://127.0.0.1:25594, then refreshes the background every 30 minutes. Player markers continue updating every five seconds; the existing image and terrain fallbacks remain available.

If BlueMap uses a different address, port, or URL prefix, change bluemap.base-url in plugins/PlayerMap/config.yml. The tile fetching hasn’t been live-tested against your server, so please check the plugin log after starting it to confirm BlueMap imagery loads.

Hose Hose

Restart server if bluemap is fetching map before playermap is plugin loaded should I restart? ( it will take 1.7h for the map

Kodari AI
KodariOct 14 at 7:05 pm 1

You don’t need to restart. PlayerMap retries fetching BlueMap’s background every 30 minutes, so if BlueMap takes 1.7 hours to render, PlayerMap should pick it up on a later retry—potentially up to 30 minutes after BlueMap finishes.

Keep the server running and check the PlayerMap log for “Loaded BlueMap flat-map tiles”. If you want it to try immediately once BlueMap is done, restart the server then; otherwise, just wait for the next retry.

Hose Hose

will the plugin attempt to fetch blue map map tiles on start of server

Kodari AI
KodariOct 14 at 7:08 pm 1

Yes. PlayerMap makes its first BlueMap tile-fetch attempt about one tick after startup, and BlueMap is configured as an optional soft dependency, so it should load before PlayerMap.

If BlueMap’s tiles aren’t ready yet, that attempt can fail; PlayerMap then tries again about every 30 minutes. If the 1.7-hour render time starts at server startup, it should next try around 2 hours after startup—roughly 18 minutes after rendering finishes. You shouldn’t need to restart just for the initial fetch.

Hose Hose

are 4 render threads alot

Kodari AI
KodariOct 14 at 7:08 pm 1

Four BlueMap render threads is a moderate setting, not automatically too many. It depends on how many CPU cores your server actually has available:

  • 8+ cores: four is usually reasonable.

  • Around 4 cores: consider 1–2 to leave more CPU for Minecraft.

  • 2 cores: start with 1.

Watch the server’s CPU usage and tick performance while BlueMap renders. If the server becomes laggy, lower the thread count; rendering may take longer, but gameplay should get more CPU time.

Hose Hose

is this important

📎 1 file 2,153 chars
📄
pasted-code-1792005062946.txt
txt 49 lines
▶
##                          ##
##         BlueMap          ##
##      Storage-Config      ##
##                          ##

# The storage-type of this storage.
# Depending on this setting, different config entries are allowed/expected in this config file.
# Don't change this value! If you want a different storage-type, check out the other example configs.
storage-type: sql

# The JDBC-Connection URL that is used to connect to the database.
# The format for this URL is usually something like: jdbc:[driver]://[host]:[port]/[database]
# The exact format of the URL is determined by the JDBC-Driver you are using.
connection-url: "jdbc:mysql://localhost:3306/bluemap?permitMysqlScheme"

# You can set any additional (JDBC-Driver specific) properties here.
# Usually that's your database user and password.
connection-properties: {
  user: "root",
  password: ""
}

# The maximum number of connections to the database that are allowed to be open at the same time.
# A negative number means unlimited.
# Default is: -1
max-connections: -1

# This can be used to load a custom JDBC-Driver from a .jar file.
# E.g. if your runtime environment is not already providing the SQL-Driver you need,
# you could download the MariaDB JDBC-Connector from https://mariadb.com/downloads/connectors/connectors-data-access/java8-connector/
# If you set this value, you HAVE TO set the correct driver-class name below.
# Place it in the './bluemap' folder and use it like this:
#driver-jar: "bluemap/mariadb-java-client-3.0.7.jar"

# This is the driver-class that BlueMap will try to load and use.
# Check the documentation of the driver you are using if you don't know this.
# Leaving this commented out means that BlueMap automatically tries to find a suitable driver in your classpath.
# If you added a custom driver-jar value above, you HAVE TO set the correct class name here.
#driver-class: "org.mariadb.jdbc.Driver"

# The compression type that BlueMap will use to compress generated map data.
# Available compression types are:
#  - gzip
#  - zstd
#  - deflate
#  - none
# The default is: gzip
compression: gzip
Kodari AI
KodariOct 14 at 7:11 pm 1

It matters to BlueMap, but PlayerMap doesn’t connect to the database directly. PlayerMap fetches map tiles from BlueMap’s web server at http://127.0.0.1:25594, so SQL storage is fine as long as BlueMap can read its database and serve the rendered tiles. With SQL storage, the map tiles may not exist as ordinary files under bluemap/web.

The main concern in this config is security: it shows MySQL user root with an empty password. If those are the real credentials, use a dedicated database user with a strong password and only the permissions BlueMap needs.

Hose Hose

make the map plugin try connect every 2 minute

Kodari AI
KodariOct 14 at 7:13 pm 1
Delegated to PlayerMapOverview Running
Change PlayerMap's BlueMap background retry/refresh interval from 30 minutes to every 2 minutes. Existing implementation is in `src/main/java/com/kodari/playermap/MapManager.java`: `BLUEMAP_REFRESH_NANOS` is currently hard-coded to `1_800_000_000_000L`, and fetches are triggered through `refreshBlueMapBackground()` from the regular player refresh. Existing `src/main/resources/config.yml` contains only `bluemap.base-url`; README says first attempt after startup and subsequent attempts every 30 minutes. Read current files before editing. Implement a clear configurable interval (preferred key `bluemap.refresh-interval-minutes`, default 2) or otherwise set an unambiguous 2-minute default; ensure retry timing after a failed attempt is also 2 minutes and preserve the immediate/first startup attempt, async fetch, no overlapping fetches, Folia safety, cached prior background, and current fallbacks. Update config defaults and README to say every 2 minutes, clarify that this is the interval between fetch attempts/refreshes and independent player markers continue every 5 seconds. Validate interval to a sane positive minimum so zero/negative or huge values don't overflow; no unrelated changes. Do not run a build. Report files changed.

I’ve started changing BlueMap fetch attempts to every two minutes, including retries if a fetch fails. The player markers will still update every five seconds. Once the change is ready, I’ll build the plugin and share the updated download.

Report from 1 project
TaskChange PlayerMap's BlueMap background retry/refresh interval from 30 minutes to every 2 minutes. Existing implementation is in `src/main/java/com/kodari/playermap/MapManager.java`: `BLUEMAP_REFRESH_NA...
  1. Add a configurable BlueMap interval, clamped to 1–1,440 minutes to keep it positive and bounded.

  2. Use it for normal and failed-attempt retry timing while leaving the existing async fetch and fallback flow intact.

  3. Update the shipped default and the README/in-game wording; no build.Changed MapManager to use bluemap.refresh-interval-minutes (default 2), bounded to 1–1,440 minutes. The existing first attempt, async fetch, non-overlap guard, cached background, and fallbacks remain intact; the next attempt is scheduled after the current attempt completes, including on failure. Updated the README and in-game refresh item text. No build run.

Files changed: MapManager.java, config.yml, README.md.

Kodari AI
KodariOct 14 at 7:14 pm 1
Compiled PlayerMapOverviewSucceeded

Done—the BlueMap background now refreshes or retries every 2 minutes by default. You can change bluemap.refresh-interval-minutes in plugins/PlayerMap/config.yml (accepted range: 1–1,440 minutes). Player markers still update every five seconds. The plugin build succeeded.

Hose Hose

should I setup sql server or no

Kodari AI
KodariOct 14 at 7:15 pm 1

You don’t need SQL for PlayerMap. It fetches BlueMap tiles over BlueMap’s web server.

But the BlueMap config you shared says storage-type: sql, so BlueMap itself needs a working SQL database with the configured connection. If you haven’t set one up, either configure MySQL/MariaDB with a dedicated database user (not root with a blank password), or switch BlueMap to its file-based storage configuration. For a single server, file storage is usually simpler.

Hose Hose

Can you remove fallback normal map since normal map doesnt work and just try to fetch blue map at all and if it doesnt work display anything it can even corrupted or empty data

Kodari AI
KodariOct 14 at 7:17 pm 1
Delegated to PlayerMapOverview Running
Update the existing PlayerMap plugin to make BlueMap the ONLY background source, per user request. Current `MapManager.java` currently has BlueMap fetch/cache (`BlueMapImageSource`), plus optional `plugins/PlayerMap/map.png` custom background and terrain sampling fallback. User says the normal-map fallback is not working and wants PlayerMap to attempt BlueMap only; if BlueMap cannot be fetched, show whatever data is available, even if empty/partial, rather than falling back to the other map sources. Read current source and config/README first. Implement a safe, explicit behavior: keep initial/immediate BlueMap fetch and configurable 2-minute retry, keep cached last-successful BlueMap image; remove/disable custom map.png background and terrain sampling as background fallbacks. If no BlueMap image has ever loaded or fetch fails, display an empty/neutral/partial map background (never intentionally corrupt data), while still showing player markers and tooltips and retrying. Handle partial/missing tiles with a clear neutral placeholder rather than silently using map.png/terrain. Remove obsolete background-loading code/fields/imports carefully if no longer used; retain safe Folia behavior, async fetching, no overlap guard, marker refresh interval, and shutdown behavior. Update `config.yml` and README to explain that BlueMap tiles are now the sole background source, empty/gray means BlueMap data unavailable, and checking BlueMap webserver/storage/map rendering/base URL is required; retain exact current configuration defaults unless an obsolete option should be removed. Do not change unrelated UI/markers. Do not run build. Report exact behavior and files changed.

I’ve started removing the map.png and terrain fallbacks. If BlueMap tiles aren’t available, the map will show a neutral empty background with player markers and keep retrying every two minutes; it won’t deliberately display corrupted data.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code