Commit Graph

81 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
SydMontague
b3f9b6da6b Version 1.0.8 2021-07-12 15:00:23 +02:00
SydMontague
27f08057d6
Merge pull request #39 from DerEnderKeks/glowing-frames
Implemented glowing item frames
2021-07-12 14:42:41 +02:00
SydMontague
20b3617169
Merge pull request #38 from DerEnderKeks/docs-cmd-delete
Documented delete sub command in README.MD
2021-07-12 14:42:25 +02:00
DerEnderKeks
e9fbd492c2 Documented delete sub command in README.MD 2021-07-11 15:12:48 +02:00
DerEnderKeks
a3c5393733 Auto format + import optimization 2021-07-11 15:08:41 +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
eb9671c8e6
Merge pull request #32 from DerEnderKeks/master
Delete sub command and download optimizations
2021-05-21 12:18:18 +02:00
DerEnderKeks
84a014605a Reinstated null check and did some cleanup 2021-05-18 14:39:39 +02:00
DerEnderKeks
af5804c92b Typo + indentation 2021-05-18 11:58:38 +02:00
DerEnderKeks
173c2391a5 Implemented delete sub command
Deletes an image from file system and image cache and removes associated renderers
2021-05-18 11:49:21 +02:00
DerEnderKeks
61160f97f0 Properly handle already existing images when downloading one 2021-05-18 11:43:18 +02:00
DerEnderKeks
afea802cd2 Set proper User-Agent when downloading images
This way CDNs don't block the request
2021-05-18 11:41:44 +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
74db534166 That was supposed to be here... 2021-02-13 14:43:16 +01:00
SydMontague
9831c82e71 Prevent inputs <= 0 for getSubImage calls in the renderer 2021-02-13 14:41:02 +01:00
SydMontague
5c556b2f1a Make clear a Spigot server is required. 2020-10-04 00:17:31 +02:00
SydMontague
3670fab4c7 Add description and permission-message to the command 2020-10-03 23:38:31 +02: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
26862c3b5a Mention toggle item in README, potentially fix tracking arrow showing 2020-09-04 22:47:08 +02:00
SydMontague
07991df33b Fix README and command help 2020-09-04 22:17:19 +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
a15f79e287 Improve list UX, filter invalid maps 2020-07-23 17:45:51 +02:00
SydMontague
d9ff43a78a Mention imagemaps.* permission node 2020-07-21 14:33:07 +02:00
SydMontague
f7426aa957 Fix error in README 2020-07-21 14:29:06 +02:00
SydMontague
dfd92db550 FIx Image text being slightly cut off 2020-07-21 14:28:13 +02:00
SydMontague
657556f2a3 Contact options as list 2020-07-21 14:25:34 +02:00
SydMontague
7c5e942578 Fix Markdown 2020-07-21 14:24:43 +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
0fc7586df3 Added ImagePlaceEvent 2020-02-15 17:03:56 +01:00
SydMontague
1d44dea49e Changed event priority from MONITOR to HIGHEST
MONITOR handlers are not supposed to change the event
2019-09-23 02:43:15 +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
eb3a898b91
Merge pull request #10 from BaronyCraft/master
Some new features and changes
2019-04-06 13:27:57 +02:00