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
  • Obtaining a random item

Obtaining a random item · Changes

Page history
Updated Obtaining a random item (creole) authored Jul 20, 2020 by Indyuce's avatar Indyuce
Hide whitespace changes
Inline Side-by-side
Showing with 18 additions and 1 deletion
+18 -1
  • Obtaining-a-random-item.creole Obtaining-a-random-item.creole +18 -1
  • No files found.
Obtaining-a-random-item.creole
View page @ 15ff3076
......@@ -22,4 +22,21 @@ Keep in mind these arguments are all optional (which is what makes the item gen
Still being worked on
== Using MMOCore drop tables
Coming soon
\ No newline at end of file
Use this MMOCore table item if you want to add a specific item generator template to one of your MMOCore drop tables:
```
gentemplate{id=TEMPLATE_ID;tier=TIER_NAME;level=<int>;match-level=<true/false>} <chance> <min-max>
```
| Argument | Use |
| {{{id=TEMPLATE_ID}}} | Choose what item gen template you are using. |
| {{{level=<item-level>}}} | Forces the item level to be around level Y. |
| {{{tier=ITEM_TIER_ID}}} | Forces the item to be tier X. |
| {{{match-level=<true/false>}}} | The item level will match the player's level. |
Use this MMOCore table item if you do not want to use a specific gen template, but rather choose one randomly from all registered templates based on specific criterias. All the previous parameters (except for {{{id}}}) can be used on that format as well:
```
miloot{type=ITEM_TYPE_ID;class=PLAYER_CLASS;match-class=<true/false>;tier=TIER_NAME;level=<int>;match-level=<true/false>} <chance> <min-max>}
```
| Argument | Use |
| {{{type=ITEM_TYPE_ID}}} | Forces the item to be of a specific type. |
| {{{class="Class Name"}}} | The item is guaranteed to be usable by a certain class. |
| {{{match-class=<true/false>}}} | The player is guaranteed to meet the item class requirements. |
\ No newline at end of file
Clone repository

  • Home
  • Installation Guide
  • Commands

General

  • Item Types
  • Item Stats & Options
  • Item Creation

Features

  • Mitigation
  • Elemental Damage
  • Item Identification
  • Item Tiers
  • Gem Stones
  • Custom Durability
  • Item Sets
  • Item Upgrading
  • Soulbound

Crafting Stations

  • Crafting Stations
  • Upgrading Recipes
  • Recipe Conditions
  • Recipe Ingredients
  • Recipe Triggers

Custom Blocks

  • Custom Blocks
  • World Gen Templates

Item Management

  • Item Updater
  • Item Drop Tables

Item Generator

  • General
  • Item Templates
  • Item Modifiers
  • Complex Stats
  • Obtaining a random item

Abilities

  • Abilities
  • Ability List

Compatibility & API

  • Supported Plugins
  • Custom Item Textures
  • Main API Features
  • Stat API