Commit Graph

1170 Commits

Author SHA1 Message Date
ASangarin
c85db5292f !massive refactor 2020-11-23 16:50:07 +01:00
ASangarin
6f142fb943 !new files 2020-11-23 16:32:23 +01:00
Ethan
e9257e9e92 Newest MMOLib is required to run this version:
https://github.com/mmopluginteam/mmolib

Adds custom font support in items. More examples will be added to the wiki soon.

<font=uniform>Hello
2020-11-23 07:03:05 -05:00
Aria Sangarin
07c8894e10 Update .gitignore 2020-11-22 07:09:14 -07:00
ASangarin
d95017317b Permanent Potion Effects no longer override better effects of the same type 2020-11-21 15:48:31 +01:00
ASangarin
52c3e14793 Merge remote-tracking branch 'origin/master' 2020-11-21 15:44:56 +01:00
ASangarin
e7ffb4edbb Permanent Potion Effects no longer override better effects of the same type
!PlayerData class cleanup
2020-11-21 15:44:24 +01:00
Ethan
66e838703c !update mmolib 2020-11-21 09:30:32 -05:00
ASangarin
b8f88195aa !small random cleanups 2020-11-21 15:27:21 +01:00
Blekdigits
8b0196ab9d fix custom sounds not playing correcly 2020-11-18 19:30:13 +07:00
Ethan
1817cb94ee Adds back using "%player%" in the command trigger string in stations. 2020-11-18 05:23:22 -05:00
Ethan
52a32fc995 Force build. 2020-11-18 04:38:50 -05:00
Ethan
4b1798a83f Merge remote-tracking branch 'origin/master' 2020-11-18 04:38:07 -05:00
Ethan
621bc02c95 Adds back using "%player%" in the command trigger string in stations. 2020-11-18 04:37:59 -05:00
Blekdigits
bee626cbbf Fix mmoitems preventing lava spread on non-custom block 2020-11-16 19:46:27 +07:00
Blekdigits
6772c5917e fix consumable on consume sound not working correctly
https://git.lumine.io/mythiccraft/mmoitems/-/issues/223
2020-11-16 11:45:07 +07:00
HexedHero
3905f70787 Another big AbilityManager improvement
Added /mi list tpability - Shows all third party abilities added into
MI.
- Fixed the API for third party plugins to even add custom abilities
into MI and added a new method for doing so with console messages when
they get added with the providing plugin name.
- We also now check if the ability being registered is already
registered to avoid multiple abilities.
- We now get the Abilities internal registered name in case they aren't
in the language config as well. This will always be the case with third
party added abilities.
2020-11-14 22:55:15 +00:00
HexedHero
6fc6daf1c1 Improve the AbilityManager and add MI/MM ability list commands.
Split the AbilityManager up into 3 maps, all the abilities, MI abilities
and MM abilities with some cleanup, added new list commands to show
all/MI or MM only abilities and made a method deprecated due to bad
naming.
2020-11-13 23:32:53 +00:00
ASangarin
1373072232 !small cleanup 2020-11-09 19:22:40 +01:00
Aria Sangarin
17651d6137 Merge branch 'feat-deskin' into 'master'
feat(mmoitems): add deskin consumable option
2020-11-09 11:18:59 -07:00
Blekdigits
72e4915217 Added deskin consumable option
this feature allows player to be able to take their skin back from the items that
have skin item applied.

lore-format.yml
- '#can-deskin#'
stats.yml
can-deskin: '&7■ Can de-skin skinned items.'
2020-11-09 11:18:59 -07:00
ASangarin
817c835289 Changed the way the LoreBuilder handles input lists.
Should fix a few custom lore format bugs
2020-11-08 03:39:28 +01:00
ASangarin
6b0bf163d2 Crafting Crafting Crafting
Added smithing recipes for 1.16+
Updated the way restrictions apply in certain GUIs.
(Only affects new systems)
Fixed amount displays in crafting GUI
2020-11-07 15:41:52 +01:00
Ethan
1bcf6d14cb !removed some hardcoding and updated StringListStats to the new API class. 2020-11-07 08:40:43 -05:00
Ethan
aa1b0ca212 ONLY API CHANGES
Added new API stat type StringListStat. This will eventually be applied to other stats like lore and permission.
2020-11-07 01:15:31 -05:00
Ethan
78b919bb3b !Added additional level of abstraction to managers. 2020-11-06 00:42:48 -05:00
ASangarin
d1e3919aa0 Added the ability to specify individual lore-formats for each item.
Formats go in the `language/lore-formats` and follow the exact same
format as the default one. If an item does not have a specified
lore-format it will use the default file.
Custom Lore Formats IDs are the name of the yml file inside lore-formats
folder.
2020-11-06 04:12:18 +01:00
ASangarin
59540077a9 Made the checktag command more reliable 2020-11-03 23:50:26 +01:00
ASangarin
e4a72f1775 updated spigot jars 2020-11-03 22:38:31 +01:00
ASangarin
5a301b3a4f !removed debug message 2020-10-29 18:11:53 +01:00
ASangarin
59c8976d8d Fixed modifier weights and chances not being respected properly
The system should now work as intended
2020-10-21 01:00:06 +02:00
ASangarin
34c123309b Invalid droptables no longer spams the console to infinity 2020-10-20 19:20:40 +02:00
ASangarin
4564d661e2 merge 2020-10-18 16:29:48 +02:00
ASangarin
5862e9ffbb Fixed the HideDye stat 2020-10-18 16:29:28 +02:00
HexedHero
8acdbaeab9 !Forgot to remove import 2020-10-18 13:58:05 +01:00
HexedHero
71cc9738fa Removed pointless NBTItem call 2020-10-18 13:56:36 +01:00
ASangarin
68962cc1da Perm effects no longer throws if the NBTdata is invalid 2020-10-17 17:33:29 +02:00
ASangarin
7b5e3180a1 Added "deconstruct" and "repair" commands.
Identify, unidentify, deconstruct and repair are all now grouped under:
'/mmoitems item'
2020-10-17 15:31:42 +02:00
ASangarin
37689fadf8 Arrow Potion Effects
Effects can now be put onto Bows and will be applied by any arrow shot
2020-10-16 20:48:02 +02:00
ASangarin
6c2cca379e Small Update
Updated Vault Support
Items can now grant permissions when held
2020-10-16 18:29:38 +02:00
HexedHero
402daf6cbb NoClipItem now strips item data
Before when using abilities such as Item Bomb, Item Throw, Present Throw
etc. we would just copy the item straight up and if the item somehow got
picked up by something then players could dupe the item. This new strip
method now takes all the item data away apart from what makes the item
look unique like Material, Custom Model Data, Enchantments (Adds a
hidden enchantment that does nothing to just show the shiny effect),
Glow, Head Textures and leather colors. This new method also adds
"MMOITEMS_NO_CLIP_ITEM" into the items NBT so we and servers owners can
see and find these items IF they are duped/bugged in the future. Also
added a little bit of extra protection for entity pickup and stopped
some the items from being stackable and causing items. If the item is
somehow picked up it will just look like a normal vanilla item
https://i.imgur.com/oLjkeoD.png but hopefully that will never be the
case of players getting this item but extra padding never hurts.
2020-10-16 17:14:20 +01:00
ASangarin
b2cd456daf !merge 2020-10-16 17:42:50 +02:00
ASangarin
3eb10e65aa !updated to latest mmolib 2020-10-16 17:42:12 +02:00
HexedHero
f9c2014ec3 !Swap and notes 2020-10-16 05:06:56 +01:00
ASangarin
2a8874ae1c !WIP mmoitembuilder
fix for modifier weights not working as intended
2020-10-16 03:56:45 +02:00
ASangarin
e25ffdf366 6.2.4 - Item Generation Bug Fixes
Fixed '/mi generate' not randomizing items
Fixed '/mi generate' not respecting '-id:'
Item Builder no longer throwing errors if tier doesn't have gen options
2020-10-15 03:09:19 +02:00
ASangarin
066b6d5269 HideDye no longer errors in early versions of 1.16 2020-10-13 00:19:08 +02:00
ASangarin
9510e69184 [untested] dynamic lore
upgrading and unidentifying an
item with durability should now
automatically update the lore
2020-10-11 17:13:44 +02:00
ASangarin
7a06588e83 !mmolib 2020-10-06 18:56:49 +02:00
ASangarin
dd8ff0ff64 MMOItems 6.2.3
Fixed lots of Player must be Online errors
A few other tiny bug fixes
2020-10-06 03:08:06 +02:00