-
Notifications
You must be signed in to change notification settings - Fork 9
AStages Effect Restriction
Kessy edited this page Jan 25, 2025
·
2 revisions
Effect Restrictions limits a player’s ability to gain or use specific potion effects or status effects based on their progression stage. This adds an extra layer of control and customization to gameplay mechanics.
| Method | Description | Parameters | Returns |
|---|---|---|---|
AStages.addRestrictionForEffect(id, stage, effect) |
Create and add generic effect restriction. |
id: arbitrary string used as identifier.stage: progression stage.effect: effect to be restricted. |
AEffectRestriction |
// Server Script Folder -> file.js (arbitrary file name).
AStages.addRestrictionForEffect("astages/effect", "stage_effect", "minecraft:levitation")Documentation:
-
Restrictions
- Crop
- Dimension
- Effect
- Enchant
- Item (Old)
- Loot
- Mob
- Ore
- Pet
- Recipe
- Region
- Screen
- Structure -
Addons
- Curios API
- Pufferfish Skill's -
Simple Restrictions (via commands)
Brand new and intuitive way to add restriction! -
Developers
- Plugin
- Restrictions
- Simple Restrictions
- Stage System
- Utils -
Q&A
A place where questions are on the agenda! -
Changelogs
Changelogs since 0.6.0 version! -
What's Happened? (FLOP!)
New code formatting is coming!