Devotions - Deities and Blessings ⛧† icon

Devotions - Deities and Blessings ⛧† -----

Create your own Deities for players to interact wih; Give offerings, perform rituals, and more!




This update has some important changes:
- Fix for Issue #15
- Fix for Issue #21
- Support for chat symbols!! Use %devotions_symbol% in your chat plugin to use associated icons in config.yml
- Streamlined how configs are all loaded/reloaded. This fixes some misc issues like favor not decreasing properly, issues with abandoning deities etc. Or an issue with deity names and IDs having to be the same for commands to work properly.


I had a lot more planned for this update but wanted to fix the most important issues first.
Next I will work on improving rituals, and making them more user-friendly to configure. You can always check Trello to see what is planned. Most things in there are from Discord.
----------, Jan 14, 2025

- Fixed issue for loading on 1.19 servers
- Fixed PlayerInteractEvent error when using shrines on some servers
----------, Jun 29, 2024

Changes:
- Coordinate based pilgrimages now check within a 3 block radius of coords instead of the exact location
- If WorldGuard is installed, you can use a worldguard region as a 'target' area for your pilgrimage instead
- Added a check so %devotions_deity% returns 'None' if player isn't following a deity
----------, Jun 24, 2024

Changes:
- `consume-item: true/false` option in rituals.yml, true by default
- Optional `abandon-condition` and `selection-condition` added to deities.yml, PAPI expression to evaluate whether players can follow or abandon specific deities
- More rituals (Pilgrimage (travel to specific coords - will add worldguard regions and such later), craft items, breed livestock, sacrifice passive mobs)
- Added placeholders %devotions_favor_top_God1_1% and so on
- Cleaned up small errors with default msgs
- Updated dependencies
----------, May 19, 2024

Leo updated translations, should resolve some errors users were getting in console :)
----------, May 16, 2024

Fixed an issue users were reporting with /deity abandon

Using /shrine list now lets those with 'devotions.admin' permission click on the text to teleport to shrine, while regular players will just see the coordinates.
----------, May 2, 2024

Changes:
- Fixed an issue with the javascript engine, switched to using Rhino for the library
- /deity info or /deity select with no args returns selected deity's info, or prompts you to pick one
- Favor decay messages stop displaying if favor is at 0
- Some people were having issues with multiple deities, I think it was a concurrency issue should be fixed now.
----------, Mar 12, 2024

Added support for potions in rituals and offerings.
Here's how to format them:
Code (Text):
item: "VANILLA:POTION_SPEED"
Other changes:
- Better handling for invalid rituals. Will remove item and log error, and fail the ritual on the player's end
- Items are placed only after checking if they are a valid ritual/offering
----------, Feb 29, 2024

Hey, been super busy recently so I didn't have time to get the storage migration working yet but figured I'd still put this out for all the other changes :)

IMPORTANT: Make sure to copy/paste the contents of your `shrines.yml` and `playerdata.yml` into the new `storage.yml` file as shown here.

Updates:

- SQlite and MySQL storage options
- Added bStats
- /deity abandon to leave your devotion
- fixed bug with cooldowns
- favor messages make more sense if you put unexpected values - also fixed where I forgot to put negative values for the new method lol
- new permissions: devotions.favor for /favor, devotions.select allows /deity
----------, Feb 25, 2024

Changes:
- Cooldowns only checked on valid offering/ritual. This ensures you don't have to wait for a cooldown if you tried to start a ritual with an invalid item.
- Fixed missing shrine.cooldown message. Will now generate in lang.yml files
- Entering /deity with no args now displays your deity's info.
- Warning if more than one ritual has the same key item - rituals are intended to have a unique item to start.
----------, Feb 5, 2024

Started working on things mentioned in this issue.

- Fixed issue where rituals were starting regardless of deity
- Added /ritual cancel to cancel rituals partway through
- Added penalties for moving during meditation (lightning as warning, cancel ritual if player keeps moving)
- Added devotions.select permission for /deity (true by default)

Also working on the other suggestions with running commands at ritual start, config updates, etc but will take a bit longer to do.
----------, Jan 31, 2024

This should be a definite fix for multiple favor counters ticking down after a player changes between deities. Tested it for a few days before posting.

Expect more bugfixes in the next several days but this one was pretty important so wanted to get it out asap :)
----------, Jan 30, 2024

Quick update to fix some of the issues mentioned on Github, the following issues should be fixed:
- Blocks being placed on offering
- More than one favor count after switching between deities

ALSO add: `decay-when-offline: false` to your config.
False by default, unless you want people to have to login to maintain their favor lol
----------, Jan 24, 2024

Features added:
- Javascript expressions with PlaceholderAPI as ritual conditions. This should allow for any custom conditions you want as long as there's a placeholder for it. Requested by SilentAssassin9.

- Option to disable restricting shrines to certain players. Add `all-players-can-interact-with-shrines: true` to your config.yml. Requested by KidoAkira.

- Option to run a list of commands when an offering is accepted. Refer to the wiki for the updated syntax. Requested by Yash Pandey.

This should also address some of the issues that were happening with rituals. Next update I'll get database support implemented.
----------, Jan 10, 2024

This should fix the issue with offerings and rituals not being accepted but hasn't been thoroughly tested
----------, Jan 2, 2024

Changes:
- Fixed issues with favor text being parsed on Spigot and Paper servers, should work without issue on both servers including color changes.
- In /testmiracle command, you now use numbers to pick the miracle - so you can easily select long command strings
- Fixed an error on disable
- Inform players if they try to designate an existing shrine
- Started working on "saved" items. Should allow you to save itemstacks from any plugin.

⚠️ IMPORTANT ⚠️
To lay the grounds for future implementation of saved items I had to adjust how items are formatted in offerings and rituals.

Please update your `Deities.yml` as such:
Code (Text):
  baphomet:
    name: "Baphomet"
    lore: "A mysterious deity often associated with the occult."
    domain: "Occultism"
    alignment: "Evil"
    offerings:
      - "VANILLA:GOLD_INGOT:5" # NOW TYPE:ITEM:FAVOR
      - "VANILLA:NETHER_STAR:50"
 
And your `Rituals.yml`:
Code (Text):
meditation_ritual:
    display_name: "Ritual of Deep Meditation"
    description: "Attain inner peace and spiritual enlightenment"
    favor: 25
    item: "VANILLA:BOOK" # NOW TYPE:ITEM
    conditions:
      time: "DAY"
----------, Dec 28, 2023

This version should address any errors in console related to the plugin's chat messages. Language support was also added thanks to leob99!

Plugin messages should now be updated to your locale, only English and Deutsche are supported at the moment.

IMPORTANT
Make sure to add these options to your config.yml!

Code (Text):
use-player-client-locale: true
default-locale: "en"
----------, Dec 11, 2023

Fixed issue for Spigot servers where MiniMessage library wasn't included in JAR.
----------, Dec 6, 2023

Happy Holidays, here's a small update to address some issues and tidy things a bit more. :)

Changes made:
- Added tabcomplete to /devotions reload
- Fixed issue where shrine event listener was registering twice on plugin reload
- Fixed issue where deities would load twice on plugin reload
- Removed some leftover debug messages

Next I'll be working towards customizeable messages and possibly language support.
----------, Dec 4, 2023

Added three placeholders:
%devotions_deity% - show player's deity
%devotions_favor% - show current favor amount
%devotions_favor_top% - formatted list of top 3 players and their favor amounts.

I also made a change to how a player's favor amount is displayed in chat, including in the placeholders.

If the player's favor is low it will be red, medium amount will be yelow, high amount will be green, VERY high will be light blue. The values are based off your set config values so it's adjustable to your tastes.

The purpose of this is to indicate visually to players when they're eligible to get blessings, curses, etc. (y)
----------, Nov 24, 2023

Resource Information
Author:
----------
Total Downloads: 1,196
First Release: Nov 15, 2023
Last Update: Jan 14, 2025
Category: ---------------
All-Time Rating:
9 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings