Commit Graph

1132 Commits

Author SHA1 Message Date
Gunging
cdeb16825a Prevents B717 2021-04-23 12:10:48 -05:00
Dancull47
20d7b809b8 Added a silent argument to the /mi give command.
This is an example of how to use it
`/mi give ACCESSORY BOOK_OF_STAMPS MonzterSlayer 1 0 100 0 silent`
You need to specify the unidentify-chance, drop-chance, and soulbound-chance, to then add silent.

If you use "s" or "silent" where I did, the message of "You received ITEM NAME" will not be sent to the Player. This does not affect any previous usages of the command, but if you want to use it, just add the "silent" argument!
2021-04-20 02:07:34 -04:00
Gunging
16c1aada3e The ItemUpdater now updates Abilities, ticked #1527 2021-04-16 00:25:35 -05:00
Gunging
be470bd923 Item Modifications now saved into Stat History - Fixes #1513 2021-04-16 00:13:02 -05:00
Gunging
9b09ec1d10 Revision of items where gemstones are lost now supports giving those gems back to the player.
Suppose the latest item has less gem slots / different colored gem slots, or you set keep-gems to FALSE. In all these scenarios, gems are 'lost' so that this config option (**true** by default!) gives them back to the player.

Enable in your config:
```
# Options for the Item Revision System
item-revision:

    # If an item is updated, and the new version does not
    # keep its gems, this will give the gems back to the
    # player so that they don't get lost forever.
    drop-extra-gems: true
```
2021-04-15 21:40:44 -05:00
Gunging
53a3b8671d Another 6 hours into polishing the RevID Updater o.O 2021-04-15 19:31:03 -05:00
Gunging
4f6042c3d8 Gemstones with NEVER scaling fixed. 2021-04-15 01:50:09 -05:00
Dancull47
b0f442f9be You can now use <tier-color-cleaned> as a substitute of <tier-color>.
`<tier-color-cleaned>` will NOT include Bold, Italic, Underline, Strike, and Magic from your tier.
This can be used if you want your Tier to be Bold, but only want your Item Name to match the color and not the Boldness for example.

https://git.mythiccraft.io/mythiccraft/mmoitems/-/wikis/Display-Name-Placeholders
2021-04-14 21:29:51 -04:00
Ethan
47a2fe0fbc !add todo 2021-04-12 06:28:04 -04:00
Gunging
dc980ffcd5 Small bugfixes:
Crafting recipes being visually constrained by additive RNG even when multiplicative is selected.

A pair of variables from the config not being read but until the first `/mmoitems reload`.
2021-04-11 12:43:15 -05:00
Gunging
46b17a7f5a Crafting stations now display the items in 'preview mode' (With ranges of RNG in the form X-X instead of a random number), as suggested in #385
Also removed that strange empty slot when crafting stations display ingredients of amount divisible by 64

Implemented suggestion of ticket #403, you may add and edit the following quantities to your config.yml:
```yml
stats-displaying:

    # This will be a prefix to numeric stats,
    # changing their color when they are undesirable.
    color-positive: '&b'
    color-negative: '&9'
    range-dash: '§f§l⎓'
 ```
 https://git.lumine.io/mythiccraft/mmoitems/-/issues/403
2021-04-11 01:28:12 -05:00
Gunging
b29ddd96d4 Fixes Upgrade Consumable / Gemstone Remover confusion 2021-04-11 00:38:05 -05:00
Gunging
fde1cdce5e Significantly polished the Item Updater, and the way StatHistory saves and loads data from Gem Stones.
Gemstones now removable (via this *Unsocket* stat available for consumables)
2021-04-10 19:07:05 -05:00
Gunging
5eeaba43c7 Fixes 1405, though that error should only happen if you fire something insanely far away from the spawn or idk (Causing some X co-ordinate to be infinity) 2021-04-09 01:52:59 -05:00
Gunging
cdda1b6179 Fixes ticket 1393 2021-04-09 01:35:56 -05:00
Gunging
3bde9b1b32 Oh thats why (but hopefully this one will actually build) 2021-04-09 01:19:47 -05:00
Gunging
0974a6f6d8 Oh thats why 2021-04-08 00:02:12 -05:00
Gunging
098b1c1e6c Oh thats why 2021-04-08 00:01:18 -05:00
Gunging
5ca2d75b93 Once again toughening recipes, how many places can possibly break by someone using non-alphanumeric characters in ItemIDs GOD 2021-04-07 23:37:32 -05:00
Gunging
00c5ea0ff3 Even tougher recipe error detection based on new data (that was previously thought impossible HMMM) 2021-04-07 23:15:25 -05:00
Gunging
ef8045885b Tougher recipe registration system complement, from MMOItems' side. 2021-04-07 22:52:16 -05:00
Adam
954fbf988f You can now change the particle and particle color for lute attacks.
A stat called "Projectile Particles" has been added for this purpose.
```
You may use any particle provided by Spigot. A list of available particles can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html

In addition to being able to change the particle, you can also change the color of certain particles. REDSTONE, SPELL_MOB, SPELL_MOB_AMBIENT, and NOTE can all change colors.

REDSTONE, SPELL_MOB, and SPELL_MOB_AMBIENT can use any RGB color. If selecting one of these particles, you must also provide a color. For example:
SPELL_MOB 255 255 0

NOTE particles are unique and instead require a single value between 1 and 24 for their color. For example:
NOTE 16
```

This functionality may be extended to other weapons such as muskets and whips in the future.
2021-04-07 18:07:13 -04:00
Adam
ee43a26ae3 Merge branch 'particles' into 'master'
Particles

See merge request mythiccraft/mmoitems!6
2021-04-07 14:49:42 -07:00
Adam
560529a6c2 !Finish implementation of Projectile Particles for Lute 2021-04-07 17:47:54 -04:00
Adam
fc611b15bc !Add Projectile Particles attribute. Allows users to change the projectile particle and particle color for Lute, Whip, and Musket. Only Lute is currently implemented. 2021-04-07 05:12:17 -04:00
HexedHero
241e172eea Fixed some Corrupted Fangs bugs
- Fixed the ability always doing 6 extra damage
- Fixed the ability damaging players when ability-player-damage config
setting is false
2021-04-05 23:51:23 +01:00
HexedHero
ed32317419 Add fang amount to the Corrupted Fangs ability 2021-04-05 23:48:35 +01:00
HexedHero
5543cedbc9 Don't spawn chickens from the Chicken Wraith ability 2021-04-05 23:37:37 +01:00
Gunging
fa1ff355d1 Fixed #mmoitems-1407 ticket about duplicate recipes causing MMOItems to not load 2021-04-05 11:16:04 -05:00
Gunging
eef0414a35 Multiple recipes of the same thing no longer possible.
Fixes #mmoitems-1407
2021-04-05 10:47:48 -05:00
Gunging
bc4bb96fd5 Recipe Book displaying recipes now supported
**Requires MythicLib Update (1.0.18)**
2021-04-05 08:26:53 -05:00
Gunging
65ee66984a Recipe Book displaying recipes now supported
**Requires MythicLib Update (1.0.18)**
2021-04-05 04:24:33 -05:00
Ethan
c82962cd61 Adds support for mythic enchants to be applied using the enchants stat. 2021-04-04 23:19:56 -04:00
Gunging
e2ab12adc3 Fixed shaped recipe bug where they consumed 1 AIR as an ingredient (eventually reaching 0 AIR in the crafting slot and not detecting the recipe anymore) 2021-04-04 17:55:56 -05:00
Joshua
4ffc001900 part 1 of MythicEnchants support 2021-04-04 02:23:59 -05:00
Ethan
eb32b59f25 !idk 2021-04-02 04:49:23 -04:00
Gunging
2bea01c8be Fixes error from ticket 1368 when crafting netherite stuff in smithing table. I wonder what else it fixes... 2021-04-02 00:22:49 -05:00
Ethan
191e747573 Changed green durability bar to be enabled by default.
Unstackable items generated through the gui should generate unstackable now.
2021-03-30 16:55:32 -04:00
Gunging
a753da40ab Smithing Crafting Recipes now support Keeping Enchantments
You may edit this behaviour directly onto the yml file for now.
```
    crafting:
      smithing:
        '1':
          input1: SWORD.HEARTSWORD
          input2: SWORD.ORACLE_SWORD
          drop-gems: true
          upgrades: MAXIMUM
          enchantments: MAXIMUM
```
2021-03-30 12:57:40 -05:00
Gunging
1d075b28e5 **If you use the plugin PhatLoots** well this update is about better use of it!
You can now go to your config and add, under item-revision:
```yml
item-revision:
    phat-loots:
        display-name: true
        lore: true
        enchantments: true
        soulbound: true
        upgrades: true
        gemstones: true
        modifications: true
        external-sh: true
```

Which will update your PhatLoot items to the latest format in `/mmoitems browse` as they are generated for players. Since this will regenerate items, the *Unstackable* ItemStat now works with PhatLoots also

***If this is not added to the config, ** the default is that all options are false, and the items are completely regenerated and RNG-rerolled.
2021-03-30 02:50:11 -05:00
Gunging
392fe49088 Smithing Crafting Recipes now supported.
**Update MythicLib**

Pro tip: Its not implemented in-game but you can write it in the config files directly:

```
    crafting:
      smithing:
        '1':
          input1: SWORD.HEARTSWORD
          input2: SWORD.ORACLE_SWORD

          # Makes extra gems drop instead of getting lost
          drop-gems: true

          # If both inputs have upgrades, how to treat them?
      #   upgrades: ADDITIVE  # Sum them
          upgrades: MAXIMUM   # Largest of them (Default)
      #   upgrades: EVEN      # Average
      #   upgrades: MINIMUM   # Minimum of them
      #   upgrades: NONE      # Actually just dont keep upgrades
```
2021-03-29 23:23:14 -05:00
Gunging
1f88c15f28 Smithing Crafting Recipes now supported.
**Update MythicLib**

Pro tip: Its not implemented in-game but you can write it in the config files directly:

```
    crafting:
      smithing:
        '1':
          input1: SWORD.HEARTSWORD
          input2: SWORD.ORACLE_SWORD

          # Makes extra gems drop instead of getting lost
          drop-gems: true

          # If both inputs have upgrades, how to treat them?
      #   upgrades: ADDITIVE  # Sum them
          upgrades: MAXIMUM   # Largest of them (Default)
      #   upgrades: EVEN      # Average
      #   upgrades: MINIMUM   # Minimum of them
      #   upgrades: NONE      # Actually just dont keep upgrades
```
2021-03-29 23:22:28 -05:00
Gunging
e30a0f9e8f Updating MMOItems with Random Stats now asks the following question:
Under the new RNG parameters, is the chance of getting this same RNG roll less than 1 in 3,000?

If the answer is *yes*, the stat is Rerolled with the new parameters. Otherwise it remains the same :)

Or then again, you can always enable in the config, if you wanted them to roll
```yml
item-revision:
    reroll-when-updated: true
```
2021-03-29 18:53:14 -05:00
Gunging
4dc91ff3e0 You can now choose with certainty which RPG Provider plugin you want to use.
(RPG Provider is, which plugin tells MMOItems what class / level players are, like MCMMO power level or MMOCore or whichever).

Add to your config:
```
preferred-rpg-provider: <plugin>
```

If you misspell the name, you'll get this list telling you all RPG Providers supported:

```cs
[MMOItems RPG Provider] These are the supported ones:
[MMOItems RPG Provider]  + MMOCore
[MMOItems RPG Provider]  + Heroes
[MMOItems RPG Provider]  + SkillAPI
[MMOItems RPG Provider]  + RPGPlayerLeveling
[MMOItems RPG Provider]  + RacesAndClasses
[MMOItems RPG Provider]  + BattleLevels
[MMOItems RPG Provider]  + mcMMO
[MMOItems RPG Provider]  + McRPG
[MMOItems RPG Provider]  + Skills
[MMOItems RPG Provider]  + SkillsPro
```
2021-03-29 17:44:32 -05:00
Gunging
623bcf3200 Recipes now work even if the Mango Consumable was deleted.
Sorry about that I just really like the Mango so I based the entire system on top of a 'temporal' test that shuts everything down if the mango was missing....

Also, Updating items with RevID should no longer reroll RNG stats if you have the following in your config:
```
item-revision:
    reroll-when-updated: false
```

Also the spread formula for DoubleData is kind of strange so an alternative has been added, add this to your config to use:
```
additive-spread-formula: true
```
2021-03-29 17:14:12 -05:00
Gunging
bf6e37f87a **Update MythicLib again pls**
Recipes now work even if the Mango Consumable was deleted.
Sorry about that I just really like the Mango so I based the entire system on top of a 'temporal' test that shuts everything down if the mango was missing....

Also, Updating items with RevID should no longer reroll RNG stats if you have the following in your config:
```
item-revision:
    reroll-when-updated: false
```

Also the spread formula for DoubleData is kind of strange so an alternative has been added, add this to your config to use:
```
additive-spread-formula: true
```
2021-03-29 17:02:29 -05:00
Gunging
aa6800b237 Added option to keep external SH data past updating items.
Fixed bug where Updating an item would cause the template to become leveled up (this was absolutely ridiculous and hilarious btw), fixes Ticket #mmoitems-1283
2021-03-29 12:09:00 -05:00
Gunging
9108b9fd81 Shaped and shapeless recipes rework ready 2021-03-29 10:13:58 -05:00
Gunging
c4266fb61d Custom crafting with shaped and shapless recipes rework ready... 2021-03-29 09:42:22 -05:00
Gunging
3ffde990d1 Merge branch 'crafting' into 'master'
Crafting

See merge request mythiccraft/mmoitems!5
2021-03-29 07:27:57 -07:00