Перейти к содержимому
Mineforgian

Devotions - Deities and Blessings ⛧†

Customizable Deities for players to interact with!

Загрузки
1K
Подписчики
17
Обновлён
13 марта 2024 г.
Лицензия
Apache-2.0

Опубликован 30 ноября 2023 г.

Example Use:

This plugin is inspired by my love for some older RPG games with similar mechanics. I've seen other plugins here try similar things but unfortunately they don't seem to be supported anymore. This plugin also aims to be highly customizable. It is for servers that want to add another layer of depth for their players. Create any religion you want, tell your own stories!

Be sure to take a look at the wiki if you're setting up the plugin. Please contact me on Discord if you need help or have any suggestions.

Current Features:

  • Create deities for players to worship, each with their own details
  • Favor system with each deity that shows where the player stands with them
  • Blessings or miracles might occur if favor is high, if its too low curses may afflict the player.
  • Customizable chances for all events.
  • Miracles have effects based on the player's condition. Save them from death, stop them from burning, repair their items, and more!
  • Players can dedicate shrines to their deity with a customizable limit
  • Create rituals with customizable objectives and commands on completion
  • Customizable sounds config
  • PlaceholderAPI support

Planned Updates:

  • MMOItems support
  • Customizable chat messages

Permissions:

  • devotions.admin - Allows use of admin commands (default op)
  • devotions.shrine.list - List all shrines/tp to them (default op)
  • devotions.shrine.set - Dedicate a shrine (default everyone)

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

Ченджлог

1.2.8-betaБета1.20.2, 1.20.3, 1.20.4 · 13 марта 2024 г.

Added support for potions in rituals and offerings. Here's how to format them: item: "VANILLA:POTION_SPEED"

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

Other 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.
  • 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
  • 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
1.2.6-beta-v2Бета1.20.2, 1.20.3, 1.20.4 · 5 февраля 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.
1.2.6-betaБета1.20.2, 1.20.3, 1.20.4 · 31 января 2024 г.

Started working on things mentioned in https://github.com/xIdentified/Devotions/issues/10

  • 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)
  • Issues relating to multiple favor tickers fixed

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

1.2.5-betaБета1.20.2, 1.20.3, 1.20.4 · 24 января 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

1.2.4-betaБета1.20.2, 1.20.3, 1.20.4 · 10 января 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.

1.2.3-beta-fixБета1.20.2, 1.20.3, 1.20.4 · 2 января 2024 г.

Should fix issues with offerings/rituals

1.2.3-betaБета1.20.2, 1.20.3, 1.20.4 · 28 декабря 2023 г.
  • 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.

⚠️ 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:

    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:

    display_name: "Ritual of Deep Meditation"
    description: "Attain inner peace and spiritual enlightenment"
    favor: 25
    item: "VANILLA:BOOK" # NOW TYPE:ITEM
    conditions:
      time: "DAY"
1.2.2-betaБета1.20.2, 1.20.3, 1.20.4 · 12 декабря 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! use-player-client-locale: true default-locale: "en"

Комментарии

Загружаем…