mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-12-22 04:37:46 +01:00
Page:
Conditions
Pages
Alchemy
Anti Cheat Support
Block Types
Combat
Commands
Conditions
Converting to MySQL (From flatfile to SQL)
Currency System
Custom Professions
Default Stat Values
Drop Tables
EXP Boosters
Enchanting
Experience Curves
Experience Sources
Experience Tables
Fishing
Friends
Installation Guide
Loot Chests
MMOItems Compatibility
Mining and Block Regen
Modules
MythicMobs Compatibility
Oraxen Support
Parties
Permissions
Placeholders
Player Attributes
Player Classes
Player Resources
Player Skills
Player Statistics
Plugin API
Quests
Restrictions, Every Material
Skill Casting
Skill Trees
Smithing
Supported Plugins
Tool Restrictions
Triggers
Vanilla EXP
Waypoints
_sidebar
chests.yml
home
3
Conditions
Ka0rX edited this page 2022-08-17 15:21:06 +00:00
Table of Contents
Every drop table has the ability to be restricted with various conditions. This means that only players that meet all the requirements on a drop table will actually access it when performing an action. Here is a list of available conditions.
Conditions tables (Since 1.9.5)
You can create condition tables in conditions.yml
. You will then be able to reference an entire set of conditions at once using the from
condition.
#Example
test-condition:
- 'level{amount=10}'
#Will load the 2 conditions from test-condition-2.
- 'from{source=test-condition-2}'
test-condition-2:
- 'world{name=world}'
- 'level{profession=mining;amount=3}'
All the conditions
Condition | Format |
---|---|
From | from{source=condition-id} |
Main Level | level{amount=LEVEL_HERE} |
Profession Level | level{profession=PROFESSION_NAME;amount=LEVEL_HERE} |
Current Biome | biome{name=BIOMES} |
Current World | world{name=WORLD_NAME} |
Permission | permission{node=PERMISSION_NODE} |