Commit Graph

144 Commits

Author SHA1 Message Date
Mike Primm
4610bba449 Update bstats to 2.2.1 2021-11-12 17:44:33 -06:00
Terin Stock
2e382ae160 fix: explicitly set sign lines
Minecraft allows for plugins to retrieve the text of a newly created or
modified sign through the `SignChangeEvent.getLines()` method. In
vanilla, the lines returned can be mutated, however a
`SignChangeEvent.setLine(idx, text)` method exists.

PaperMC has internally switched most user-facing text to using the
Adventure Text components, to better support text styling and optimize
serializations. For backwards compatibility with most plugins, PaperMC
retains deprecated `getLines` and `setLine` methods by providing a
legacy serialization view of the Aventure components, however mutations
of the returned list are ignored.

This changeset calls `setLine` after all event listeners ran, allowing
PaperMC to preserve the sign mutations.
2021-08-29 21:53:54 -07:00
BrainStone
b7c88f9911
New materials don't even have an ID anymore
Handle that case as well.

Honestly the best solution would be to just get rid of getBlockIDAt as it's only used in two places where it could be trivially replaced
2021-07-18 03:27:59 +02:00
BrainStone
f6c45adc5f
Added a fallback for the case when numerical IDs have been removed from Bukkit
This fixes webbukkit/dynmap#3418.

The idea is to catch the case when numeric IDs have been removed from the code base and to then just use a fallback. Also doing it this way ensures maxium longevity, as `Material#getID` will be among the last ones removed, while other methods to get the numerical ID will get likely get removed earlier
2021-07-18 03:19:56 +02:00
Aniket
97c250fea8 Fix typo in configuration.txt 2021-07-13 19:53:24 +01:00
Mike Primm
c3ef1c6839 Handle deprecated materials 2021-07-11 11:54:03 -05:00
Kosma Moczek
310a635b87 spigot: fix resource handling on Gradle 7 2021-06-27 15:28:05 +02:00
Kosma Moczek
cf121956c3 build.gradle: rename compile -> implementation 2021-06-27 13:51:12 +02:00
Mike Primm
049bbeda83 Add api-version 1.13 2021-06-26 13:54:59 -05:00
Kian Kasad
788a78bbe0
Use updated method of getting SkinsRestorer API 2021-06-20 09:22:07 -07:00
Kian Kasad
04c494f127
Update SkinsRestorer dependency to v14.1.0-SNAPSHOT 2021-06-20 09:16:59 -07:00
Mike Primm
e72ce6ed8b Initial building/running Spigot 1.17 code... still very incomplete 2021-06-11 21:59:04 -05:00
stepech
0ae5694ae6
Update SkinsRestorer hook to v14 API 2021-03-04 20:49:47 +01:00
Mike Primm
d584771549 Add config comments for postgresql 2021-02-07 23:14:09 -06:00
Ben Lönnqvist
3f821a902d
added option webp-l to use lossless webp #3191 2021-01-08 23:45:30 +02:00
Thomas Janssen
c7fa125bdc Fixed issue where the BukkitVersionHelperSpigot116 would be incorrectly loaded for newer versions. 2020-11-05 09:52:33 +01:00
Thomas Janssen
426346f48a Removed personal comments from Helper 2020-11-04 08:24:05 +01:00
Thomas Janssen
8ad0cff1b5 Updated bukkit/spigot build for minecraft 1.16.4 2020-11-03 21:49:40 +01:00
Mike Primm
87b57d5639 Add defaults to configuration.txt for webp 2020-10-25 18:59:22 -05:00
Mike Primm
2568670455 Add Spigot 1.16.3 support 2020-09-10 22:18:51 -05:00
Mike Primm
123d005adf Add fix for Vault permission provider 2020-08-16 01:16:29 -05:00
Mike Primm
c867735c1a Add 1.16.2 support for Spigot 2020-08-12 21:40:06 -05:00
Mike Primm
24b2a00d23 Add /dmap worldgetlimits, worldaddlimit, worldremovelimit commands 2020-07-04 18:02:30 -05:00
Mike Primm
6efaa8187b Update configuration.txt for block-alias example 2020-06-27 17:59:53 -05:00
Mike Primm
51ebdc6f31 Initial 1.16.1 support - get it running 2020-06-25 19:29:03 -05:00
Mike Primm
295d799b50 Add enterReplacesExits setting for greeting/farewell 2020-05-30 20:29:16 -05:00
Mike Primm
c6d0d25ae0 Add enter/exit settings in configuration.txt 2020-05-25 20:15:40 -05:00
Mike Primm
5e15187e46 Finish support for greeting/farewall text on area markers 2020-05-25 13:55:36 -05:00
Mike Primm
04aafb54da Switch format default for clean config files to jpg-q90 2020-05-16 19:24:36 -05:00
mikeprimm
f151cdc84f
Merge pull request #2896 from owlnull/v3.0
Add skins support via SkinsRestorer plugin
2020-05-16 16:18:17 -05:00
Mike Primm
6fcfa7c3e6 Get build clean with retired components 2020-05-16 16:17:32 -05:00
Mike Primm
b7dc453879 Drop unsupported versions (1.13.0, 1.13.1, 1.14.0) 2020-05-16 13:29:39 -05:00
Mike Primm
15cf132ada show-mc 2020-05-02 17:50:22 -05:00
owlnull
c7cb56bc1d Fix plugin crash caused by SkinsRestorer integration
SkinsRestorer integration now just shows warning instead of plugin crash when SkinsRestorer not installed and integration enabled
2020-04-28 15:10:25 +05:00
owlnull
ef2a45ab2a Made dependency SkinsRestorer compileOnly 2020-04-26 13:09:12 +05:00
owlnull
1ffa0e24ff Fix NullPointerException in SkinsRestorerSkinUrlProvider.getSkinUrl during joins player without skin 2020-04-23 07:23:12 +05:00
owlnull
578c66e2fe Add skins support via SkinsRestorer plugin 2020-04-23 06:39:54 +05:00
mikeprimm
781238dad9
Update plugin.yml 2020-04-12 19:41:18 -05:00
mikeprimm
9e70e2ce53
Merge pull request #2769 from PEXPlugins/feature/vaultperms
Add Vault compatibility and fix PEX v2 usage
2020-04-12 19:40:25 -05:00
mikeprimm
57bd7db63c
Update plugin.yml 2020-04-12 19:40:14 -05:00
mikeprimm
11dd0cff5b
Update plugin.yml 2020-04-12 19:38:20 -05:00
mikeprimm
7f7ab08fe5
Merge pull request #2841 from paulstraw/feature/worldborderlabel
Add `worldborderlabel` configuration.txt setting
2020-04-12 19:31:06 -05:00
mikeprimm
d3d711b038
Add Reddit URL 2020-04-12 19:26:00 -05:00
Paul Straw
3937ece59a Adds worldborderlabel configuration.txt setting 2020-04-02 22:01:30 -07:00
Zach Levis
23e1bd2c59 spigot: Add Vault permissions provider
This allows performing permissions checks using any plugin that
implements the Vault interfaces without having to provide direct
support, including for offline players.
2020-01-26 20:45:29 -08:00
Zach Levis
aee27a10d4 spigot: For PEX provider, check class presence
Previously, just the plugin name was checked, which meant that Dynmap
would crash on servers running PEX 2 rather than falling back to another
provider such as superperms or op
2020-01-26 20:44:54 -08:00
Mike Primm
10529e1049 Update for 1.15.2 Spigot 2020-01-22 11:06:09 -06:00
mikeprimm
96aa816227
Merge pull request #2710 from MitchTalmadge/v3.0
Use Material instead of Block ID in SignChangeEvent and BlockEvent (Fixes #2699)
2019-12-20 20:38:03 -06:00
Mike Primm
178681d284 Revert api-version change - problems with 1.15.1 2019-12-20 20:26:18 -06:00
Mitch Talmadge
a3cb46e286 Change 'int blkid' to 'String material' for block and sign-change events. 2019-12-19 21:36:09 -07:00
Mike Primm
ad621306e8 Update for Spigot 1.15.1 2019-12-17 19:06:12 -06:00
mikeprimm
2c5a467985
Merge pull request #2585 from TheDGOfficial/patch-1
Fix missing api-version warning
2019-12-15 13:15:51 -06:00
Mike Primm
b966903331 Use LuckPerms 4 API for older LuckPerms, and 5 for newer ones 2019-12-15 12:53:50 -06:00
Mike Primm
10d03ef2ee More PR merge fixes... 2019-12-15 01:08:31 -06:00
mikeprimm
bf404ee626
Merge branch 'v3.0' into v3.0 2019-12-15 00:46:31 -06:00
mikeprimm
33b4fb7042
Merge pull request #2584 from tiagoad/v3.0
Fix for disappearing sign-markers on 1.14 (Issue #2533)
2019-12-15 00:44:27 -06:00
mikeprimm
69e42c83db
Merge branch 'v3.0' into v3.0 2019-12-14 22:09:42 -06:00
mikeprimm
700259f979
Merge pull request #2691 from JAysz0n/v3.0
Added support for 1.15
2019-12-14 21:58:48 -06:00
mikeprimm
e14179bff6
Merge pull request #2670 from SijmenSchoon/v3.0
Update LuckPerms and bStats
2019-12-14 13:38:29 -06:00
mikeprimm
bc72cb0e6f
Merge pull request #2655 from EnKrypt/patch-1
Fixed typo in config file comment
Thanks!
2019-12-14 08:28:58 -06:00
mikeprimm
40dcd8748d
Merge pull request #2649 from pavog/patch-1
Fix typo for "LuckPerms" in plugin.yml softdepend

Thanks!
2019-12-14 08:28:28 -06:00
mikeprimm
72cae6fc74
Merge pull request #2644 from MiniDigger/patch-1
Add new repo for bStats, fixes #2643

Looks good - thanks!   All my machines have things cached, so missed this impact
2019-12-14 08:27:46 -06:00
pk910
73bab0a37f experimental spigot 1.15 support 2019-12-12 21:27:39 +01:00
BuildTools
ebd883b1c2 Added support for 1.15 2019-12-12 21:15:11 +01:00
Sijmen Schoon
9e7174dcde
Update LuckPerms and bStats 2019-12-01 03:38:05 +01:00
Arvind Kumar
016441fdab Fixed typo in config file comment 2019-11-12 23:51:10 +05:30
Paul Vogel
e9518fd048
Fix typo for "LuckPerms" in plugin.yml softdepend 2019-11-05 13:53:10 +01:00
MiniDigger
95f727d61c
Update bStats to 1.5 2019-11-04 17:29:28 +01:00
Gabriel Hautclocq
9cf3b74609 fixed disappearing markers (webbukkit#2533), many thanks to tiagoad 2019-10-04 00:51:57 +02:00
Mustafa ÖNCEL
778327cad4
Fix missing api-version warning 2019-08-15 02:43:47 +03:00
Tiago Dias
8fc95bfc96 Fix for disappearing sign-markers on 1.14 (Issue #2533) 2019-08-14 12:41:24 +01:00
Justin Su
8ca0da72f1
Remove duplicate of onblockfade trigger 2019-07-22 07:54:07 -04:00
Mike Primm
e046f2576c Reuse 1.14.x helper for supporting 1.14.4 2019-07-21 12:39:17 -05:00
Mike Primm
286a12c4ef Add experimental option to try to migrate old chunks 2019-06-09 09:59:08 -05:00
mikeprimm
881b7dfefd
Merge pull request #2498 from stormboomer/v3.0
Added functionality for restarting the scheduled job that stores markers
2019-06-09 07:31:27 -05:00
Mike Primm
e9487d796c Prep for 1.14.3 2019-06-08 22:27:29 -05:00
Mike Primm
9746dc19f4 Fix server name to use MOTD on 1.14.x 2019-06-08 21:58:00 -05:00
Mike Primm
a2af65add6 Fix 1.14 biome shading 2019-06-05 19:36:54 -05:00
Stormboomer
39053e36d9 added method to call marker save scheduled job to Dynmap Core, so that MarkerAPIImpl can be private and might not be used directly by other devs. 2019-06-02 13:27:19 +02:00
Stormboomer
0b8118566c Added functionality for restarting the scheduled job that stores markers to markers.yml.
This should fix problems with markers not being stored after a dynmap reload, as well as vanishing markers.
2019-06-01 20:03:10 +02:00
Mike Primm
f69ce760f0 Bump to use 1.14.1 support for 1.14.2 2019-05-28 10:47:56 -05:00
Mike Primm
5ba25420a0 Add 1.14 lantern 2019-05-26 00:07:01 -05:00
Mike Primm
05de32fcfb Initial 1.14.1 support 2019-05-13 23:41:10 -05:00
Mike Primm
e8ec7da47d Get gspigot 1.14 runnin 2019-04-27 18:55:19 -05:00
Mike Primm
6f7ccbf7d9 Start spigot 1.14 support 2019-04-27 16:46:34 -05:00
Azarias Boutin
87638c6bf5 Added LuckPerms to the permissions for spigot 2019-03-20 07:03:47 +01:00
Mike Primm
6b5c546ae9 Add forum and issue tracker URLs 2018-12-08 23:01:04 -06:00
Mike Primm
3650dc7d2a Fix scaling of player health bar 2018-12-07 21:33:35 -06:00
Mike Primm
b24f92cdd0 Add blockname and statename support to CTM 2018-12-04 00:44:22 -06:00
Aaron Harabedian
36e5b7e391 Added MySQL connection flags option "flags" in configuration.txt 2018-11-28 02:33:21 -05:00
Mike Primm
54ed4c7842 Add 1.13.2 Spigot support 2018-10-22 18:52:41 -05:00
Mike Primm
a7c2ddbf99 Clean up version and build for Forge 2018-09-03 19:19:04 -05:00
Mike Primm
79632814d0 Add initial 1.13.1 support - keep 1.13 support for now 2018-08-26 16:48:29 -05:00
Mike Primm
1babea2ace Shift spigot version to more appropriate path 2018-08-23 23:14:55 -05:00