LOOHP / ImageFrame

Put images on maps and walls!
https://www.spigotmc.org/resources/106031/
GNU General Public License v3.0
43 stars 12 forks source link

Allow get to be used from console with <username> #61

Closed TomLewis closed 1 month ago

TomLewis commented 1 month ago

I want to give maps from NPCs from quests as a reward, players can not make their own maps in-game using the plugin.

But the issue is, there is no command to give a player a map from console;

  1. Theres no global map database, its tied to players, so you would need the name of the player that saved the map, and also the name of the map and the name of the player you want to give it to.
  2. The players are in survival and require a blank map to generate a map, so this needs to be bypassed
  3. Needs to be able to be run from console

It would look something like this; /imageframe get <usernameThatSavedMap> <mapName> <usernameToGiveMap>

LOOHP commented 1 month ago

You can create the maps using one of your admin accounts. Then you can give them to players via /if get <owner>:<map_name> [combined] <target_player>

This will not require the player to have any blank maps.

TomLewis commented 1 month ago

Holy crap that speed for replying!

I cant belive it exists nearly exactly as I requested LOL Thats litearlly perfect, thank you.

Closed.

TomLewis commented 1 month ago

Can you update your spigot docs with Thai command please.