Skip to content

Some suggestions implemented, rewritten stuff, fixed more stuff

Compare
Choose a tag to compare
@Mowstyl Mowstyl released this 21 Jul 18:01
· 65 commits to master since this release

Administrators upgrading from older versions, please read until the end.
Config file and locales have new entries, you should regenerate them and update them to your liking.
Finally, due to the changes in this update old blood flasks, holy water flasks and sun rings won't work: they need to be created again. Sorry about any inconvenience.

  • Removed NBTAPI, now using PersistentData Spigot API. That means Minecraft updates won't break the plugin!
  • Removed support for WorldGuard versions older than 7.
    Added the option to put all vampires inside of the permission group specified in the config file.
  • Added an option to make vampires use their food instead of their health when creating Blood Flasks
  • Added HolyWater command.
  • Added locales for Blood Flasks.
  • Added "entry-vampires" WorldGuard flag that makes vampires unable to enter a region. With "entry-vampires -g non_members deny" you make that only vampires who have been invited to the region (members or owners) can go inside of it.
  • Fixed Blood Flasks not working correctly.
  • Fixed plugin doing weird stuff when you don't have WorldGuard installed.

Extra:
Created migrate.py to help migrate data from older versions (no DBHandler) to newer ones. When updating from older versions, since we changed how the data is stored, the saved data of your players might become obsolete. Your old data won't be modified in any way, saved in the store folder as before. The new data will be stored in the store/vampire_data folder. If you want to update your old player files to the new format, you can't just move them into the new folder, you'd have to use the script we have created.
How to use it:

  1. Download the migrate script from our official repo: https://github.com/Mowstyl/Vampire/blob/master/utils/migrate.py
  2. Download and install Python 3 (unless you already have it) from the official website: https://www.python.org/downloads/. Recommended a version newer than 3.6.
  3. Copy the migrate.py script to the VampireRevamp folder, putting it next to the config.yml.
  4. Create a folder named vampire_data inside the store folder (if it doesn't exist)
  5. Run the migrate.py script with Python 3.
  6. Done!