Skip to content

Commit

Permalink
Merge pull request #73 from Exanthiax/fancynpcs-integration
Browse files Browse the repository at this point in the history
Added FancyNpcs support
  • Loading branch information
WillFP authored Jan 31, 2025
2 parents f8c1f70 + a3a9022 commit 451fa67
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
6 changes: 5 additions & 1 deletion docs/all-plugins/what-plugins-do-you-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,14 @@ If a plugin isn't on this list, it doesn't mean it wont work, it just means that
- Aurelium Skills (v1)
- AuraSkills (v2)

## NPCs
- Citizens
- FancyNpcs

## Misc
- MultiverseInventories
- Essentials
- CustomCrafting
- Model Engine
- NuVotifier
- AxEnvoy
- AxEnvoy
3 changes: 2 additions & 1 deletion docs/ecoskills/how-to-make-a-skill.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ xp-requirements:
# levels: 1
# start-level: 10
# end-level: 20
# every: 2

rewards:
- reward: defense
Expand All @@ -118,7 +119,7 @@ rewards:

- reward: dynamic_mining
levels: 1
every: 1
every: 2

# Effects to run when the skill levels up
# %level% is the level the skill leveled up to.
Expand Down
12 changes: 10 additions & 2 deletions docs/effects/all-filters/npc.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,21 @@

Require a certain NPC

**Requires Citizens**
**Requires Citizens || FancyNpcs**

# Example Config

**Citizens**
```yaml
filters:
npc: # The NPC IDs
npc: # The Citizens NPC IDs
- 1
- 15
```
**FancyNpcs**
```yaml
filters:
npc: # The FancyNpcs NPC IDs (UUID from npcs.yml)
- 5ccc42ba-82ff-4ca3-a1a8-408bf8187170
```
4 changes: 2 additions & 2 deletions docs/effects/all-triggers.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ and are used in plugins like EcoSkills, EcoPets, EcoJobs (etc) for levelling.
| `leave_bed` | Triggered when leaving a bed | 1 |
| `leave_job` | Triggered when leaving a job **Requires EcoJobs** | The job level |
| `leave_region` | Triggered when leaving a region **Requires WorldGuard** | 1 |
| `left_click_npc` | Triggered when left-clicking an NPC **Requires Citizens** | 1 |
| `left_click_npc` | Triggered when left-clicking an NPC **Requires Citizens \|\| FancyNpcs** | 1 |
| `level_down_mcmmo` | Triggered when levelling down McMMO skill **Requires McMMO** | The new level |
| `level_up_item` | Triggered when levelling up an item | The new item level |
| `level_up_job` | Triggered when levelling up a job **Requires EcoJobs** | The new level |
Expand All @@ -103,7 +103,7 @@ and are used in plugins like EcoSkills, EcoPets, EcoJobs (etc) for levelling.
| `regen_magic` | Triggered when regenerating magic **Requires EcoSkills** | 1 |
| `register_vote` | Triggered when a player votes for the server **Requires NuVotifier** | 1 |
| `respawn` | Triggered when respawning | 1 |
| `right_click_npc` | Triggered when right-clicking an NPC **Requires Citizens** | 1 |
| `right_click_npc` | Triggered when right-clicking an NPC **Requires Citizens \|\| FancyNpcs** | 1 |
| `run_command` | Triggered when running a command | 1 |
| `scyther_auto_collect` | Triggered when autocollecting crops with a scyther hoe **Requires Scyther** | 1 |
| `scyther_auto_sell` | Triggered when autoselling crops with a scyther hoe **Requires Scyther** | 1 |
Expand Down

0 comments on commit 451fa67

Please sign in to comment.