ImageOnMap

ImageOnMap

148k Downloads

[Feature] Be able to click maps

ArnaudLier opened this issue ยท 4 comments

commented

Hello! It would be great if you add something to send a message/open a link to the player when he clicks a specified map or at a certain point of this map.
Example of a button on a map with particles to indicate that you can click it:
cba09b2b17f011982ab7d787a4103be9

commented

What do you think of a config file like this:
-Maps: InterractiveMapID
-Button:

Polygon: (50,60),(40,70),(45,100),(50,240),(150,60)

Command: tp 500 64 -25

Polygon points are in pixels from the top left corner (x,y), can be used to identify the person who click on the button

commented

Yeah, that's good.

commented

Hi, we were planning to use paper as an edit tool to select maps where you want to assign a command (can be a message+link or a teleportation), it will turn the map renderer green for example to show the selection and with a command like /maptool interractat . It's a good idea to add particules to it, we can use a custom GUI to select the type of particule,
We can also allow to use a more complexe selection (not in game ) in order to have narrower buttons .

By the way your name seems familiar, are you related to ZeProf2Math?

commented

@Vlammar No, that was just a joke username but I kept it until now ๐Ÿ˜‚