Commit Graph

45 Commits

Author SHA1 Message Date
SydMontague b70a163c3c Update 1.0.11
- potentially fix color cache error
- added /imagemap cleanup command
- added /imagemap debuginfo command
2023-05-01 11:05:42 +02:00
SydMontague 67ed74b006 Fix error when interacting with entities in <1.17 versions 2021-08-13 15:51:22 +02:00
SydMontague b1216b016f Fix invisible/fixed toggle not working on glowing item frames 2021-08-06 12:49:43 +02:00
DerEnderKeks 551b407803 Implemented glowing item frames 2021-07-11 15:06:47 +02:00
SydMontague 5c0a854ba3 Reduce performance impact of rendering, fixed scaling bug 2021-07-08 16:46:28 +02:00
SydMontague 108812785e Update spigot repo to https 2021-05-09 22:29:30 +02:00
SydMontague 66d2cc474a Improve handling of filenames containing spaces 2021-05-09 22:28:58 +02:00
SydMontague fa6588be58 Improve verification of downloaded files.
Any file could be downloaded as long as the webserver claimed they were
images. This can allow a compromised or malicious server to serve any
kind of data to the requesting server, including executable code.

The risk for this being exploited is very minimal, the downloaded files
can't be executed or used for anything malicious without either another
exploit or additional actions by a malicious, compromised or
non-suspecting user.

Nethertheless, this update adds an additional verification layer making
sure the downloaded file is a valid image file. It additionally stores
the image as PNG on disk, regardless of the filetype of the download,
stripping the file of potential "baggage" as you might find in polyglot
files.

As a general rule of thumb you should
* always use a secure connection to download files (https)
* only give trusted and properly secured users access to the download
functionality
* only download from trusted sites
* preferably upload the images manually
2021-02-19 21:02:23 +01:00
SydMontague 8a509043a5 Fix 1.13 incompatibility 2021-02-13 17:06:36 +01:00
SydMontague f12302c800 Made artifactId lower case, because apparently GitHub doesn't like it? 2021-02-13 14:55:15 +01:00
SydMontague 9831c82e71 Prevent inputs <= 0 for getSubImage calls in the renderer 2021-02-13 14:41:02 +01:00
SydMontague 271cccb253 Version Bump 2020-09-09 14:03:00 +02:00
SydMontague c79f438a5f Version 1.0.3 2020-09-09 13:42:05 +02:00
SydMontague ab0a674742 Version Bump 2020-08-26 02:24:53 +02:00
SydMontague 6aba1d1c5a Version 1.0.2
* made item used to toggle fixed/visible configurable
* fix interaction with toggle item when permission is lacking
* fix exception thrown when maps.yml doesn't exist
2020-08-26 02:23:28 +02:00
SydMontague 2dc1c7bb6b Version Bump 2020-07-23 19:54:41 +02:00
SydMontague 4a2978889c Version 1.0.1
Fixed project setup mistakes
2020-07-23 19:13:33 +02:00
SydMontague 14723da294 Fix groupId 2020-07-23 19:11:03 +02:00
SydMontague 47e37768d8 Bump version to 1.1.0-SNAPSHOT, fix README 2020-07-23 19:10:12 +02:00
SydMontague d747fba0ec Release 1.0.0 2020-07-23 18:37:37 +02:00
SydMontague bb7fdba9b7 Updated package, added license, added readme 2020-07-21 14:20:24 +02:00
SydMontague c1c1be04cb GitHub Actions integration 2020-07-19 00:42:15 +02:00
SydMontague 075bf2a098 Complete Rework
- supports 1.13 and up
- support bottom/top side placement for 1.14+
- support for fixed/invisible property in 1.16+
- complete UX rework
	- better command structure
	- more colors
	- better documentation
- removed fastsend, since it's obsolete in modern version
- GitHub Actions Continuous Integration
2020-07-18 23:55:43 +02:00
SydMontague 6399c4478b Release Version 0.5.0
Huge shoutout to BaronyCraft for contributing these features!
- Prevent users from escaping the /images folder
- allow reloading images from console
- cancel placement by right clicking air (requires item in hand)
- allow downloading images from the web to the /images folder
-- /imagemap <fileName> download <URL>
-- requires imagemap.download permission
- /imagemap <fileName> info command to get dimensions of image
- display space requirements before placement
- added scale parameter
-- /imagemap <fileName> scale <tilesX> <tilesY>
-- scales to fit in given constraints, but keeps aspect ratio
2019-04-06 15:17:43 +02:00
SydMontague 2ce1e361f1 Stop using player names as key in Maps...
Adjusted BaronyCraft's code for a release
- check for RIGHT_CLICK_AIR event to cancel selection (requires item in
hand)
- changed some messages a bit
- formatted the code to be more in line with my style
2019-04-06 15:12:30 +02:00
SydMontague abd3c93574 Changed MapIDs from short to integer to comply with Bukkit changes
Improved Tab-Complete for /imagemap command
Removed unused MCStat stuff from pom.xml
2019-02-07 14:08:16 +01:00
SydMontague ea680663eb Updated to Version 0.4.5
Fixed some 1.13 incompatibilities
2018-07-30 02:21:09 +02:00
SydMontague d5b15b78bf Update to Version 0.4.4
Fixed new maps not working in 1.13, should break for anything older!
Removed Metrics
2018-07-24 20:13:42 +02:00
SydMontague c0feeb524c The plugin now checks if there is enough space for the Image
It also now throws an error message if there are any hanging entities
which block the to-be-spawned ItemFrame. Unfortunately it's a dirty
hack...
2016-03-04 16:26:23 +01:00
SydMontague bf0179dbdf Updated for 1.9
This update drops support for Versions <1.8
2016-03-02 23:03:41 +01:00
SydMontague bce3907086 Added compatibility for Spigot's 1.8 CraftBukkit builds. 2015-01-08 20:55:32 +01:00
SydMontague 8999b139f2 Updated pom.xml to 0.5.0-SNAPSHOT 2014-04-28 12:02:59 +02:00
SydMontague 3726c620d6 Updated to 0.4.0 2014-04-28 12:02:25 +02:00
SydMontague 507d6cad23 Update pom.xml 2014-03-17 18:03:06 +01:00
SydMontague eb9e175ace Update to 0.4.0-SNAPSHOT for further development 2014-03-15 16:16:01 +01:00
SydMontague 05d24ccb7e Updated to Version 0.3.1
also, removed a old debug text...
2014-03-15 15:45:47 +01:00
SydMontague 0037cc6735 Get Metrics from Maven 2014-02-11 21:30:54 +01:00
SydMontague 1f43fb6bc3 Update POM to 0.4.0-SNAPSHOT for further development
(and to test Jenkins)
2014-01-29 00:47:49 +01:00
SydMontague 8eeae29893 Updated to 0.3
Added fastSend support, allowing you to define maps that will be sent
as a whole to the player.
2014-01-23 12:55:40 +01:00
SydMontague f4d4b2531b Update to 0.2.1
Fixed bug that removed images caused maps to not load.
2014-01-09 23:47:17 +01:00
SydMontague bdcf0ce2a4 Updated to Version to 0.3-SNAPSHOT 2014-01-04 14:13:05 +01:00
SydMontague 8325b8af25 Updated to Version 0.2 2014-01-04 14:11:30 +01:00
SydMontague 246807c5a1 Updated version to 0.2-SNAPSHOT 2013-12-30 15:53:11 +01:00
syd 4006029e5a fix pom.yml format 2013-12-30 14:23:20 +01:00
SydMontague c94ce19270 initial commit 2013-12-30 14:20:34 +01:00