Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Wiki Updates #43

Merged
merged 2 commits into from
Feb 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions docs/all-plugins/the-item-lookup-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ When using exact item NBT, you can't use `?`. `||`, or other modifiers.
Items can have modifiers applied to them in the key. For example, lets say you're configuring the GUI for EcoSkills. You want it to be a player head with a texture, but you're not sure how to do that, because it looks like you have to just specify a material. Actually, in all of my plugins, wherever it asks for a material, it's actually doing a lookup. You can specify any of the following modifiers to it:
- **Enchantments:** You specify an enchantment by adding `<enchantment>:<level>` to the key, and you can chain these together
- **Skull Texture:** If the material is a player head, you can specify the texture with `texture:<base64>`. A list of skulls and textures can be found [here](https://minecraft-heads.com/).
- **Player Head:** If the material is a player head, you can specify a player using `head:<name>`. You can also use placeholders, eg: `head:%player%`
- **Reforge:** If you have reforges installed, you can specify the reforge by adding `reforge:<id>` to the key.
- **Name:** You can specify the display name of an item with `name:<name>`. You can have multiple words by surrounding the name with quotes: `name:"Long Name"`
- **Item Flags:** You can specify flags for the item to have, by dropping in any of [these values](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemFlag.html) (not case sensitive)
Expand All @@ -50,6 +51,18 @@ Items can have modifiers applied to them in the key. For example, lets say you'r

So, lets say you have an EcoMobs mob, and you want it to drop a rare custom weapon with extra modifiers already applied. Without the Item Lookup system, this wouldn't be possible, but thanks to it, you can just do this: `ecoitems:enlightened_blade razor:4 unbreaking:3 criticals:2 fire_aspect:2 reforge:mighty unbreakable hide_attributes custom-model-data:2`

## Using items from my other plugins
You can use items from my other plugins anywhere using The Item Lookup system.
- **EcoItems:** `ecoitems:<id>`
- **Talismans:** `talismans:<id>`
- **EcoMobs:** `ecomobs:<id>_spawn_egg`
- **EcoPets:** `ecopets:<id>_spawn_egg`
- **StatTrackers:** `stattrackers:<id>`
- **EcoCrates:** `ecocrates:<crate>_key`
- **Reforges:** `reforges:stone_<id>`
- **EcoArmor:** `ecoarmor:set_<set>_<slot>` (Optional: `_advanced`)
`ecoarmor:shard_<set>` `ecoarmor:upgrade_crystal_<id>`

## Using items in ShopGUIPlus
If you want to use a lookup item in ShopGUIPlus, just do it like this:
```yaml
Expand All @@ -63,3 +76,13 @@ slot: 27

## Custom Items
Sometimes custom item IDs are namespaced. In order to make this work, you have to specify them like `itemsadder:namespace__key`, where two underscores denote where the `:` would normally go

Example: `itemsadder:my_items__my_helmet`
```yaml
info:
namespace: my_items
items:
my_helmet:
display_name: '&9Custom Helmet'
```
To use custom items from ItemBridge, you can use `itembridge:saved__<id>`. If it's an item from a supported plugin, it's `itembridge:<prefixn>__<id>`
7 changes: 7 additions & 0 deletions docs/all-plugins/what-plugins-do-you-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ If a plugin isn't on this list, it doesn't mean it wont work, it just means that
- CrashClaim
- CombatLogX
- FabledSkyblock
- HuskClaims
- HuskTowns

## Anticheat
- AAC
Expand All @@ -43,6 +45,7 @@ If a plugin isn't on this list, it doesn't mean it wont work, it just means that
- MythicMobs
- Scyther
- Denizen
- ItemBridge

## Shop
- ShopGUIPlus
Expand All @@ -58,6 +61,10 @@ If a plugin isn't on this list, it doesn't mean it wont work, it just means that
## Economy
- Vault

## Custom Terrain
- Terra
- TerraformGenerator

## Misc
- mcMMO
- MultiverseInventories
Expand Down
13 changes: 13 additions & 0 deletions docs/effects/all-effects/create_explosion.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# `create_explosion`
#### Triggered Effect

Creates an explosion

# Example Config
```yaml
- id: create_explosion
args:
power: 1 # The power of the explosion
amount: 1 # The amount of explosions
...other config (eg triggers, filters, mutators, etc)
```
6 changes: 3 additions & 3 deletions docs/effects/all-effects/feather_step.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# `flight`
# `feather_step`
#### Permanent Effect

Grants flight
Prevents trampling crops

# Example Config
```yaml
- id: flight
- id: feather_step
```
6 changes: 3 additions & 3 deletions docs/effects/all-effects/flight.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# `feather_step`
# `flight`
#### Permanent Effect

Prevents trampling crops
Grants flight

# Example Config
```yaml
- id: feather_step
- id: flight
```
Loading