Skip to content

Releases: B-Development/Advanced-Crafting

V1.1.0 Advanced Crafting

22 Dec 16:16

Choose a tag to compare

Added Webhook Support in case you would like to log when a player successfully crafts an item or fails to craft an item.

Config:

<?xml version="1.0" encoding="utf-8"?>
<Config xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Webhook>
    <Webhook>
      <Enabled>true</Enabled>
      <Url>Webhook Goes Here.</Url>
        <Colors>
          <SuccessColor>26D611</SuccessColor>
          <FailColor>F53030</FailColor>
        </Colors>
    </Webhook>
  </Webhook>
  <Recipes>
    <Recipe>
      <NameOfRecipe>GPS</NameOfRecipe>
      <RewardItem>1176</RewardItem>
      <Permissions>
        <Permission>
          <Value>craft.GPS</Value>
        </Permission>
        <Permission>
          <Value>craft.default</Value>
        </Permission>
      </Permissions>
      <Ingredients>
        <Ingredient>
          <Item>66</Item>
          <Amount>3</Amount>
        </Ingredient>
        <Ingredient>
          <Item>1175</Item>
          <Amount>1</Amount>
        </Ingredient>
      </Ingredients>
    </Recipe>
    <Recipe>
      <NameOfRecipe>Military Suppressor</NameOfRecipe>
      <RewardItem>7</RewardItem>
      <Permissions>
        <Permission>
          <Value>craft.MSuppressor</Value>
        </Permission>
      </Permissions>
      <Ingredients>
        <Ingredient>
          <Item>66</Item>
          <Amount>4</Amount>
        </Ingredient>
        <Ingredient>
          <Item>149</Item>
          <Amount>2</Amount>
        </Ingredient>
      </Ingredients>
    </Recipe>
  </Recipes>
</Config>

Translation:

<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="no_object" Value="No object was found in your line of sight." />
  <Translation Id="storage_open" Value="Opened storage." />
  <Translation Id="invalid_storage" Value="The object that you are looking at is not a storage unit." />
  <Translation Id="successful-Craft" Value="Congratulations. You have Crafted the item." />
  <Translation Id="no-perm-for-craft" Value="You do not have permission for this craft!" />
  <Translation Id="specify-recipe" Value="Please specify a recipe." />
  <Translation Id="please-add-ingredients" Value="Player add ingredients to the storage." />
  <Translation Id="recipe-doesnt-exist" Value="This recipe does not exist." />
</Translations>

Planned Updates:

  • Levelling
  • Custom success and fail webhook messages

V1.0 Advanced Crafting

22 Dec 16:02

Choose a tag to compare

AdvancedCrafting is a custom crafting plugin where the developers or owners can create custom crafts for items like GPS's or non-creatable items.

Config:

<?xml version="1.0" encoding="utf-8"?>
<Config xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Recipes>
    <Recipe>
      <NameOfRecipe>GPS</NameOfRecipe>
      <RewardItem>1176</RewardItem>
      <Permissions>
        <Permission>
          <Value>craft.GPS</Value>
        </Permission>
        <Permission>
          <Value>craft.default</Value>
        </Permission>
      </Permissions>
      <Ingredients>
        <Ingredient>
          <Item>66</Item>
          <Amount>3</Amount>
        </Ingredient>
        <Ingredient>
          <Item>1175</Item>
          <Amount>1</Amount>
        </Ingredient>
      </Ingredients>
    </Recipe>
    <Recipe>
      <NameOfRecipe>Military Suppressor</NameOfRecipe>
      <RewardItem>7</RewardItem>
      <Permissions>
        <Permission>
          <Value>craft.MSuppressor</Value>
        </Permission>
      </Permissions>
      <Ingredients>
        <Ingredient>
          <Item>66</Item>
          <Amount>4</Amount>
        </Ingredient>
        <Ingredient>
          <Item>149</Item>
          <Amount>2</Amount>
        </Ingredient>
      </Ingredients>
    </Recipe>
  </Recipes>
</Config>

Translation:

<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="no_object" Value="No object was found in your line of sight." />
  <Translation Id="storage_open" Value="Opened storage." />
  <Translation Id="invalid_storage" Value="The object that you are looking at is not a storage unit." />
  <Translation Id="successful-Craft" Value="Congratulations. You have Crafted the item." />
  <Translation Id="no-perm-for-craft" Value="You do not have permission for this craft!" />
  <Translation Id="specify-recipe" Value="Please specify a recipe." />
  <Translation Id="please-add-ingredients" Value="Player add ingredients to the storage." />
  <Translation Id="recipe-doesnt-exist" Value="This recipe does not exist." />
</Translations>