DISCLAIMER: I'm very busy at the moment and I don't have time to update the plugin. I'll update it in the future, but not soon.
You can use this plugin to place image around in your server!
You have to put your images into the plugin folder.
To reload the images do /reloadmaps
Place Images:
Simply do /placemap and place an itemframe:
Now select an image from images in plugin folder:
And here we are: you placed your image
Extras:
You can delete images shift-clicking them.
You can edit or remove images only in placer mode. To enter/exit placer mode use /placemap.
Images size is 128 x 128. If you put larger image it will be scaled.
Don't touch saves.dat file.
Sprays Feature:
How to place Spray's ItemFrame:
Place an itemframe in placer mode and click here:
/setimage <player> <imageName>
Use this command to set a spray to a player.
The player can place sprays only on empty itemframes placed by placer (use /placemap before placing them) and the player mustn't be in placer mode to place sparys.
/resetimage <imageName>
Remove the active spray from the player.
N.B.:
The players have only one active spray!
AutoDownload Images:
(Only tested with Imgur)
Use /imagedownload <link> <imageName>
Permissions:
img.*
img.place
img.download
img.reload
img.image (this give the permission to place all the images)
img.image.<imageName>.<imageExtension> (per image permission) ( Example: img.image.background.png)
Config:
Spoiler: Config.yml
Code (YAML):
##################################################################################
# .___ __________ .__ #
# | | _____ ____ \______ \| | _____ ____ ____ _______ #
# | | / \ / ___\ | ___/| | \__ \ _/ ___\_/ __ \\_ __ \ #
# | || Y Y \/ /_/ > | | | |__ / __ \_\ \___\ ___/ | | \/ #
# |___||__|_|__/\___ / |____| |____/(______/ \_____>\_____>|__| #
# /_____/ #
# #
##################################################################################
# Select if enable auto-updater
Autp-Updater : true
# Select if show image item in menu else the player hasn't permission
Show-Image-With-No-Perms : true
# Select if enable a whitelist for the block where images can be placed
Whitelist-Blocks : false
# A list for block whitelist, use it only if Whitelist-Blocks are enable
# For the list use Materials (https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html)
Block-List : [ ]
# .___ __________ .__ #
# | | _____ ____ \______ \| | _____ ____ ____ _______ #
# | | / \ / ___\ | ___/| | \__ \ _/ ___\_/ __ \\_ __ \ #
# | || Y Y \/ /_/ > | | | |__ / __ \_\ \___\ ___/ | | \/ #
# |___||__|_|__/\___ / |____| |____/(______/ \_____>\_____>|__| #
# /_____/ #
# #
##################################################################################
# Select if enable auto-updater
Autp-Updater : true
# Select if show image item in menu else the player hasn't permission
Show-Image-With-No-Perms : true
# Select if enable a whitelist for the block where images can be placed
Whitelist-Blocks : false
# A list for block whitelist, use it only if Whitelist-Blocks are enable
# For the list use Materials (https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html)
Block-List : [ ]
Spoiler: With Show-Image-With-No-Perms: true
Video:
Coming soon...
Developer API:
Git Hub Link
Spoiler: Code
Code (Java):
public
final
class ImgAPI
{
public static List <ItemFrame > getItemFrames ( )
@Nullable
public static ItemFrame getItemFrame (UUID u )
@Nullable
public static String getImageName (ItemFrame i )
@Nullable
public static String getImageName ( Image i )
public static Image download ( String URL, File file ) throws IOException
public static Image getImage ( String name ) throws IOException
public static HashMap < String, Image > getImages ( )
public static ItemFrame spawnItemFrame (Location l, BlockFace bf )
public static Map setMap ( String imageName, ItemFrame... i ) throws IOException
public static Map setMap ( Image image, ItemFrame... i )
public static void setEmpty (ItemFrame... i )
public static void removeItemFrame (ItemFrame i )
public static void loadImage ( Image img, String imageName )
public static void unloadImage ( String imageName )
public static void setSpray (Player p, String imageName ) throws IOException
public static void setSpray (Player p, Image image )
public static void removeSpray (Player p )
public static void resetOnRestart (ItemFrame... i )
public static boolean compareImages ( Image imgA, Image imgB )
// Method made by Mr. Polywhirl
public static boolean compareImages ( BufferedImage imgA, BufferedImage imgB )
}
public static List <ItemFrame > getItemFrames ( )
@Nullable
public static ItemFrame getItemFrame (UUID u )
@Nullable
public static String getImageName (ItemFrame i )
@Nullable
public static String getImageName ( Image i )
public static Image download ( String URL, File file ) throws IOException
public static Image getImage ( String name ) throws IOException
public static HashMap < String, Image > getImages ( )
public static ItemFrame spawnItemFrame (Location l, BlockFace bf )
public static Map setMap ( String imageName, ItemFrame... i ) throws IOException
public static Map setMap ( Image image, ItemFrame... i )
public static void setEmpty (ItemFrame... i )
public static void removeItemFrame (ItemFrame i )
public static void loadImage ( Image img, String imageName )
public static void unloadImage ( String imageName )
public static void setSpray (Player p, String imageName ) throws IOException
public static void setSpray (Player p, Image image )
public static void removeSpray (Player p )
public static void resetOnRestart (ItemFrame... i )
public static boolean compareImages ( Image imgA, Image imgB )
// Method made by Mr. Polywhirl
public static boolean compareImages ( BufferedImage imgA, BufferedImage imgB )
}
Spoiler: Events
InteractItemFrameEvent
RemoveItemFrameEvent
RemoveItemFrameEvent
To Do:
- Command for downloading image from url ✓
- Auto Updater ✓
- Per image permission ✓
- Config ✓
- Developer API ✓
- Per Spray Permission ✘
- Multiple Sprays per player ✘
- Suggest ideas here
Befor posting a bad review pm me or on spigot or on git hub
Java 8 is required!
For bugs: GIT HUB
Metrics
(Skull class and Reflection class took from Hex Utils)
(Auto-Updater made with Spiget API)
For bugs: GIT HUB
Metrics
(Skull class and Reflection class took from Hex Utils)
(Auto-Updater made with Spiget API)
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.9, 1.10
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
ImgPlacer - With Sprays Feature is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 1,710 times (via Spigot). Download it and open it directly in the game.