▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/ShadowCrates
ShadowCrates

ShadowCrates

It is a mod that implements the ability to add Crates System on fabric servers. And it has special support for cobblemon items display.

4.8K
6
Все версииShadowCrates

ShadowCrates

Release3 мес. назад

Список изменений

Changelog for 2.3

  • added setting in the config for fillers to be turn false/true.
  • added support for NBT on the material of the formats on Items formats or on the ItemDisplays Materials.
"material": "cobblemon:pokemon_model[cobblemon:pokemon_item={species:\"cobblemon:bulbasaur\",aspects:[\"shiny\"]}]",
  • Fix Databases Reconnects.
  • I added a new value for the tooltips to enable/disable in displayitems and items format.
  • I updated the GUI's to the new System.
  • I change the commands to fix the /crate key clear
  • I added Idle Animation for the Crates.
  • added setting for Tooltips to be turn off/on
"hideTooltip": false
  • added a new Animation system for the particles on the crate:
{
  "enabled": true, // - Enable | Disable the animation idle.
  "particleType": "minecraft:end_rod", // - Particle minecraft/mods ID
  "animation": "ring", // - Animation ID
  "speed": 1.0, // - Particle speed.
  "radius": 1.0, // - How close to be to the crate.
  "yOffset": 0.50, // - How close to be to the ground.
  "count": 24 // - how many particle to be in the animation.
}

Animations Idle List

  • Animation: orbit

  • Animation: dual_orbit

  • Animation: ring

  • Animation: pulse

  • Animation: spiral

  • Animation: spring

  • Animation: flower

  • Animation: star

  • Animation: rays

  • Animation: rain

  • Animation: stack

  • Animation: sparkle

  • Animation: meteor_rain

  • Animation: ring_vertical

  • Animation: burst

  • Animation: comet

  • added setting in the crate config to set the permission on false/true

"requirePermission": true,
  • added 2 new databases mongodb and mariadb (PS: is in testing phase plase feedback)
  • i ramake the crate item key protection if the key is a item u can place on ground now u can interact with that item if that item key is in the hand and if the item is a placeable item the key is full protection and no interactible.
  • i added a new setting for the chance placeholder now can be editable in config/shadowcrate/menu_preview.json
  • i added a new function for DECIMALS for the chances.
  • i fix the spanish diacritics in the databases.
  • i added a new animation for the crates the id is meteor

Chances settings:

-Formats: FOUR_DECIMALS , TWO_DECIMALS , ONE_DECIMAL , INTEGER , HIDDEN

  • "chanceFormat": "TWO_DECIMALS"
  • "chanceText": "&7Chance: &f%value%%"

MongoDB

"database": {
  "enabled": true,
  "type": "mongodb",
  "mongodb": {
    "host": "127.0.0.1",
    "port": 27017,
    "database": "shadowcrates",
    "username": "user",
    "password": "pass",
    "authDb": "admin"
  }
}

or

"connectionString": "mongodb://user:pass@127.0.0.1:27017/shadowcrates?authSource=admin"

MariaDB

"database": {
  "enabled": true,
  "type": "mariadb",
  "mysql": {
    "host": "localhost",
    "port": 3306,
    "database": "shadowcrates",
    "username": "root",
    "password": "password"
  }
}
  • added 2 new formats for rewords.
  • added formats for opening the crate.

Random Items Formats

item_random -> This format allows you to make a reword that gives you a random item from a list of items that are based on weights, and which can be customized like the items in the rest of the formats, i.e. modeldata, displayname and many others.

{
  "type": "item_random",
      "weight": 10.0,
      "randomList": [
        {
          "material": "",
          "amount": 2,
          "displayname": "",
          "weight": 40.0
        },
        {
          "material": "",
          "amount": 2,
          "displayname": "",
          "weight": 20.0
        },
        {
          "material": "",
          "amount": 2,
          "displayname": "",
          "weight": 10.0
        },
      ],
      "displayItem": {
        "material": "",
        "amount": 1,
        "displayname": "",
        "lore": [
          ""
        ],
        "enchantEffect": false
      },
      "messageGlobal": true,
      "messagePlayer": true,
      "messageCustom": false,
      "broadcastGlobal": "",
      "broadcastPlayer": ""
    },

command_random -> This format allows you to make a reword that gives you a reword command from a list of commands with weights.

{
      "type": "command_random",
      "weight": 10.0,
      "randomList": [
        {
          "command": "",
          "weight": 40.0
        },
        {
          "command": "",
          "weight": 20.0
        },
        {
          "command": "",
          "weight": 10.0
        }
      ],
      "displayItem": {
        "material": "",
        "amount": 1,
        "displayname": "",
        "lore": [
          ""
        ],
        "enchantEffect": false
      },
      "messageGlobal": true,
      "messagePlayer": true,
      "messageCustom": false,
      "broadcastGlobal": "",
      "broadcastPlayer": ""
    }

Opening Crates Formats

  • I have added 3 formats to be able to customize crates so they can be opened as you wish, these formats are of three types: key, money, item.
"openCost": {
    "mode": "key", // Formats | key | money | item |
    "moneyPrice": "2500", // Price for the crate. (only if the mode is "money"
    "moneyCurrency": "CobbleCoins", // Currency type for the price.
    "moneyProvider": "beconomy", // Provider of economy | auto | beconomy | impactor |
    "itemMaterial": "minecraft:diamond", // ex: "minecraft:diamond" or with NBT ("minecraft:paper[minecraft:custom_model_data=1]")
    "itemAmount": 1, // The ammount of items needed for opening the crate ("item" mode only)
    "itemDetectByMaterialOnly": false // If u want to ignore all the nbt and to detect only the item set "false" if u want to work with NBT set to "true"
  },
  • OpenCost tab must be added after the IdleParticle tab, if it is missing or you don't want it, it will ignore everything and use the direct key which is the default for crates if this tab is missing.
  • fix aspects for cobblemon items.
  • updated for Cobblemon 1.7

Aspects Formats for the Material for DisplayItem

cobblemon:item:<pokemon>:form=<form>
cobblemon:item:<pokemon>:aspect=<aspect>
cobblemon:item:<pokemon>:aspects=<aspect>,<aspect>
cobblemon:item:<pokemon>:shiny=<true/false>

Файлы

ShadowCrates-2.3.jar(400.17 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

2.3

Загрузчики

Fabric

Версии игры

1.21–1.21.3

Загрузок

1.9K

Дата публикации

3 мес. назад

Загрузил

ID версии

Главная