Commit graph

3100 commits

Author SHA1 Message Date
md678685
aa6ad271a0 Remove redundant metricsEnabled field from Settings 2019-01-03 20:33:08 +00:00
md678685
78fca9a67a Updates signs with cross-version enum lookups 2018-12-31 12:53:41 +00:00
md678685
0114b5e4f6 Update several commands with cross-version enum lookups 2018-12-31 12:53:23 +00:00
md678685
5a14a64b6c Add cross-version support to SpawnMob 2018-12-31 12:24:41 +00:00
md678685
b555ea6350 Add cross-version support to MobData 2018-12-31 12:20:05 +00:00
md678685
361ae1dd16 Use constant field for "harp"/"piano" sound 2018-12-31 12:19:22 +00:00
md678685
6260b49b4f Restore item ID messages in /itemdb 2018-12-31 11:57:15 +00:00
md678685
19cffe3872 Restore ID-based charges in /repair 2018-12-31 11:39:08 +00:00
md678685
3b1cef918e Simplify item spawn permission checks; restore ID-based item spawn perms 2018-12-31 11:29:27 +00:00
md678685
0202271f00 Add missing FakeWorld methods 2018-12-29 21:16:17 +00:00
md678685
55074872fe Add setting to enable item ID recognition on signs
Item IDs can now be enabled for existing signs by manually changing a config option, but there is no facility to create new signs with item IDs.
2018-12-23 23:02:36 +00:00
md678685
28559dda3a Lowercase the provided ID in FlatItemDb#get 2018-12-23 19:45:23 +00:00
md678685
a9ad440860 Overhaul AbstractItemDb.serialize to use MaterialUtil methods 2018-12-23 19:32:10 +00:00
md678685
5104463593 Add MaterialUtil.getColorOf 2018-12-23 19:31:33 +00:00
md678685
4b1c51c21d Reword IItemDb#serialize docs 2018-12-23 18:02:38 +00:00
md678685
492005d00a Fix LegacyItemID method override 2018-12-15 19:11:41 +00:00
md678685
149d9b61cc Add methods to facilitate conversion from IDs to new Materials 2018-12-15 18:54:01 +00:00
md678685
77ffb6a3d5 Slightly simplify FlatItemDb 2018-12-15 18:53:06 +00:00
md678685
d95b632884 Merge branch '2.x' into 1.13 2018-12-11 14:31:42 +00:00
md678685
579f554edb Update nickname again after toggling AFK status 2018-12-11 13:26:15 +00:00
md678685
050287f306 Add 1.13 enchantments
Fixes #2254.
2018-12-11 10:04:38 +00:00
md678685
dafe156212 Merge branch '2.x' into 1.13 2018-12-09 15:25:31 +00:00
md678685
769dbe8852 Fix BukkitVersion's toString and equals 2018-12-09 15:16:44 +00:00
md678685
89d592ce43 Improve item-spawn-blacklist load logging 2018-12-09 14:58:56 +00:00
md678685
c06dda886d Actually use the force-enable-recipe option from the config 2018-12-09 14:58:36 +00:00
md678685
5922b85290 Move SHIELD to from MetaItemStack to MaterialUtil 2018-12-09 13:47:52 +00:00
md678685
814e5a643e Add SIGNS and SPAWNER to MaterialUtil 2018-12-09 13:47:22 +00:00
md678685
2d703fbc80 Add damage value support to FlatItemDb
...in case you wanted to give players broken swords, or something?
2018-12-09 13:04:21 +00:00
md678685
1206178eca Use utility methods in MetaItemStack 2018-12-09 12:17:13 +00:00
md678685
3df3f8a812 Add several cross-version item type checks to MaterialUtil 2018-12-09 12:17:13 +00:00
md678685
7049952b07 Load forceEnableRecipe during Settings.reloadConfig 2018-12-09 12:17:13 +00:00
Mark Vadeika
a18ce40921 Hiding display names (#2248) @AllTheMegahertz
Prevents a user's nickname from appearing if they are hidden, if `hide-displayname-in-vanish: true` in the config. Closes #2221.

* Does not return display name if user is hidden

* Added hide-displayname-in-vanish field

* Added hideDisplayNameInVanish()

* Changed to only hide display name if specified in config

* Changed hideDisplayNameInVanish to default to false if not specified in config.yml
2018-12-09 11:02:45 +00:00
md678685
6a6383462d Allow admins to force enable /recipe if they want
Add `force-enable-recipe`, which allows server admins to manually enable `/recipe` despite potential duplication exploits. Use this at your own risk!

Related: #1397
2018-12-08 16:41:24 +00:00
md678685
44301fae4f Fix Worth.setPrice on 1.13+; add Javadocs to Worth 2018-12-08 16:32:09 +00:00
md678685
6ee84510ea Update bStats-Metrics 2018-12-06 17:49:08 +00:00
md678685
6ecdc8d7fc Enu-moo-til 2018-12-06 17:44:22 +00:00
md678685
35a2a4d803 Add several version warning messages 2018-12-06 17:41:32 +00:00
md678685
7b67b3b858 Don't send empty line join/quit messages
GitHub meta: fixes #991 fixes #2289
2018-12-06 14:06:25 +00:00
md678685
4011810536 Correctly use LegacyItemDb after detecting version < 1.13 2018-11-19 22:51:07 +00:00
md678685
85ea07c97e Fix VersionUtil regex matching and BukkitVersion.toString 2018-11-19 22:48:33 +00:00
md678685
41b2449cdd Change /enchant's default level from -1 to 1 2018-11-19 21:11:25 +00:00
md678685
ded6f06ed2 Merge remote-tracking branch 'origin/2.x' into 1.13 2018-11-19 19:48:38 +00:00
md678685
2605e050a0 Deduplicate ItemDb code 2018-11-19 19:41:01 +00:00
md678685
19b1e19e42 Remove extraneous imports 2018-11-19 19:30:35 +00:00
md678685
f7a1149cac Port old ItemDb back 2018-11-19 14:13:05 +00:00
md678685
7dd52dab32 Add non-NMS VersionUtil
*Should* work on Glowstone. TODO: use this instead of ReflUtil where appropriate.
2018-11-19 14:12:10 +00:00
md678685
ffc80d61af Implement missing FakeWorld and OfflinePlayer methods 2018-11-19 11:26:05 +00:00
md678685
ba959586e2 Merge remote-tracking branch 'games647/java9' into 1.13 2018-10-31 14:53:49 +00:00
md678685
4c07e584b7 Default to max stack size 2018-10-31 14:47:45 +00:00
Banbeucmas
280d1215de Adding EssentialsWarpEvent (#1921) @Banbeucmas
* Adding EssentialsWarpEvent for checking if player is wrapping

* Spacing

* Adding Trade parameter

* Refactoring

* Adding #setWarp() to the Event

* Spacing

* Documenting the purpose of the Event

* Javadoc?
2018-10-28 18:53:52 +00:00