Commit Graph

1143 Commits

Author SHA1 Message Date
312b2ad1a8 Send the bStats ID 2020-01-24 18:10:19 +01:00
0953b5627e Add bStats plugin version
bStats 1.7 requires plugins to have an ID to submit data.
2020-01-24 16:08:48 +01:00
57af89f1d0 Merge pull request from SynergyMC/breaking
Revert teleportation behavior to pre-4.400
2020-01-22 21:23:25 -05:00
9a626ea1de Deprecate metrics methods
Metrics are controlled via bstats config for some time now. The config option in settings.yml has already been deprecated in the past.
2020-01-10 14:18:38 +01:00
3aa554c52b Implemented optional specification of teleport causes
This should have backwards-compatibility for any users of the API but would require an update from anything reimplementing (for whatever reason) the interfaces amended by this commit.
2020-01-02 18:29:12 -10:00
0f39df0e0b Revert teleportation behavior to pre-4.400 2019-12-31 16:05:53 -10:00
519d3ee2d6 Fix 'Unable to find method createTag' on 1.15 servers ()
* Fix 'Unable to find method createTag' on 1.15 servers ()

Mojang apparently refactored their NBT code in 1.15, so the NBT
parsing code in NbtFactory that used Mojang's NBT code via Reflection
broke. Since PlotSquared now depends on WorldEdit, it is much easier
to use their NBT parsing library than to update the Reflection-based
code.

* Clean up NBT streams properly
2019-12-23 20:35:37 +00:00
ccc7b0ec65 Fix no such method error 2019-12-20 06:03:23 +00:00
e54cf24248 Fix interact handling for sneaking players 2019-12-18 19:42:57 +01:00
3bb40a8fff Fix that players cannot place hanging entities 2019-12-17 21:04:44 +01:00
9fd29b264e Some logging operations to check for tps loss. 2019-12-15 13:08:02 -05:00
478c761750 More PlayerEvent fixes. 2019-12-15 12:53:16 -05:00
ed8fa0a2a5 Revert changes to BlockPlaceEvent 2019-12-10 17:53:55 -05:00
07b6942690 Minor code tweaks 2019-12-09 14:43:53 -05:00
9925a320f5 Fix event listeners 2019-12-06 21:16:09 -05:00
7e58f4341e Minor fixes and performance improvement 2019-12-02 17:07:57 -05:00
4bb45fc220 Replace ByteArrayUtilities code with Guava and Replace PlotGameMode with WorldEdit equivalent. 2019-11-28 21:50:21 -05:00
a65d546f3b Fix debugpaste split 2019-11-25 22:38:03 +00:00
f518c47e09 Fixes Banned people can still "talk" in plot 2019-11-12 20:52:14 +00:00
765a021ecd Some flag fixes
Use ItemType for the flags, since they accept items, not blocks.
Fixes 
2019-11-12 20:38:18 +00:00
5bb7069c7f Fixes 2019-11-11 20:39:28 +00:00
10e5760ba8 Merge pull request from IntellectualSites/we
Use patterns instead of BlockBucket
2019-11-10 14:08:47 -08:00
968c23113c Fixes 2019-11-10 21:51:29 +00:00
d254633b77 Use patterns instead of BlockBucket
Still use BlockBucket for loading/saving from config
2019-11-10 17:47:37 +00:00
3e30e9554f Add missing RunnableVal import. 2019-11-10 13:26:59 +01:00
1a923063b5 Merge branch 'breaking' into we 2019-11-10 13:18:16 +01:00
c512189478 fix import 2019-11-10 11:31:47 +00:00
a221d6fd07 Run tasks synchronously on Bukkit when the plugin is disabled.
Previously, the tasks would fail to run, as the scheduler prevents disabled plugins from running tasks. This would cause problems on server shutdown, especially when the SQLManager attempts to perform database queries.

This fixes .
2019-11-10 12:10:38 +01:00
1570c4d08a Add missing import 2019-11-06 14:20:32 -05:00
252fdefef3 bad regex replace 2019-11-06 11:39:55 +00:00
fed5169724 Get sign lines sync 2019-11-05 15:23:48 +00:00
2cb734bba2 editsession util 2019-11-04 21:55:40 +00:00
88732bb88c Use CuboidRegion instead of RegionWrapper 2019-11-04 21:08:33 +00:00
8f7f6a4f40 Merge branch 'breaking' into we 2019-11-04 20:17:15 +00:00
7e6dc48d69 imports 2019-11-04 19:58:24 +00:00
37f608258f Remove PlotBlock 2019-11-04 19:55:55 +00:00
930dee9326 Refactor BlockVector2 2019-11-04 17:44:23 +00:00
315f26fb82 Add missing color 2019-11-04 00:46:08 +01:00
cb1767347b Merge branch 'breaking' into UntrustedVisit 2019-10-23 20:51:59 +02:00
91108a5df9 Merge branch 'breaking' into UntrustedVisit 2019-10-22 17:21:24 +02:00
e5e522bc31 Merge branch 'breaking' into DenyTeleportBugfix 2019-10-22 17:20:43 +02:00
20957a75d5 use a new Location convert function to ensure that there will be no side effects 2019-10-18 08:02:44 +02:00
dd715a9c8a Revert "copy yaw and pitch when converting between Bukkit Location and PlotSquared Location"
Undo this since I can't guarantee that there aren't side effects.
2019-10-18 07:51:01 +02:00
039b7aee9e Merge branch 'breaking' of https://github.com/IntellectualSites/PlotSquared into UntrustedVisit 2019-10-10 20:34:41 +02:00
0bcaaf3c0b copy yaw and pitch when converting between Bukkit Location and PlotSquared Location 2019-10-10 20:33:25 +02:00
5315e1e337 let untrusted-visit override deny-teleport 2019-10-10 20:32:48 +02:00
1f4f78a179 this can be done more elegantly 2019-10-10 01:53:27 +02:00
599ef8aa44 Bugfix for (place flag) 2019-10-10 01:36:40 +02:00
ca25b7b3c8 Fix odd space 2019-10-01 13:02:32 +02:00
ae1273a7f3 Bugfixes for deny-teleport 2019-09-14 12:58:22 +02:00