Commit Graph

582 Commits

Author SHA1 Message Date
Joshua
89d7dd1c4c fix vanilla-drops set to false dropping the regen block as well? 2021-02-09 20:09:37 -06:00
Joshua
d2999a0e2c fix vanilla-drops set to false dropping the regen block as well 2021-02-09 20:03:24 -06:00
Joshua
414cb0abd4 custom durability bug from ticket 410 fix? 2021-02-09 19:53:18 -06:00
RicardormDev
b8f8dbf419
Merge branch 'master' into Ricardo
# Conflicts:
#	src/main/java/net/Indyuce/mmocore/api/player/PlayerData.java
2021-02-09 10:58:00 -06:00
RicardormDev
e8d48565d6
!Fixed: Player data wasn't loading. Added: Event when called when a player used an attribute. 2021-02-09 10:56:48 -06:00
Ashijin
8405e82eb1 removed Carson 2021-02-08 02:44:42 -07:00
Joshua
2d73f38fca Build please 2021-02-07 02:43:49 -06:00
Joshua
d3f44e24a2 Build please 2021-02-07 02:37:48 -06:00
Joshua
c096e72dff !This build enables with Mythiclib and mmoitems 2021-02-03 15:27:13 -06:00
Joshua
046168b900 !THIS BUILD USES MYTHICLIB PLEASE DO NOT PUSH OR USE 2021-02-03 14:00:20 -06:00
ASangarin
52d525241b Fixed 'protect-custom-mine' not working.
josh is a special child
2021-01-29 21:06:28 +01:00
Blekdigits
ad175aa511 fix bug where party invitations aren't expired when party is already full 2021-01-28 18:34:08 +07:00
Joshua
f2f6dd7659 Added new "should-cobblestone-generators-give-exp" config option to config.yml, regenerate your config or add this option manually. 2021-01-19 13:04:27 -06:00
BuildTools
7143313138 Potentially fixed class-chosen triggers firing on wrong class, if this breaks class-chosen triggers please let josh know lol 2021-01-11 01:35:07 -04:00
ASangarin
ad23380c1f Fixed MMOCore not decreasing durability on custom mining/fishing if the item has full durability 2021-01-02 07:35:00 +01:00
ASangarin
041fc7b5e1 !updated comment 2021-01-02 06:47:03 +01:00
Indyuce
a7793def08 !Fixed default configs 2021-01-02 00:32:53 +01:00
Indyuce
568d6da795 Added new options to disable profession exp holos 2021-01-02 00:22:47 +01:00
Indyuce
4472198da3 !Removed unused deprecated methods 2021-01-01 23:58:38 +01:00
Indyuce
e2bf9ff034 Added extra comments 2021-01-01 23:43:26 +01:00
Indyuce
0e17de3e6e Merge branch 'master' of https://git.lumine.io/mythiccraft/mmocore 2021-01-01 23:33:38 +01:00
Indyuce
bd479df373 Changed CustomPlayerFishEvent 2021-01-01 23:33:28 +01:00
ASangarin
0766c234e2 Item Durability is now properly decreased when fishing/custom mining 2020-12-30 20:10:22 +01:00
Indyuce
05a6d46a0d !Separated BlockType#place and BlockType#regen 2020-12-27 23:58:27 +01:00
ASangarin
8aaa1b848b Fixes a few errors when used with MMOLib 1.7.4
(MUST UPDATE MMOLIB BEFORE USING THIS BUILD!)
2020-12-27 22:41:44 +01:00
ASangarin
240fad3f34 Fixed blockstates resetting when normal blocks were regenerated using custom mining 2020-12-27 22:19:57 +01:00
ASangarin
0662f460f2 Added an SQL debug option to config.yml 2020-12-27 20:33:05 +01:00
Indyuce
f8b7ac20b3 Buff based skills can now be cast on party members 2020-12-26 15:57:29 +01:00
Indyuce
e9eed241e0 Merge branch 'master' of https://git.lumine.io/mythiccraft/mmocore 2020-12-26 15:22:34 +01:00
Indyuce
968a3ec364 Fixed a crucial issue with saved classes data 2020-12-26 15:22:23 +01:00
Indyuce
04846d05bd Fixed the reset command 2020-12-26 15:20:42 +01:00
Blekdigits
6c1165045e !Added way for skill to consume Stamina 2020-12-25 02:55:22 +07:00
Jules
22be11bdb2 !Merge 2020-12-24 01:15:07 +01:00
Indyuce
40894d57ad !Small cleanup 2020-12-24 01:08:20 +01:00
ASangarin
fa36b185f8 Added some functional placeholders:
%mmocore_is_casting%
%mmocore_in_combat%
2020-12-22 20:44:17 +01:00
ASangarin
9dfaf3ae50 Fixed bug that allowed blocks to be broken when no block info was found 2020-12-22 03:05:20 +01:00
Indyuce
0c789c8154 Fixed default configs 2020-12-21 23:36:12 +01:00
Indyuce
8d416dbdef Merge branch 'master' of https://git.lumine.io/mythiccraft/mmocore 2020-12-21 23:34:37 +01:00
ASangarin
6c82011a77 Added a check to prevent playerdata from saving when it hasn't been fully loaded yet 2020-12-21 21:57:48 +01:00
ASangarin
59dd7ba4e1 Fixed yet another another ANOTHER Player must be online error 2020-12-21 20:15:00 +01:00
Indyuce
0cfafb6511 Changed SPELL_CRIT_STRIKE.. to SKILL_CRIT.. 2020-12-21 02:17:14 +01:00
Indyuce
bc2b14136c Exp holograms are no longer hidden to player 2020-12-21 02:11:54 +01:00
Indyuce
b50b365a30 Support for cobblestone generator (mining profession exp) 2020-12-21 02:04:42 +01:00
Indyuce
1596f7e964 !Cleanup + placeholder bug fix 2020-12-21 01:52:45 +01:00
ASangarin
0396eaaef8 UNSTABLE - Added conditions to MMOCore custom mining blocks so you can configure certain blocks per region.
Requires MMOLib 1.7.4
2020-12-20 23:50:20 +01:00
ASangarin
decc75a5b0 Fixed not being able to exit spell casting when sneaking despite setting spell cast to sneak-F 2020-12-20 23:17:08 +01:00
ASangarin
56257c442d Added a sounds.yml file where you can configure a few of the sounds played in MMOCore. Contains configurations for class select, attribute points, waypoint sounds and more. 2020-12-20 00:55:31 +01:00
ASangarin
bedc83896f Added integer placeholders available for MythicMobs skills 2020-12-19 22:36:53 +01:00
ASangarin
89dbb4a980 The F keybind can now be fully customized
THIS DOES NOT MEAN YOU CAN CHANGE THE KEY!!!
This means you can change what happens when pressing F or when pressing F when sneaking. Check newest config.yml for more information
2020-12-19 21:49:34 +01:00
ASangarin
753f63104a Fixed two random NPE 2020-12-17 01:46:03 +01:00
ASangarin
0aa36dacd5 Item drops added by MMOCore are now dropped more naturally and have a much lower (if not 0%) chance of glitching through the ceiling
Also increased the spawn height of Fishing Holograms
2020-12-15 20:41:04 +01:00
ASangarin
0f6b6fc29c Properly close MySQL connections when server shuts down 2020-12-15 17:45:33 +01:00
ASangarin
88b59c6c2a Removed health scaling (moved to MMOLib) 2020-12-14 19:00:20 +01:00
ASangarin
e778bb085d !removed unused method 2020-12-09 17:50:46 +01:00
ASangarin
09ebde5676 Fixes craftitem experience source providing XP when non-stackable is clicked 2020-12-09 17:49:57 +01:00
ASangarin
30452a3cd8 > MMOCore 1.6 - API Handling Rewrite
REQUIRES MMOLIB 1.7!!!
- Rewrote MMOLib compatibility API (MMOLib is still a dependency!)
- Lootsplosions are now a part of MMOItems.
2020-12-06 17:46:29 +01:00
ASangarin
7b53c18dd4 push build 2020-12-04 21:12:14 +01:00
ASangarin
5379bfbf0b GoTo Objective now properly uses blocks as a calculation for range 2020-12-04 20:02:45 +01:00
ASangarin
af22656042 Fixed Placeholders 2020-12-02 19:00:27 +01:00
ASangarin
497f2e6f6b Verbose management in config.yml
You can now disable some of the command results from appearing in console, etc.
2020-12-01 01:58:40 +01:00
ASangarin
de059cbd17 Merge remote-tracking branch 'origin/master' 2020-11-30 21:06:29 +01:00
ASangarin
a0cc6ded7e MMOCore 1.5
Cleaned up a lot of the source code.
Memory/performance improvements.
Requires MMOLib 1.5
2020-11-30 21:05:41 +01:00
Ashijin
17a4492e2a removed Carson 2020-11-29 22:37:03 -07:00
ASangarin
8812e63b3e Added two new placeholders:
%mmocore_profession_experience_<profession>%
%mmocore_profession_next_level_<profession>%
(more information on the wiki)

API Changes:
CustomBlockMineEvent now has a new method to check if the block was actually broken or not.
2020-11-29 00:58:56 +01:00
ASangarin
c0bdf1ee12 !tiny cleanup 2020-11-25 23:27:34 +01:00
ASangarin
9868cf2ebd Boosters no longer stay in the GUI after expiring 2020-11-15 00:50:08 +01:00
ASangarin
608d454147 Custom Model Data is now properly applied to level function in skill GUI 2020-11-04 17:11:44 +01:00
ASangarin
c8ef767134 !permission condition for droptables 2020-11-03 22:40:53 +01:00
ASangarin
ecf31ff8ee level-up triggers now work when leveling up more than 1 level at once 2020-11-01 16:25:15 +01:00
ASangarin
7b16bced13 Added 'rpg admin level take' command 2020-11-01 15:44:54 +01:00
ASangarin
06b3aee9bf Boosters now properly shows that they're expired.
Please add " booster-expired: '&cExpired!' "
to your messages.yml
2020-11-01 15:33:02 +01:00
ASangarin
71b8183299 Added a few more passive types for passive skills.
You can also target event triggers by using @Trigger in the MM skill
2020-10-31 22:41:26 +01:00
Indyuce
93069c7d1a !Small passive skills/resource regen cleanup + comments 2020-10-31 00:14:54 +01:00
ASangarin
de92993645 PASSIVE SKILLS.
You can now turn your custom mythic mob skills into passives.
This feature is WIP and will be improved and extended in the future!!
2020-10-29 20:16:05 +01:00
ASangarin
b33f8dea42 Fixed Sneaky Picky and Backstab 2020-10-29 19:17:13 +01:00
ASangarin
28c4653179 Fixed leveled skills & attributes not saving when switching classes 2020-10-20 02:04:17 +02:00
ASangarin
7d227c874b You can now specify for resources to ONLY regen outside of combat 2020-10-19 21:22:35 +02:00
ASangarin
3dd170bdc3 !no need to process this when you can just put the raw number in there.. 2020-10-17 17:34:23 +02:00
ASangarin
f4bc755f2f Added safe-check if skill material is null 2020-10-16 20:34:41 +02:00
ASangarin
bc535130c5 Added a Stamina Trigger 2020-10-16 20:28:49 +02:00
ASangarin
15abd09acd Anti-Cheat Compatability, finishing polish 2020-10-14 00:30:17 +02:00
ASangarin
e5b0f06a8f !added health bar placeholder 2020-10-11 17:00:40 +02:00
ASangarin
0c20cd0b62 !another player must be online error tackled 2020-10-11 16:57:50 +02:00
ASangarin
610045c319 !small refactor
added force class command
2020-10-11 16:49:30 +02:00
ASangarin
0bf926eba3 !anti-cheat support 2020-10-11 16:49:14 +02:00
ASangarin
239d70117d Fixed SQL things
Requires MMOLib 1.3.7.1
2020-10-06 18:59:05 +02:00
ASangarin
54ba6b89b8 !fixed some SQL things 2020-10-06 15:31:59 +02:00
ASangarin
938632e81a Lots and LOTS of isOnline checks 2020-10-06 03:04:51 +02:00
ASangarin
06dc77a1f6 Now uses HikariCP instead of jasync. (SQL)
(Requires latest MMOLib)
2020-10-05 16:48:34 +02:00
Indyuce
d55c0affe2 !Fixed custom block chains 2020-10-04 16:03:53 +02:00
Indyuce
8cf6f057d2 Removed unused method 2020-10-03 20:26:36 +02:00
Indyuce
68f77205dd Small cleanup 2020-10-03 20:23:47 +02:00
ASangarin
ed9c86942b Added default values for playerdata in config.yml
This means you can now set the starting amount of most points, etc.
without having to run commands on first player join!
2020-10-01 16:30:40 +02:00
ASangarin
529f805a1d MySQL loading fix (and filesize reduction)
Requires MMOLib 1.3.6
2020-09-29 17:44:00 +02:00
ASangarin
8a8be6a1bd Added new mana placeholders (check the wiki) 2020-09-29 01:57:28 +02:00
ASangarin
ee7970edaa MySQL is now done async! 2020-09-28 19:21:07 +02:00
HexedHero
fff574c0dd Load chunks async when regenning blocks closes #75 2020-09-26 23:51:03 +01:00
Indyuce
47e145d384 !idk 2020-09-27 00:15:03 +02:00
Indyuce
844a7ca675 Merge branch 'master' of https://git.lumine.io/mythiccraft/mmocore 2020-09-27 00:14:42 +02:00
Indyuce
ec0d66dd15 !Fixed GUI item custom model data 2020-09-27 00:14:30 +02:00
ASangarin
89b78af5bc !Fixed another "Player must be online" error 2020-09-26 19:47:55 +02:00
ASangarin
b27ce4bd1b small fix
Fixed player classes preventing the plugin from loading if they didn't
specify a display name
2020-09-23 01:27:45 +02:00
ASangarin
c724b8ecf4 Update 1.4.6
- Custom Mining Regions are no longer protected by default, however you
can enable it in config.yml
(Regenerating Blocks will still be protected)
- Block Regens can also be chained together
now without causing weird behavior.
- Fixed a bug that caused
- ActionBar refactor. Reloading now reloads the actionbar config!
- MineBlock Quest Objective no longer counts player placed blocks
(can be changed in the line config)
2020-09-20 23:40:41 +02:00
ASangarin
fc5eea28e0 !Removed unnecessary line 2020-09-16 15:51:41 +02:00
Indyuce
5cae155273 !Merge branch 'master' of https://git.lumine.io/mythiccraft/mmocore
Last commits cleanup
2020-09-13 13:03:19 +02:00
Indyuce
8edbec6d21 !Removed useless util classes 2020-09-13 12:10:08 +02:00
ASangarin
55035d2c60 Restrictions Update
restrictions.yml has been fixed and now work as it should.
'required tool' message now displays even if a tool is not registered
You can now use MMOItems in restrictions.yml, format = 'TYPE?ID'

Requires MMOLib 1.3.3.1
(1.3.3 works too, but the 'parent' feature is broken in that case)
2020-09-12 23:18:57 +02:00
ASangarin
6807a5f8f3 Fixed NPE with actionbar 2020-09-12 21:09:40 +02:00
ASangarin
ec418d3afa Restrictions Error logging change
Warning messages when failing to register a restriction now differ
depending on which registration phase had failed.
2020-09-12 20:47:27 +02:00
ASangarin
a56375a556 Merge branch 'master' of https://git.lumine.io/mmoteam/mmocore.git 2020-09-12 20:41:48 +02:00
ASangarin
0b869c4be5 Fixed actionbars not displaying if class actionsbars were empty 2020-09-12 20:41:38 +02:00
HexedHero
8a9f3f03fb Check if attacked mob is an NPC closes #103 2020-09-12 01:09:39 +01:00
ASangarin
9c48b96f18 Changed the way default waypoints work.
All default waypoints will be unlocked regardless of playerdata,
no matter what.
2020-09-10 21:37:24 +02:00
ASangarin
1ec270566d You can now add action-bar: 'format' to class files
This will override the default action bar format for that class only.
Formatting is the same as the default one.
2020-09-10 19:29:41 +02:00
ASangarin
2620f67672 UNTESTED CODE!
Restrictions.yml can now use MMOItems instead of just vanilla materials.
Format is just 'type.id' (might be case sensitive!)

Requires MMOLib 1.3.2
2020-09-10 15:35:30 +02:00
ASangarin
1d2da64593 Small changes
Biome condition is now case-insensitive
Updated MI jar
incremented version number
2020-09-09 01:39:22 +02:00
Ashijin
3946fed365 Removed Carson 2020-09-05 20:28:08 -06:00
Ashijin
f3e8022dd5 Removed Carson 2020-09-05 20:27:33 -06:00
Ashijin
46c55dddab butts butts butts butts 2020-09-05 20:24:45 -06:00
ASangarin
10e7683f4c please for the love of god, be the last test commit 2020-09-05 20:01:27 +02:00
ASangarin
a13daa567e yikes 2020-09-05 20:01:13 +02:00
ASangarin
5daf55a081 hopefully final test commit 2020-09-05 20:00:11 +02:00
ASangarin
5416a83f52 finalizing bot things 2020-09-05 20:00:02 +02:00
ASangarin
d866ee8f8b testing double commits 2020-09-05 18:07:15 +02:00
ASangarin
08b34d26ef testing gitlab bot 2020-09-05 18:07:06 +02:00
ASangarin
9886abc352 Yeah, bot time baby! 2020-09-04 12:52:06 +02:00
ASangarin
ccfc5f3810 Testing bot 2020-09-04 12:51:56 +02:00
ASangarin
2a97f8b783 Removed unused import 2020-09-04 12:50:23 +02:00
ASangarin
8bf73754de Merge branch 'master' of https://git.lumine.io/mmoteam/mmocore.git 2020-09-04 12:28:32 +02:00
ASangarin
5143162113 SQL DB connection now tries to reconnect if the connection is dropped 2020-09-04 12:28:14 +02:00
Ethan
a4b28597af added condition comp for all drop tables
added level condition:
- 'level{profession=PROFESSION_NAME_HERE;amount=LEVEL_HERE}'

for main level:
- 'level{amount=LEVEL_HERE}'
2020-09-03 01:54:00 -04:00
ASangarin
8300726fcd Hotfixed experience source stackoverflow 2020-08-31 04:33:38 +02:00
ASangarin
741d855fc5 Placeholders no longer break when reloading PAPI 2020-08-29 16:07:12 +02:00
Indyuce
6cdd7608d5 Fixed exp earned when crafting items 2020-08-27 13:18:43 +02:00
Indyuce
aecf4f7f83 Fixed fishing drop tables 2020-08-27 13:04:09 +02:00
Indyuce
1c9b0769b8 Fixed fishing drop tables error messages 2020-08-27 12:52:24 +02:00
Indyuce
eef4013797 Support for latest MMOItems and MMOLib 2020-08-15 20:16:08 +02:00
Indyuce
e12d116c1c !Updated lib 2020-08-15 15:13:39 +02:00
Indyuce
0f7f665632 Added /mmocore admin attribute 2020-08-15 15:02:23 +02:00
Indyuce
ca7c90f7c1 Added /mmocore waypoints teleport 2020-08-15 14:42:48 +02:00
Indyuce
ee41d3bf38 !Moved command API over to MMOLib 2020-08-15 14:20:41 +02:00
Indyuce
6f749e2684 Added %mmocore_exp_<boost/multiplier>_<main/profession>% 2020-08-15 13:39:55 +02:00
Indyuce
9a37ed70e3 !Slightly improved loading error messages 2020-08-15 13:19:14 +02:00
Indyuce
6827c0051b !Improved loading error messages 2020-08-15 13:10:48 +02:00
Indyuce
91d59112c7 !Fixed deep wounds 2020-08-12 16:21:38 +02:00
Indyuce
e7d810e575 !Removed deprecated 1.12 function calls 2020-08-12 16:21:11 +02:00
Indyuce
12aaf8ca6c !Removed 1.12 function calls 2020-08-12 15:56:39 +02:00
Indyuce
96af274bfe Merge branch 'master' of https://git.lumine.io/mythiccraft/mmocore 2020-08-12 15:34:10 +02:00
Indyuce
6872d3814b !Removed deprecated methods of MMOLib 2020-08-12 15:33:59 +02:00
ASangarin
ec13e4bf16 Properly cancel cast particles if player is offline or dead.
(Prevents another 'Player must be online' error from happening)
2020-08-12 02:02:50 +02:00