Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for jamailun

A custom DSL for nice spells in your world.

Report UltimateSpellSystem?

banner

What is this plugin ?

This plugin can allow for players to cast registered spell bound to items, with a one-time usage in mind.

Spells are created using a custom DSL.

The format is lightweight, and can be easily shared in a community.

How can I use it ?

Simply follow those steps :

  1. Download the lastest version here or on github and move to jar into your plugins/ folder.
  2. Put some spells in the plugins/UltimateSpellSystem/spells folder. You can find examples here.
  3. Type /uss reload to load those new spells. You can test them with /uss cast <spell_id>.
  4. Now you can now bind a spell to an item (/uss cast <spell_id> true). You have just created an item bound to a spell.
  5. Distribute those items into your economy ! The spell ID is stored into the item NBT, so you'll be able to easily update the spell later on.

Can you show me examples ?

Sure : examples.

What does the code looks like

The syntax looks like this. Check the wiki for more information.

send to %caster message "You just casted a spell !";
# I'm a comment
define %enemies_around = sizeof(all monsters within 10 around %caster)
if(%enemies_around > 2) {
    summon IRON_GOLEM for 4 seconds with: {{
        name: "&eMichel",
        health: 25 + 5 * %enemies_around
    }} 
}

Ideas

Let's see what we could do with this ? We could...

  • Throw fireballs to our enemies,
  • Create a sphere around us, where undeads will burn and allies will become stronger,
  • Root enemies around us as we move around,
  • Summon zombies to target other zombies, or even chickens.

The imagination will be your limit !

Screenshots

Those examples will not let you experience the beauty of the particle or the wonder of the sounds, but let our imagination animate the pictures.

Example 1: a "smite"

The caster will levitate and, after a will, all undeads around will be purified with the light.

[Link to the code]

Example 2 : a "root"

Root all monsters around the player, for a duration.

[Link to the code]

Information

CategoryGameplay
Published onFebruary 23, 2025
LicenseGPL
Downloads4
Stars0
Watchers0

Pinned Versions

Members