Commit Graph

5168 Commits

Author SHA1 Message Date
Pablo
f52effb0fb
Add '.all' to all existing perk xp multipliers (#4460)
* Add '.all' to all existing perk xp multipliers 

Added '.all' usage for all existing perk xp mulipliers to enable use of mcmmo.perks.xp.<xpboost>.all

* Fixed a statement error
2021-03-22 13:13:51 -07:00
nossr50
49f1154e65 NPE fix for McMMOPlayerExperienceEvent 2021-03-18 15:15:43 -07:00
nossr50
4f08c69557 Add UltraPermission warning to mcMMO 2021-03-18 13:18:30 -07:00
nossr50
13a2d03444 Remove silent exceptions 2021-03-18 13:11:03 -07:00
nossr50
c7a8d74963 Add customboost 'mcmmo.perks.xp.customboost.all' perk permission node 2021-03-17 10:39:05 -07:00
nossr50
076d7a7f87 Remove hardcore and vampirism commands 2021-03-17 10:03:54 -07:00
nossr50
667b9a2226 Remove ChatControlRed warning pending further proof of bug 2021-03-17 09:59:18 -07:00
nossr50
312206eda5 Tweak save debug messages 2021-03-16 16:43:25 -07:00
nossr50
dc2c099231 Add warning about the plugin conflict between mcMMO and ChatControlRed 2021-03-16 16:36:16 -07:00
nossr50
49d4e97930 Some safety redundancy 2021-03-16 14:05:33 -07:00
nossr50
444d5edd66 Fixed double smelt not working if furnace was empty 2021-03-16 13:16:17 -07:00
w1tcherrr
06990c858e
Fixed mistakes in german locale file (#4454)
* Fixed mistakes

* Update src/main/resources/locale/locale_de.properties

Co-authored-by: TheBusyBiscuit <TheBusyBiscuit@users.noreply.github.com>

* Update src/main/resources/locale/locale_de.properties

Co-authored-by: TheBusyBiscuit <TheBusyBiscuit@users.noreply.github.com>

* More Fixes

Co-authored-by: TheBusyBiscuit <TheBusyBiscuit@users.noreply.github.com>
2021-03-16 13:03:53 -07:00
nossr50
6cec253243 2.1.181 2021-03-12 17:07:14 -08:00
nossr50
75db0af01d More console spam reduction for database operations 2021-03-12 16:37:21 -08:00
nossr50
4a048b47cb Refactor DB code a bit and fix console spam when using the Plan plugin
Fixes #4450
2021-03-12 16:25:14 -08:00
nossr50
0979ef555b More tweaks to data recovery messages 2021-03-11 14:59:11 -08:00
nossr50
91204262f5 More tweaks to handling corrupt data for flat file 2021-03-11 14:48:21 -08:00
nossr50
eb1e657af1 Simplify data validation + listen to exceptions again 2021-03-11 14:10:29 -08:00
nossr50
2203d61c10 More safety against corrupt data when loading data for FlatFile 2021-03-11 13:11:11 -08:00
nossr50
d77c8c88a3 Less spammy corrupt data reporting 2021-03-11 12:16:33 -08:00
nossr50
7755875dbf Some refactoring of FlatFileDatabaseManager 2021-03-11 12:02:21 -08:00
nossr50
72116d809b Add another error message if mcMMO finds something unexpected in the database 2021-03-11 12:00:11 -08:00
nossr50
e95b7f72a7 Add some safety measures to loading a user from FlatFile 2021-03-11 11:58:27 -08:00
nossr50
e8a0e6e4a4 Don't upgrade old party DB schema from 8 years ago (band-aid fix, real fix coming later) 2021-03-09 19:47:35 -08:00
nossr50
6c69cd2aea Fixed several SQL bugs + SQL db is now fully UTF-8 compatible 2021-03-09 15:10:00 -08:00
nossr50
f4976e5ecb switch SQL from latin1 to utf8mb4 2021-03-09 13:56:03 -08:00
TheBusyBiscuit
4402484d47
Fixed NoClassDefFoundError caused by latest Adventure-platform snapshot. (#4446)
* Bumped adventure versions

* Added Unit Test to ensure Adventure being set up correctly
2021-03-09 08:15:11 -08:00
nossr50
f9097087fe Fixed a bug where player levels were wiped on FlatFile database if players changed nicknames 2021-03-07 14:28:47 -08:00
nossr50
12d0a220da 2.1.178 2021-03-05 20:14:48 -08:00
nossr50
5e35a65fbf 2.1.177 2021-03-05 15:17:41 -08:00
nossr50
92efd59760 Better compatibility with other fishing plugins
Fixes #4428
2021-03-05 15:13:14 -08:00
nossr50
31076e6ba9 Change PlayerFishEvent priority to HIGH instead of HIGHEST 2021-03-05 14:54:11 -08:00
nossr50
b59d1afdb4 Vanished players are treated as if they are offline for inspect command
Fixed #4444
2021-03-05 14:48:05 -08:00
nossr50
72264205d0 Update player names immediately when change is detected 2021-03-05 14:27:53 -08:00
nossr50
a425ebcd10 Add magma blocks to the things wolves avoid 2021-03-05 14:03:31 -08:00
nossr50
4bd9ee0aa5 Never expect bukkit API to be intuitive 2021-03-02 15:17:55 -08:00
nossr50
e38bc14e86 Sometimes I hate being dyslexic, fixing illegal stack sizes in smelting.. again 2021-03-02 13:54:20 -08:00
nossr50
afd2b50900 Remove unecessary comment 2021-03-02 11:24:44 -08:00
nossr50
ac618cf48a Add another measure to stop item stacks from becoming illegal sizes from double smelt 2021-03-02 11:15:52 -08:00
nossr50
713b0619c3 You can now disable Green Thumb for specific crops (the auto replanting) in config.yml 2021-02-26 16:18:15 -08:00
nossr50
735a90fb35 Fix arrow dupe bug
Fixes #4430
2021-02-26 16:06:13 -08:00
nossr50
82b0304091 Don't set smelt stacks to above item's max stack size 2021-02-26 15:28:50 -08:00
TheBusyBiscuit
06e38c991a
Updated dependencies (also fixes #4404) (#4440) 2021-02-24 18:03:07 -08:00
w1tcherrr
ef1a8f8194
Updated locale_de.properties language file (german) (#4423)
* Fixed various grammatical and spelling mistakes. Made some adjustments to the colour scheme to make the design more consistent.

* Changed mistakes in UTF-8 encoding
2021-02-23 12:29:24 -08:00
TheBusyBiscuit
db2c0e89e7
Fixed #4438 and also normalized some stuff (#4439) 2021-02-23 12:28:45 -08:00
t00thpick1
f9144e624a Prepare for negative Y values 2021-02-12 17:18:52 -05:00
nossr50
369b34406e Green Thumb (Plants) now fires a SubSkillBlockEvent 2021-02-03 15:08:21 -08:00
nossr50
1c1abe9a2a Added SubSkillBlockEvent & GreenThumb + ShroomThumb now fire it 2021-02-03 15:01:32 -08:00
Daniil
6eb894ba3a
Update locale_ru.properties (#4411)
Almost fully re-translated and updated to latest versions
2021-02-02 14:58:13 -08:00
Elikill58
6ef0a36cb0
Translate missing messages into french (#4418) 2021-02-02 14:57:05 -08:00
nossr50
e63ce103a2 changelog adjustments 2021-01-26 16:56:02 -08:00
nossr50
68c7de16a8 Really should rewrite this whole thing at a later date 2021-01-26 16:00:08 -08:00
András Marczinkó
e584697b69
Update locale_hu_HU.properties (#4409) 2021-01-26 15:53:57 -08:00
snake
46d69f2108
Replace old and wrong color codes with the correct color codes (#4408) 2021-01-26 15:53:30 -08:00
nossr50
998495f268 2.1.173 2021-01-25 17:27:37 -08:00
nossr50
85bf33fca0 Less XP orbs during Tree Feller + Knock on Wood Rank 2 2021-01-25 15:06:39 -08:00
nossr50
cf21a5a163 Fishing no longer damages rod or drains hunger 2021-01-25 15:02:58 -08:00
nossr50
ec35efbf1b Merge remote-tracking branch 'origin/master' 2021-01-25 14:38:06 -08:00
nossr50
c6d700c5a7 Fixed Luck permission showing incorrect percentages to players using commands
Fixed #4405
2021-01-25 14:37:23 -08:00
steve4744
a225d604ef
only add/remove scoreboards when teleporting if scoreboards are enabled (#4400) 2021-01-25 14:14:35 -08:00
snake
52ac1cc522
Update ja_jp locale (#4406) 2021-01-25 14:12:57 -08:00
nossr50
bf9bb6ffd8 2.1.172 2021-01-21 15:38:31 -08:00
nossr50
27ae7ae1a7 Add Power Level broadcasts
Fixes #4388
2021-01-21 15:27:50 -08:00
nossr50
a85fd024b2 Have correct bStats data point to a new id 2021-01-21 15:00:42 -08:00
nossr50
6c5eb72ab4 Fixed an error in bstats where Retro Mode was reported as Standard mode and vice versa
I might be the most dyslexic person ever
2021-01-21 14:56:45 -08:00
TheBusyBiscuit
67f29d52b3
Updated bStats (#4384)
Thank you
2021-01-21 14:54:51 -08:00
nossr50
8181743114 Fix compile issue 2021-01-21 14:44:13 -08:00
nossr50
f43f3a7fb1 Make ACF aware of the permission nodes for the commands it handles
Fixes #4396
2021-01-21 14:37:59 -08:00
nossr50
4b4643f510 Message about missing permissions on certain commands no longer hard coded 2021-01-21 14:34:58 -08:00
nossr50
1b5dd86796 Use locale instead of hard coded message for pending load on certain commands
Fixes #4391
2021-01-21 14:33:39 -08:00
nossr50
80a1b3949e Add permission node 'mcmmo.broadcast.levelup' for level up broadcasts 2021-01-21 14:31:11 -08:00
nossr50
4fea5438fe Move some permissions closer to the top 2021-01-21 14:26:08 -08:00
nossr50
ac57615383 Add setting to turn off knock on wood XP orb drops for Tree Feller 2021-01-21 14:19:50 -08:00
Shane Freeder
bd9794e744 Support calling SkillActivationPerkEvent off the main thread
This event was never considered as to if it would be called off the main thread,
this event should NOT be designed to signify that a skill activation is occuring,
just providing a means to manipulate those values by other plugins, etc
2021-01-21 12:09:26 +00:00
nossr50
f72497532f Fists should be fists 2021-01-11 10:34:14 -08:00
TheBusyBiscuit
fecaef8d96
Updated german translations (#4375)
* Updated german translations

* Fixed line endings

* Missed one
2021-01-11 10:30:08 -08:00
nossr50
c64e693861 Less capitals in broadcast msg 2021-01-07 13:39:28 -08:00
nossr50
ade6fb2c1d Arrow dupe fix 2021-01-07 13:36:54 -08:00
nossr50
f38d92497a Add broadcasting when players reach certain level milestones (defaults to every 100 levels) 2021-01-07 13:33:12 -08:00
Enderaoe
3cd09b886f
Issue #4343 Axe can replant Cocoa (#4373) 2021-01-06 10:24:16 -08:00
nossr50
ba7b6826b4 2.1.170 - papi fix 2021-01-05 15:25:39 -08:00
nossr50
1c9592aba3 Always emulate lure bonus to avoid vanilla bugs
Fixes #4359
2021-01-05 12:16:16 -08:00
nossr50
dd07bcafc6 Disable random testing for now 2021-01-05 12:12:49 -08:00
nossr50
888205fd89 Memory leak fix for arrow metadata 2021-01-05 12:04:48 -08:00
nossr50
7931a095fe Add some tests for com.gmail.nossr50.util.random classes 2021-01-03 12:21:32 -08:00
nossr50
867d222062 Merge branch 'master' of github.com:mcMMO-Dev/mcMMO 2021-01-03 09:53:12 -08:00
t00thpick1
9e2d5aada8 Whitespace fix 2021-01-02 20:39:39 -05:00
t00thpick1
4aa17e61fc More efficient acrobatics location memory class 2021-01-02 20:39:39 -05:00
nossr50
597eb7f8dd Tweaks to the random chance classes 2021-01-02 16:39:26 -08:00
nossr50
4fa3d913bf More annotations for blockmeta.. again 2021-01-02 16:15:04 -08:00
t00thpick1
00a6d52717 Refactor region file loading for better nullability analysis 2021-01-02 18:57:51 -05:00
nossr50
26ef4cc411 More nullability annotations 2021-01-02 15:55:37 -08:00
nossr50
05f07c174b Change readChunkStore to Nullable 2021-01-02 15:30:00 -08:00
nossr50
eff016c0a6 More nullability in blockmeta classes 2021-01-02 15:27:51 -08:00
t00thpick1
5b41b04777 Use @NotNull in methods rather than @Nullable
Separate safe external methods from internal only methods
Remove unnecessary methods
2021-01-02 17:29:15 -05:00
t00thpick1
10694042e9 Move legacy Serializable usage into a subclass. 2021-01-02 16:54:11 -05:00
nossr50
d08c9391b0 Add nullability annotations to blockmeta 2021-01-02 13:36:59 -08:00
t00thpick1
e0d85f842b Fix exception thrown when plants fake grow at max world height. 2021-01-02 11:18:32 -05:00
nossr50
bec54d93ac Fix dupe bug 2021-01-01 22:15:44 -08:00
Shane Freeder
67a4b6c7c1 Experience PreGain event 2021-01-02 01:05:28 +00:00
Shane Freeder
556515eefd Add SkillActivationPerkEvent 2021-01-02 01:05:27 +00:00
nossr50
fbecbc167a Optimizations and potentially fixing a ConcurrentModificationException involving the TransientEntityTracker
Fixes #4368
2021-01-01 14:04:36 -08:00
nossr50
959d1e4a05 Remove music discs from the default loot table 2021-01-01 12:46:08 -08:00
nossr50
42d3dc3925 Master Angler now mentions it works better with a boat in its hover tip 2020-12-31 16:58:46 -08:00
nossr50
e4af53a535 Use boolean over Boolean 2020-12-31 16:46:49 -08:00
nossr50
9ba8af9f6e Forgot to register the intended tool set 2020-12-31 16:42:37 -08:00
nossr50
56b376eb54 SuperBreaker will always activate if the fastest tool for the block is a PickAxe
Fixes #4362
2020-12-31 16:41:08 -08:00
nossr50
c408c7d057 avoid concurrent exceptions on TransientEntityTracker 2020-12-31 16:26:37 -08:00
nossr50
c05c8e1b1d Fix init player in TransientyEntityTracker 2020-12-31 16:08:23 -08:00
nossr50
3f6de1c4ba Fix giving double treasures if the setting to give extra fish is on
Fixes #4363
2020-12-31 15:53:01 -08:00
nossr50
8ee405fbfd Ignore "fake player" npcs in EntityPickupItemEvent 2020-12-31 15:49:32 -08:00
nossr50
2664ae4bd6 Optimize ChunkUnloadEvent & Partial rewrite to COTW entity tracking + some tweaks to COTW entity removal 2020-12-31 15:25:21 -08:00
nossr50
aed4cb87be Fix enchanted books not being created with the proper data 2020-12-31 13:21:55 -08:00
nossr50
006a7bf277 Add back missing cooldown locale message
Fixes #4361
2020-12-30 15:41:14 -08:00
nossr50
01f31e76f5 new chunkstore
Co-authored-by: t00thpick1 <t00thpick1dirko@gmail.com>
2020-12-30 15:24:21 -08:00
nossr50
7802d54ebd 2.1.164
Closes #4358 #4342 #3812 #3643 #3540
2020-12-29 13:47:40 -08:00
nossr50
dd3d324415 update notes and default fishing treasures 2020-12-29 13:38:03 -08:00
nossr50
8ff345af38 fix array out of bounds 2020-12-29 13:20:10 -08:00
nossr50
bab13f32e7 update notes 2020-12-29 13:15:15 -08:00
nossr50
3c9c8556dd Allow vanilla block interaction with sneak if the block is set to be a mcMMO repair/salvage anvil 2020-12-29 12:58:39 -08:00
nossr50
d9f98b1aa9 Fix a bug where books weren't registered + tweaked how treasures were loaded 2020-12-29 12:39:06 -08:00
nossr50
0f4455d5a8 remove unused settings from fishing treasures and add enchantment section for mythic 2020-12-29 12:12:03 -08:00
nossr50
bdee0278a5 Fix Fishing using values from the wrong config 2020-12-29 12:03:57 -08:00
nossr50
ac31a3dc0e Fixing start up errors when loading treasures.yml 2020-12-28 17:37:14 -08:00
nossr50
8b62c0b693 Better message for items not found in current version of MC from Fishing Config 2020-12-28 16:58:57 -08:00
nossr50
31e0f1e4da less verbose enchantment book log 2020-12-28 16:47:33 -08:00
nossr50
14a6e5c603 Comment out whitelist in fishing_treasures.yml 2020-12-28 16:45:16 -08:00
nossr50
652a9519c1 Move fishing treasues to new file fishing_treasures.yml, replace Records rarity with Mythic, and allow for Enchanted_Book in the treasures list with new optional whitelist/blacklist parameters
read the changelog for information about this
2020-12-28 16:42:00 -08:00
nossr50
a4ef322fa5 Add ExploitFix.PreventPluginNPCInteraction to experience.yml
Read the changelog for why
2020-12-28 12:58:03 -08:00
nossr50
2de52c7955 register new chunk listener 2020-12-16 16:30:05 -08:00
nossr50
8c52884ac6 Remove COTW entities on chunk unload
Fixes #4289
2020-12-16 16:29:05 -08:00
nossr50
22a738bace mcMMO no longer throws errors on below 0 xp gains
Fixes #4346
2020-12-16 16:15:19 -08:00
Robert Alan Chapton
16aa6d65ac
Update McMMOUrl.java
fixed translate link, thanks chew
2020-12-16 12:46:17 -08:00
Wolf2323
0e09ac397d
fix BrewingStand inventory is updated immediately instead of after firing the event. Now the event can be canceled correct. (#4351) 2020-12-10 13:24:08 -08:00
nossr50
7f213ee305 exploit fix 2020-12-09 15:34:32 -08:00
nossr50
958fb6f044 Silenced a mostly harmless error that can happen when using plugins like crazyenchantments 2020-12-01 13:08:33 -08:00
nossr50
0ce316e428 update adventure (used for chat) 2020-11-27 16:55:40 -08:00
nossr50
bcd260d9c1 Memory leak fix 2020-11-27 16:26:24 -08:00
nossr50
bc53714ac8 URL style adjust 2020-11-16 16:00:01 -08:00
nossr50
db8086d6ad Allow URLs in chat again 2020-11-16 14:56:48 -08:00
Momshroom
c22a65f9f3
Adding crossbows, shields, elytra, and tridents to default repair.vanilla.yml and fixing minor typo. (#4308)
* Changed comment over netherite items to say "Netherite repairables" instead of "Diamond repairables"
Added Crossbow to string repairables
Added Shield to wood repairables, with oak planks as material
Added Elytra and Trident to Other repairables, using phantom membrane and prismarine crystals respectively.

* Changed comment over netherite items to say "Netherite repairables" instead of "Diamond repairables"
Added Crossbow to string repairables
Added Shield to wood repairables, with oak planks as material
Added Elytra and Trident to Other repairables, using phantom membrane and prismarine crystals respectively.
Added warped fungus on a stick as a string repairable.

Signed-off-by: Momshroom <Momshroom@gmail.com>

* Added warped fungus on a stick as a string repairable.

Signed-off-by: Momshroom <Momshroom@gmail.com>
2020-11-16 14:42:24 -08:00
Tim
4fd8f6d647
Update locale_nl.properties (#4336)
Fixed small translation errors
2020-11-16 14:39:07 -08:00
nossr50
cfcdcd1676 Fix Lure above 3 breaking fishing 2020-11-16 14:36:59 -08:00
nossr50
f346d3b758 2.1.157 2020-11-11 16:50:21 -08:00
nossr50
477d6932cd 2.1.156 2020-11-10 15:21:45 -08:00
nossr50
b31e1e533b New skill 'Knock On Wood', changes to axe readying messages 2020-11-10 15:17:52 -08:00
nossr50
8f6819edc5 Fix GT replant sometimes planting floating plants 2020-11-10 13:17:58 -08:00
nossr50
7887232d93 Update locales 2020-11-10 12:19:23 -08:00
nossr50
b0afdccfa5 skillranks.yml will automatically fix itself if it finds certain issues 2020-11-10 12:05:42 -08:00
nossr50
592851e80b Throw errors for child skill leaderboard requests 2020-11-10 11:22:02 -08:00