Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
M mmoitems
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 47
    • Issues 47
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • mmoitems
  • Wiki
  • Crafting Stations

Last edited by Joshua - Flirtey Apr 18, 2020
Page history
This is an old version of this page. You can view the most recent version or browse the history.

Crafting Stations

Crafting stations enable players to easily craft specific items using crafting recipes, which require ingredients and conditions. When opening a crafting station, players can see information about the station recipes, including the recipe conditions (permissions, levels), ingredients and output, and navigate through them using the pagination system.

You can make a player open a crafting station GUI by using the following command: /mi stations open {player} {station-id}. You can check the list of available crafting stations by using /mi stations list.

Creating a new crafting station

Crafting stations are saved in the /MMOItems/crafting-stations folder. Every YML file in that folder corresponds to a crafting station, therefore you can create a crafting station by creating a new YML file. Be careful when choosing the file name, because it corresponds to the ID you will be using as reference when opening a GUI to a player via the command as explained previously.

Configurating a crafting station

# Name which will be displayed
# when opening the station
name: 'Arcane Forge (#page#/#max#)'

# Configure GUI items here
items:
    fill:
        material: PINK_STAINED_GLASS_PANE
        name: '&a'
    no-recipe:
        material: GRAY_DYE
        name: '&a'

Every crafting station needs some basic information provided in the station config file, including the name option which corresponds to the GUI name. The items config section is used to change some of the GUI items. The fill item is the item used to fill remaining GUI slots around the recipe items. The no-recipe item is used to fill GUI recipe slots when there are no recipes. The previous config therefore displays that:

Clone repository

Home

General

  • Item Types
  • Item Stats & Options
  • Item Creation

Features

  • Mitigation
  • Elemental Damage
  • Item Identification
  • Item Tiers
  • Gem Stones
  • Custom Durability
  • Item Sets
  • Item Drop Tables
  • Crafting Stations

Abilities

  • Ability List

Compatibility & API

  • Supported Plugins
  • Custom Item Textures
  • Plugin API

Other

  • Installation Guide