Runes
The plugin Runes allows yout to create youre own "Runes". Runes are Shapes that are made of ParticleEffects on the ground. They can execute either one of the pre-coded RuneEffects or a RuneEffect that is coded by yourself. This can be really useful as extension for PvP minigames but also for Adventuremaps or even as special effects for Lobby parcours. Here are some examples of Runes:
WARNING: Deleting the runes.dat file in the Runes folder will remove all existing Runes from all of youre worlds!
Updates
v 1.1
- Added methods for Executors
- Made the example RuneEffects configurable
- Added RuneEffectLaunch() example effect
- Added the PlayerEnterRuneEvent
- Fixed some little "bugs" that appeard if you had Runes with ParticleEffect that didn't exist (null)
v 1.2
- Fixed some bugs with the serialization of executors
- Added new RuneShapes : FILLED_CIRCLE and FILLED_SQUARE
- Made RuneShapes more efficient
- Made RuneEffectExplode more configurable
- Added a new example RuneEffect RuneEffectHeal wich creates a healing rain
- Added comments to the methods to make the API better understandeable
Use the API
All users will have to install this API additional to youre plugin.
Eclipse:
Rightclick on youre Project > Properties > Java Build Path > Add External JARs > select the downloaded JAR-File
Create a Rune
Rune methods
Create custom RuneEffects
Use the PlayerEnterRuneEvent
The PlayerEnterRuneEvent is used like any other Event. It contains the additional methods getPlayer(), getRune() and getLocation(). It's called before the RuneEffect.
Bugs
There are no known bugs yet. Please write a comment if you find one.
To do List
- Add methods for Executors ✓
- Make the example RuneEffects configurable ✓
- Add RuneEffectLaunch() example effect ✓
- Add a PlayerEnterRuneEvent ✓
What should I add next? Please leave a comment if you have any ideas.
Related Plugins
Want to see youre plugin here? Just leave a comment or PM with the link and I'll link youre plugin as soon as possible.
This Plugin uses the ParticleEffect Library v1.7 by @DarkBlade12. No instalation required.
Can you make a plugin to use particles and make text?