SydMontague / ServerMinimap

Serverside Minimaps for Bukkit
21 stars 12 forks source link

Suggestion: Add Other Player Cursors to Edge of Map #6

Open luckofthelefty opened 4 years ago

luckofthelefty commented 4 years ago

Hey there,

I forked the repo so I could make this change but I can't resolve or find artifact de.craftlancer:serverminimap-nmshandler:pom:API.

Anyways, in your class MinimapRenderer you have:

e.getCursors().add(new ExtraCursor(x, z, player == p || event.isCursorShown(), event.getType(), direction, p.getWorld().getName(), false));

where false is the boolean for:

@param outside - whether the cursor is shown at the edge of the map, if it isn't within the bounds of the map

as found in your ExtaCursor class.

If we could get this moved to the config file as 'showDistantPlayers' or something it would be much appreciated.