[1.13-1.21.3] Races of Thana・Custom GUI, Attributes, Day & Night Effects and more! icon

[1.13-1.21.3] Races of Thana・Custom GUI, Attributes, Day & Night Effects and more! -----

A truly customizable, feature-rich race plugin




[​IMG]

FIXED
- The FLIGHT attribute would not work under certain conditions.
- The potions module would error out under certain conditions.
- Healing a player through a damage cause on 1.21.1 or below would cause errors.

- Changed the way attribute values and modifiers are applied to players of a race. This must have a big positive impact on performance.

Documentation | Questions / Suggestions / Bug Reports
----------, Nov 24, 2024

[​IMG]

ADDED
- Proper support for 1.21.3.
- Backwards compatibility for attributes before 1.21.2.
Versions below 1.21.2 must provide the prefix of the attribute as well. For example: GENERIC_SCALE, GENERIC_MAX_HEALTH_MODIFIER, etc.
- Added the race GUI item to the debug subcommand:
upload_2024-11-15_19-24-2.png
- The durability of items within the configuration files allow you to either parse it as a string ('0') or integer (0) without breaking.

FIXED
- Attributes no longer worked with 1.21.2+. This was due to a change made to attributes in 1.21.2.
- CustomModelData (custom-model-data) was not being recognized.
- Placeholders would break upon using /papi reload.

Documentation | Questions / Suggestions / Bug Reports
----------, Nov 15, 2024

[​IMG]

ADDED
- Support for 1.21.3.

CHANGED
- The following custom attributes have been moved to the damage module: NYCTOPHOBIA, VAMPIRE, SOFT_LANDING.
Additionally, the previously known NYCTO attribute has been updated to NYCTOPHOBIA (now part of the damage module instead).
Documentation on how to use these can be found in the updated wiki page.
- Default races have their preset damage module disabled by default to avoid confusion while still providing example usage.
- Updated default races' sounds.

FIXED
- Vanilla attributes would speed up the player.
- Head textures in the GUI disabled the plugin.

- You were unable to make use of the spectator mode due to the flight attribute clashing.
- Race sounds would not work if the player was hurt by a damage cause not present in the configuration file. ( #11)
- You could not use the plugin with a server version below 1.21.

Documentation | Questions / Suggestions / Bug Reports
----------, Nov 9, 2024

[​IMG]

ADDED A new minimalistic race called "basic" has been added to the default configuration files.

CHANGE Modules can now be removed from the race file.
CHANGE The default elf race will no longer have OUT_OF_WATER damage or FLIGHT attribute enabled by default to avoid confusion.

FIX Default races could not be deleted and their files would regenerate. The default races are only generated if the races folder is empty on startup or if the folder does not exist in the first place. (#3)

FIX Upon changing races, if your new race did not have an attribute or idle sound the old class had, it would not properly reset. (#3)
FIX Potion effects not originating from Races of Thana (e.g. consuming potions) would not work whatsoever.
FIX Flight was taken away from the player unintentionally.
FIX GUI border items were not properly parsed.
FIX The plugin will no longer notify you if you're on the latest version.
FIX Default races were misaligned.
FIX Removed debug lines from console.

Idle sounds need to be worked on further and can error out in console. I'm sorry for the inconvenience and I'm trying my best to fix this as soon as I can. I wanted to release the changes above to mitigate the amount of issues you'd be running into.


Documentation | Questions / Suggestions / Bug Reports
----------, Nov 2, 2024

[​IMG]

FIX Default races could not be deleted and their files would regenerate. The default races are only generated if the races folder is empty on startup or if the folder does not exist in the first place.
FIX Upon changing races, if your new race did not have an attribute or idle sound the old class had, it would not properly reset.

Thanks to conscnt1 on GitHub for reporting these bugs!

Documentation | Questions / Suggestions / Bug Reports
----------, Oct 28, 2024

[​IMG]

FIX Plugin would not start up without ConditionalEvents installed.
FIX Race GUI would throw an error if you didn't already have a race.
FIX Removing a player's race while they're taking damage would result in an error.
FIX /races unset <player> didn't properly check for the player's race.

Documentation | Questions / Suggestions / Bug Reports
----------, Oct 22, 2024

[​IMG]

ADDED Tab completion to the /races debug <config|race|lang> command

CHANGE The damage module has been reimagined, now supporting all vanilla damage causes as well.
CHANGE Compiled against latest 1.21.1.

FIX Removed debug lines from console.
FIX The default lang.yml file was generating the wrong keys.
FIX Default races weren't updated.
FIX Fixed the player's race not being set if the level system was disabled.
FIX Modifiers would stack after restarts. Additionally, all attribute modifiers now have the "racemodifier" name associated with them for clarity.
⚠️ I've added temporary subcommand to /races debug. You can do /races debug raceattributes [player] to remove all race-related attributes. You can also do /races debug allattributes [player] to remove all modifiers from all attributes the player has.
FIX Idle sounds would repeatedly play when they shouldn't be.
FIX The hurt sound will no longer be played when the user is being healed from anything within the damage module, including the vampire and nycto attributes.
FIX The default config.yml and hooks.yml files now retain their documentation comments.
FIX Fixed the missing levels.enabled setting in the default config.yml file. Additionally, if the setting has been removed from the config (by you), it will no longer error out. ( #2)
FIX Optimized the damage module.
FIX Optimized the scheduler and how players get updated.

Known issue: The level system is non-functional at present. It is recommended to avoid using it.

Documentation | Questions / Suggestions / Bug Reports
----------, Oct 17, 2024

[​IMG]

- Removed more debug lines.
- Fixed the player's race not being set if the level system was disabled.
- Fixed idle sounds repeatedly playing when they shouldn't be.
- The hurt sound will no longer be played when the user is being healed from anything within the damage module, the vampire and nycto attributes.
- Made optimizations to the damage module.

Known issue: The level system currently does not work at all. I advise you to not use it.
----------, Oct 12, 2024

[​IMG]

FIX The default config.yml and hooks.yml files now retain their documentation comments.
FIX Fixed the missing levels.enabled setting in the default config.yml file. Additionally, if the setting has been removed from the config (by you), it will no longer error out. ( #2)
----------, Oct 7, 2024

[​IMG]

CHANGE Compiled against latest 1.21.1.
FIX Removed debug lines from console.
FIX The default lang.yml file was generating the wrong keys.
FIX Default races weren't updated.
----------, Oct 7, 2024

[​IMG]

Welcome to the v4.0 version of Races of Thana.
I've worked on this update for a long time. I hope you'll like it.

⚠️ Do not update this plugin directly onto your live server. This plugin requires configuration overhauls and I expect it to contain bugs.

All documentation can be found in the GitHub wiki.
Additionally, all questions, suggestions and bug reports should go to GitHub Issues.
----------, Oct 7, 2024

[​IMG]

- Added race death commands & race respawn commands. For example:
Code (YAML):
commands:
    race-commands-death
:
   - bc %player_displayname% has died!
    race-commands-respawn
:
   - bc %player_displayname% has respawned!
Make sure to add them to each race's configuration if you won't regenerate the race files. You may leave them out if you won't use them.
- Fixed swimming through seagrass & kelp marking the player as being out of the water.
----------, Jan 12, 2024

[​IMG]

- Added hex color support within the configuration files. For example:
Code (YAML):
prefix : ' #6ADD67Races of Thana&c:'
----------, Oct 31, 2023

[​IMG]

- Added an override-current-potions setting to each race (false by default). Setting this to true will not override a player's potion effect if they already have it running.
For example, if a player drinks a strength potion but their race offers strength as well, their self-consumed strength potion effect will have to run out before they get their race's passive. Setting this to true also does not instantly clear potion effects from the player when switching races.
Code (YAML):
potions:
  enabled
: true
  potion-bubbles
: false
  override-current-potions
: true/false
- Updated plugin.yml description.
----------, Sep 9, 2023

[​IMG]

- Fixed a damage-related error which would appear if a player without a race took fall damage.
- Race damage event optimizations.
----------, Jul 14, 2023

[​IMG]

- Added 1.20 support.
----------, Jun 8, 2023

[​IMG]

- Fixed race sounds not working since the last update.
- Code clean-up.
----------, Apr 20, 2023

[​IMG]

- Race tokens can load in and be functional without needing Citizens any more.
- Attempting to select a race while not having/being one no longer errors out.
- Added precautions to the race token module if Citizens is on the server but not enabled.
- Race GUI will now only close if the player clicks on 1 of the race icons and will no longer close if the player clicks on anything else (e.g. empty space, outside the inventory, decoration slots, etc.).
----------, Feb 9, 2023

[​IMG]

- Re-compiled against Java 17.
----------, Feb 8, 2023

[​IMG]

- Your race will no longer be removed when using /races gui.
- Setting the race material to PLAYER_HEAD now properly displays the default skull texture.
- Which race you clicked in the GUI was previously checked by comparing each ItemStack. It has been simplified to check for the slot number.
- ⚠️ You can now enable/disable race sounds through per race. It will not work as intended if you don't update them.
Each race's configuration file should have their sound configured like so:
Code (YAML):
sounds:
  enabled
: true
  hurt-sound
: ENTITY_PLAYER_HURT
  death-sound
: ENTITY_WITHER_DEATH
- Updated textured skull logic.
- Performance has been improved.
----------, Feb 4, 2023

[​IMG]

FIX /races spawn wouldn't properly check for race-location.enabled, print an error and broadcast a debug line I forgot to remove.
----------, Oct 2, 2022

[​IMG]

FIX
Under some conditions, logging out as the last player would spam console with an error.
FIX Attributes stopped working as decimals.

Thank you for reporting both of these issues, @Elender!
----------, Sep 2, 2022

[​IMG]

ADDED
Out of water damage has been added to each race's config file. It'll damage the player when they're out of the water. Pre-existing configs won't have this added automatically. The damage section for new races will look like the following:
Code (YAML):
damage:
  enabled
: false
  water-damage
: false
  out-of-water-damage
: false
  lava-damage
: false
  affect-fire
: false
  water-damage-amount
: 2
  out-of-water-damage-amount
: 2
  lava-damage-amount
: 2
ADDED A player can now be teleported to their race's home when they die if the following new setting is enabled (can be found under race-location, false by default):
Code (YAML):
teleport-on-death : true
CHANGE The value from the vampire attribute no longer indicates ticks but instead became the value for the amount of damage per 20 ticks (1 second). FIX Some commands would not properly work when executed through console.

We all love some code cleanup.
----------, Aug 7, 2022

[​IMG]

FIX After the last update, /races reload would error out. That has now been fixed!
----------, Mar 7, 2022

[​IMG]

CHANGE Citizens is no longer a hard dependency, so you can use ROT without it.*
*Without Citizens, you'll be unable to create a race-changer NPC. May you still want to use the race token without Citizens will you have to implement that manually.
FIX /races setspawn <race> properly works now. Thank you @Venion
----------, Mar 3, 2022

[​IMG]

HOTFIX Fixed a bug where you'd get stuck in the GUI since the last update!
Thanks a lot to @Shadowfire1217 for testing and providing information
----------, Oct 29, 2021

[​IMG]

FIXED race-choose-commands now properly respects the enabled value
----------, Oct 29, 2021

[​IMG]

FIXED Improper permission check for per-race-permissions.
FIXED Using skulls as GUI material doesn't bug out any more.
MINOR The description of /racechat within /races will now properly display the race's display name.
VISUAL /racechat's colors are less tedious.
VISUAL This update includes changes to the appearance of most commands (let me know what you think!). I've noticed that Paper and Geyser users were unable to use most commands. This should now be fixed!

[​IMG]
----------, Oct 20, 2021

[​IMG]

ADDED You can now set a race's GUI item to a custom head! Simply set the material to "skull:" followed by a value from a custom head. I'd recommend using Minecraft Heads. Pick a custom head and scroll to the bottom, copy the bottom value (under Minecraft-URL) and paste it after "skull:", like so:
Code (Text):
skull:e2274bbf9f179002a1127c1730e470add89c26655b0556b484778f3430086424
upload_2021-9-4_3-17-55.png
----------, Sep 4, 2021

[​IMG]

OTHER Updated to properly support 1.17
----------, Jul 6, 2021

[​IMG]

ADDED UltraPermissions support (Thank you @TechsCode!)
----------, May 28, 2021

[​IMG]

FIX Console spam if the player didn't have a race.
----------, May 20, 2021

[​IMG]

FIX Soft Landing now only triggers when the player takes fall damage instead of any damage.
----------, May 3, 2021

[​IMG]

ADDED 2 custom attributes:
- VAMPIRE
Tick-based ignite when being outside in the sunlight. Recommended to keep the value at 20 ticks, which will burn the player for 1 second when they come in contact with sunlight.
Example usage:
Code (YAML):
attributes:
- VAMPIRE
: 20
- NYCTO
Nyctophobia is an extreme fear of night or darkness. This attribute is the opposite of vampire: When the player's area has a light level lower than 4, it'll deal damage to the player. The value is the amount of damage per second.
Example usage:
Code (YAML):
attributes:
- NYCTO
: 2
----------, May 2, 2021

[​IMG]

FIX Player's health will now properly reset to 20 once they enter a blacklisted world. @Skeebazac
FIX Races with water damage will no longer take damage when they're in a boat.
----------, Apr 20, 2021

[​IMG]

Races of Thana now offers unique and custom attributes! These go beyond vanilla's limitations and can be used in the same way as vanilla attributes.

Current available custom attributes:
- SOFT_LANDING
Percentage-based feather falling without needing an enchantment. If you set it to 50, 50% of the fall damage will be negated. Set it to 100 and 100% of the fall damage will be negated.
Example usage for negating 80% of fall damage:
Code (YAML):
attributes:
- SOFT_LANDING
: 80
----------, Dec 22, 2020

[​IMG]

Fixed a bug in which players would not receive their race benefits upon joining and console would get "Something went wrong with races!" instead.
----------, Dec 17, 2020

[​IMG]

Fixed a bug in which PlayerTeleportEvent would always force a player without a valid race to select one, even if the option was set to false in the configuration file.
----------, Dec 17, 2020

[​IMG]

Fixed a bug where blacklisted worlds would no longer properly validate a player's race when needed.
----------, Nov 27, 2020

[​IMG]

Updated for 1.16.4.

The following modules are now disabled in blacklisted worlds:
  • Player PvP (allies & enemies)
  • Race sounds
  • Day and night commands
  • Racechanger NPC
  • Race effects timer
----------, Nov 16, 2020

[​IMG]

Setting a race's GUI slot to 99 will not display it in the GUIs
----------, Sep 3, 2020

[​IMG]

Fixed an issue in the loading order when trying to hook with LoreAttributesRecoded.
----------, Jul 28, 2020

[​IMG]

Races of Thana will more efficiently handle hooks and will allow other plugins to override if necessary.
The overview page include the specific version required for other plugins to be compatible with Races of Thana.

Thanks a lot @tamellen for helping me with this!

Please report bugs in the Discord server.
----------, Jul 26, 2020

[​IMG]

Plugin Hook Changes

A lot of plugins will sooner or later become exclusively compatible with Races of Thana. To hook Races of Thana with another plugin, simply add the plugin's name to the hooks list in the config.yml.
・ This section is NOT automatically added to the configuration file.
This is a full list of all compatible plugins so far. Feel free to remove any plugin-names you do not need or leave it out if you don't need Races of Thana to hook into any plugin:
Code (YAML):
hooks :
- LoreAttributesRecoded
Please report bugs in the Discord server.
----------, Jul 25, 2020

[​IMG]

Plugin Hook Changes

A lot of plugins will sooner or later become exclusively compatible with Races of Thana. To hook Races of Thana with another plugin, simply add the plugin's name to the hooks list in the config.yml.
・ This section is NOT automatically added to the configuration file.
This is a full list of all compatible plugins so far. Feel free to remove any plugin-names you do not need or leave it out if you don't need Races of Thana to hook into any plugin:
Code (YAML):
hooks :
- LoreAttributesRecoded
Please report bugs in the Discord server.
----------, Jul 25, 2020

[​IMG]

LoreAttributesRecoded Compatibility Fixes

- Recoded LAR's hook. Compatibility with LAR should be fixed.

Please report bugs in the Discord server.
----------, Jul 25, 2020

[​IMG]

Bugfixes

- Fixed ROT trying to use LP even if LP wasn't installed.
- Recoded the permission handler, should notice no changes.
- Fixed a bug where day- and night potions wouldn't trigger if commands were disabled.
----------, Jul 22, 2020

[​IMG]

Races of Thana has been updated to 1.16 and now supports 1.13-1.16!

All races are within their own file inside the new races folder.
Left- and right-clicking the racechanger both trigger the GUI (will only work if the NPC can be hit).
When the races folder is not present, it'll create default races. This could happen once you update the plugin but you can simply override them by converting the races from your config.yml to seperate files in the races folder.

Unset Player's Race
You can now unset (clear) a player's race by using /races unset <player>.
The permission required to use this is racesofthana.unsetrace.

Sound Volume
The volume of the sounds races make (hurt-sound & death-sound) can now be changed within the config.yml file by modifying the sound-volume value (defaults to 0.5) which will be created on the bottom of your config.yml file.
Values not in the range of 0.0 (0%) to 1.0 (100%) will be ignored.

2 new placeholders have been added
- %racesofthana_onlinecount_racename%- %onlinecount_racename%
This will display the online members of the defined race
- %racesofthana_totalcount_racename% - %totalcount_racename%
This will display the total members of the defined race

LoreAttributesRecoded & LuckPerms support has been added.
- LoreAttributesRecoded will automatically respect each race's base health attribute if present.
(I'd highly suggest enabling the health attribute in the config if you plan on using both plugins.)
- When using LuckPerms, permissions will now globally be set for the user. Negated permissions are supported and should work even better.

You can now disable race settings by simply leaving the configuration section out.
This will (in most cases) still generate the enabled setting (will then be set to false) may you want to easily enable it in the future.
For example, this will no longer throw errors:
Code (YAML):
potions:
    enabled
: true
    potion-bubbles
: false
    day-effects
:
   - SPEED:2
    night-effects
:
   - NIGHT_VISION:0
As you can see, potioneffects is left out; The players of this race will still receive the day and night effects however.

Water- & Lava Damage - Huge Improvements
Races can now be immune to lava and fire without the use of fire resistance. This also gets rid of the fire display on the character itself.
The configuration section with comments explains what each line does:
Code (YAML):
damage:
    enabled
: true # enable this module
    water-damage
: false
    lava-damage
: true # do we want to alter the way this race interacts with lava?
    affect-fire
: true # do we want the race to react to fire (and fire ticks) the same way as lava
    water-damage-amount
: 2
    lava-damage-amount
: -1 # Setting damage to -1 makes this race immune to it
Bugfixes
- /races setspawn has been fixed. Would've thrown an error if no race provided, replaced with usage message. /races setspawn now also save the yaw and pitch.
- Citizens became a softdepend and will disable all NPC-related features (racechanger) if Citizens is not found.
- /races gui <player> works again.
- The pvp module (allies) work again.
- Fixed fly speed being 0.2 instead of 0.1.

API Changes
- RaceChangeEvent changes: now cancellable, extends PlayerEvent instead of Event, from is oldRace, to is newRace. getOldRace(), getNewRace(). getRaceHandler became getRaceManager.
Per race, the getters / setters changed into (old > new):
Code (Text):
rle > isRaceLocationEnabled
setRle > setRaceLocationEnabled
getRle > getRaceLocationEnabled
isW > isWaterDamageEnabled
isL > isLavaDamageEnabled
setW > setWaterDamageEnabled
setL > setLavaDamageEnabled
getWd > getWaterDamage
getLd > getLavaDamage
setWd > setWaterDamage
setLd > setLavaDamage
----------, Jul 19, 2020

[​IMG]

Version Message
The version message upon join will now truly only be sent to operators instead of all players.

Races Preview
The races preview GUI will no longer clear your race.
----------, Mar 24, 2020

[​IMG]

Display name changes
display-name is now a separated config setting which is not linked to the GUI's display name in any way.
%player_race_displayname% will also return this.

This will automatically be generated if it's not present.

API & Config Optimizations
The API has been improved slightly (+ bugfix).
The config now checks for values in a safer and more efficient way.

Default Config
Fixed the default config.

Race Token's Preciseness
When handing the token to the racechanger NPC, it'll now check for every item's value rather than just the material and name.
----------, Jan 20, 2020

[​IMG]

Day / Night Commands

Fixed a bug where day / night commands would not always run.

Race Chat Bugfix
Race Chat works again and now also displays it properly / more nicely.
----------, Jan 13, 2020

[​IMG]

Update Notifier Fix
Fixed a minor issue with the update notifier.

Speed Attributes
Got rid of a visual annoyance that'd make your screen look buggy when the race effects would refresh.
----------, Jan 4, 2020

[​IMG]

Update Notifier
All operators will be notified once a new update is out.

Attributes Values
Attributes now also take in doubles as value.

Bugfix
Attributes sometimes didn't register, fixed!
Movement speed and flying speed have also been fixed.
----------, Jan 1, 2020

[​IMG]
+ Hotfix
- Water and lava damage now work!

Do you like the project? Consider reviewing the project over here!
For support, please use the discussion thread or join the Discord server!
----------, Dec 30, 2019

[​IMG]
+ Removed base health
- It's still there! More information about that below.

+ Added attributes
- You can now set any attribute to any value for any race (including base health!).
- All attributes can be found here.
- Config example below (under a race):
Code (YAML):
attributes:
    generic_max_health
: 18
    generic_attack_speed
: 8
- You can safely remove the following the lines out of your races:
Code (YAML):
base-health : 20
base-health-enabled
: false
+ Updated config
- I re-created the default config file and improved it a lot to provide more examples.

+ Improved API
- The RaceChangeEvent now tells you what race the player was previously (null if nothing / invalid) and what they became.

+
Bugfixes:
- /races preview would sometimes not properly show all races. Fixed!
- Water and lava damage wouldn't work. Fixed!

Do you like the project? Consider reviewing the project over here!
For support, please use the discussion thread or join the Discord server!
----------, Dec 30, 2019

[​IMG]
+ Updated to 1.15

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Dec 24, 2019

Update v2.1.19

+ Token refund & duplication fix
- The player's race will be set to nothing upon selecting a race.
This permanently fixes the token refund & duplication issues.

Thanks a lot to @OverlordKing for this idea.

Please report any bugs you come across, it really helps out.

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Oct 16, 2019

Update v2.1.18

+ Token duplication temp. fix
- Temporary fix to the token duplication bug.

Please report any bugs you come across, it really helps out.

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Oct 15, 2019

Update v2.1.17

+ Race chat bugfix
- Fixed a bug where your message would still be sent even if you don't have permissions.

Please report any bugs you come across, it really helps out.

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Oct 5, 2019

Update v2.1.16

+ Disable race token in workbench
- You're now unable to use the race token as a crafting material.

Please report any bugs you come across, it really helps out.

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Sep 30, 2019

Update v2.1.15

+ Blacklisted world health
- Race's base health will be ignored once a player's inside a blacklisted world.

Please report any bugs you come across, it really helps out.

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Sep 29, 2019

Update v2.1.14

+ Race token bugfix
- Fixed a bug where you wouldn't have your race token taken away from you.

Please report any bugs you come across, it really helps out.

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Sep 16, 2019

Update v2.1.13

+ Proper bugfixes
- The plugin works again fully. I apologize for breaking it.

Please report any bugs you come across, it really helps out.

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Sep 12, 2019

Update v2.1.12

+ Bugfix
- Thanks a lot to @ClockwerkKaiser for helping me fix this bug. After a lot of trial and error, he spotted a syntax mistake which broke the config completely. This has now been fixed. The GUI in general has also been optimized.

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Sep 12, 2019

Update v2.1.11

+ Hide race from GUI
- You can now set GUI items per race to either true or false. This will be automatically generated upon updating the plugin.
- Once set to true (default), the race won't show up in the GUI. If set to false, it won't show up in the GUI. This is only visual and does not affect permissions in any way.
- This setting also affects the preview GUI.

+ Updated default config
- The default config has been reordered. With the race token being on top, races below, and the rest of the gui items underneath that. The rest has remained untouched.
- No values / settings were affected.

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Sep 9, 2019

Update v2.1.10

+ Plugin now properly works, sorry!

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Jul 19, 2019

Update v2.1.9

+ Updated to 1.14.3

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Jul 11, 2019

Update v2.1.8

+ Fixed startup issue

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Jun 19, 2019

Update v2.1.7

+ Code cleanup

+ Water & Lava damage
Water and lava damage per race have been redone and now properly work!

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Jun 18, 2019

Update v2.1.6

+ Updated PlaceholderAPI
Sorry it took so long & you're welcome

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, May 28, 2019

Update v2.1.5

+ Race Token Permission
You can now decide whether or not players need to have a certain permission-node in order to interact with the race-changer NPC (racesofthana.token.use). They by default do not have this permission-node. You can control this setting by changing token-permission-required to either true to enable or false to disable inside the config.yml

+ Updated internal plugin.yml

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, May 6, 2019

Update v2.1.4

+ Finished the pvp module!
Code (YAML):
pvp-module-enabled : true/false
Do you want to enable this module / feature? If disabled, it'll ignore everything else.

Code (YAML):
races:
  werewolf
: // The race you're modifying
    enabled
: false // Whether or not this particular section (per race ) should be enabled or not (false by default )
    allies
: example1,example2 // The race (s ) it'll be unable to hit, divided by a comma
Code (YAML):
# --------------------------- #
#   Races of Thana // Thana   #
# --------------------------- #

# THIS IS STILL A WORK IN PROGRESS, ENABLING MIGHT CAUSE ISSUES!
# Please report any issues to Thana

pvp-module-enabled
: false

races
:
  werewolf
:
    enabled
: false
    allies
: example1,example2
  human
:
    enabled
: false
    allies
: example1,example2

+ Fixed a config bug

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Apr 25, 2019

Update v2.1.3

+ Race allies!
The feature tons of people have been requesting is finally here! You can finally make a race be allies with another!

Player combat can go the way you want when it comes to races facing other races.
With the simple but powerful config stated above, you can now make allies!

We'll go through the config step by step:
Code (YAML):
pvp-module-enabled : true/false
Do you want to enable this module / feature? If disabled, it'll ignore everything else.

Code (YAML):
races:
  werewolf
: // The race you're modifying
    enabled
: false // Whether or not this particular section (per race ) should be enabled or not (false by default )
    allies
: example1,example2 // The race (s ) it'll be unable to hit, divided by a comma
Code (YAML):
# --------------------------- #
#   Races of Thana // Thana   #
# --------------------------- #

# THIS IS STILL A WORK IN PROGRESS, ENABLING MIGHT CAUSE ISSUES!
# Please report any issues to Thana

pvp-module-enabled
: false

races
:
  werewolf
:
    enabled
: false
    allies
: example1,example2
  human
:
    enabled
: false
    allies
: example1,example2

Keep in mind that this does not work yet. This'll be worked on in the upcoming days. The config will stay the same and this is exactly what the system will be based on!

+ Fixed a few file errors
You'd sometimes randomly face an error which was a result of the plugin failing to find the players' file. This has hopefully been fully fixed now!

Current most recommended Citizens version: https://ci.citizensnpcs.co/job/Citizens2/1633/artifact/dist/target/Citizens-2.0.24-b1633.jar


Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Apr 21, 2019

Update v2.1.2

+ Added token config setting
You can now enable / disable the race tokens inside the config by setting race-token-enabled to either true (enable) or false (disable). It'll be generated on the bottom of your config upon updating.

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Apr 14, 2019

Update v2.1.1
+ Preview GUI hotfix
You can no longer take out items from the preview GUI, sorry about that!


Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Apr 1, 2019

Update v2.1
+ Tons and tons of performance fixes
I took my time to rewrite certain parts of the code which made the plugin less performance-heavy.


+ Fixed a permission bug
Permissions are now (hopefully) global, like they always were supposed to be.
* LP has a visual bug which doesn't check for direct changes to a player's permissions


+ Water & Lava damage now work!
A race can now properly receive damage from water / lava


Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Mar 31, 2019

Update v2.0.9
+ Bugfix
Small bugfix where the plugin would react weirdly when teleporting to an invalid world


Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Feb 28, 2019

Update v2.0.8
+ Night Vision potion-effect
You no longer need to exclude ":0" after assigning NIGHT_VISION as a potion-effect for a race

+ Fixed placeholders
When not having a race, it'll now show as nothing (no text), rather than spamming the console with errors


Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Feb 12, 2019

Update v2.0.7
+ Bugfix
Fully fixed the setspawn and spawn sub-commands!


Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Feb 7, 2019

Update v2.0.6
+ Bugfix
race-choose-commands should work again, simple mistake (Sorry!)


Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Feb 3, 2019

Update v2.0.5
+ Blacklisted worlds
Players will not receive their racial benefits in the blacklisted worlds. This section will be generated upon restarting / reloading your server using this update. It'll look exactly like this:

Code (YAML):
blacklisted-worlds :
- exampleWorld
- exampleWorld2
From here on, you can add as many worlds as you'd like, or simply rename it to nonsense if you don't want to blacklist any worlds.
When a player's in a blacklisted world, they will not receive any potion-effects, and time-commands won't trigger.

Thanks to @Movion for suggesting this

The default configuration file has also been updated, as it would've broken the plugin upon start because of update 2.0.4 changing materials a bit.


Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Jan 28, 2019

Update v2.0.4
+ 1.13 Material compatibility
You can now properly use 1.13 materials


Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Jan 21, 2019

Update v2.0.3
+ Bugfix
If force-on-join is set to false, you won't get the GUI upon joining anymore


Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Jan 18, 2019

Update v2.0.2
+ PEX Lagspike fix
Using PEX as permission-handler won't cause lagspikes anymore


Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Jan 15, 2019

Update v2.0.1
+ Important bugfixes
I'd highly recommend updating as soon as possible, this fixes tons of commands which broke in the previous update

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Dec 31, 2018

Update v2.0.0
+ Force Race On Join?
Don't want to force your players to select their race upon joining? No need! Just set force-race-on-join to false in your config.yml which will be generated by itself, but will appear on the bottom of your configuration file!

+ Race Chat
Now that they can select their race whenever you (or they) want to, they'll be able to talk to their race using /racechat <message>
Aliases: rc, rchat, racec


+ Potion Modifiers

Fixed a bug where potion modifiers would be ignored and races would always have their effects be set to 1

Happy New Year everyone!
[​IMG]

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Dec 31, 2018

Update v1.5.13
+ Command update
You can now run them via console! The only ones you're restricted from when using the commands via console are the ones that require a GUI to pop up, or you to have a race.


Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Dec 28, 2018

Update v1.5.12
+ Updated to 1.13.2
Small bugfix

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Dec 24, 2018

Update v1.5.11
+ Hotfix
Fixed a bug where the plugin wouldn't load if you don't have a world named "world"

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Nov 30, 2018

Update v1.5.1
+ Added race-spawns
Code (YAML):
race-location:
    enabled
: false
    location
: world:128:66:-112
Races can now have their own spawn-locations! This is defaulted to the spawn-point of the world "world", but is easily modifiable by using /races setspawn <race>
enabled: Whether or not to enable this function. This will disable /race spawn, but will allow people with racesofthana.spawn.override to still teleport to a race's location using /races spawn <race>. Command requires racesofthana.spawn to be used, default set to true
location: The location of a race's spawn-location



+ Modified lang.yml: Added teleport-race-spawn

Code (YAML):
prefix : "&9Races of Thana&c:"
refund-token
: "&cYou were given back your token!"
give-wrong-item
: "&cThat is not a race-token!"
teleport-race-spawn
: "&cYou have been teleported!"
This message will be sent, along with the prefix, upon teleporting to a race's spawn. This will automatically be added into your lang.yml once you updated the plugin!

+ New permission-nodes: Added racesofthana.setspawn, .spawn, .spawn.override
Code (YAML):
permissions:
  racesofthana.gui
:
    default
: op
  racesofthana.gui.others
:
    default
: op
  racesofthana.reload
:
    default
: op
  racesofthana.setrace
:
    default
: op
  racesofthana.setspawn
:
    default
: op
  racesofthana.spawn
:
    default
: true
  racesofthana.spawn.override
:
    default
: op
  racesofthana.token
:
    default
: op
  racesofthana.inspect
:
    default
: true
  racesofthana.inspect.others
:
    default
: op
  racesofthana.preview
:
    default
: true
  racesofthana.about
:
    default
: true

+ Added 3 command arguments:
/races setspawn <race> (racesofthana.setspawn, default: op)
/races spawn (racesofthana.spawn, default: true)
/races spawn <race> (racesofthana.spawn.override, default: op)

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Nov 30, 2018

Update v1.5 - Language file!
+ Added lang.yml (Language file)
You can now modify certain messages within your language file. This'll be a newly generated file within the plugin's folder. It'll include 3 values:
Code (YAML):
prefix : "&9Races of Thana&c:"
refund-token
: "&cYou were given back your token!"
give-wrong-item
: "&cThat is not a race-token!"
prefix will be shown when executing most commands (Mostly anything except for when you get your token back, or when you give the wrong item to the NPC)
refund-token is for when you get your token back. This only happens once you select the race you already are.
give-wrong-item is for when you try to give the NPC anything but the race-token

For future updates, messages will automatically generate within your language file!

You may also remove the prefix value from the config.yml, as this has now been replaced with the prefix value within the lang.yml

Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Nov 20, 2018

Update v1.47
+ Bugfix
Someone found out a fairly plugin-breaking bug regarding the config and potion-effects, which has now been resolved!


Consider reviewing the project over here!
For support, please use the discussion thread!
You could also join my Discord server!
----------, Nov 17, 2018

Update v1.46
+ Change
The NPC will now give you your token back if you decide to select the race you already are. This is to make sure players won't accidentally lose their tokens when testing the NPC or clicking on their race on accident, etc etc


For support, please use the discussion thread!
You could also join my Discord server!
----------, Nov 12, 2018

Update v1.45
+ Bugfix
Setting potion-effects to false for a race would bug out and eventually disable most races, this has been fixed (Thanks @SmallSansSerif)


For support, please use the discussion thread!
You could also join my Discord server!
----------, Nov 12, 2018

Update v1.44
+ Fixed an issue regarding /races preview
Some updates ago, the config-setting "race-slots" changed to "gui-slots", which I forgot to change for /races preview as well. This was now fixed, /races preview should work properly


For support, please use the discussion thread!
You could also join my Discord server!
----------, Oct 28, 2018

Update v1.43
+ Fixed an issue regarding the NIGHT_VISION effect
When applying NIGHT_VISION to the potion-effects of a race, you were required to put a :0 (or any other modifier) behind it. It'll now, like any other potion-effect, allow you to not put a modifier behind it. If anything, it'll always be 0, as it won't affect the effect.


For support, please use the discussion thread!
You could also join my Discord server!
----------, Oct 28, 2018

Update v1.42
+ Added a permission-node for /races about
racesofthana.about will be required for others to be able to use /races about. It's true by default


For support, please use the discussion thread!
You could also join my Discord server!
----------, Oct 22, 2018

Update v1.41
+ Made some minor adjustments to how base-health works. This may not work with LoreAttributesRecoded anymore. This will hopefully be worked on in the future again.

For support, please use the discussion thread!
You could also join my Discord server!
----------, Oct 21, 2018

Update v1.4
+ Updated to 1.13.1, dropped support for lower versions
The update many have been asking for is finally here!
+ Small improvements regarding potion-effects being null

The plugin should now ignore these and keep allow them to stay empty, rather than throwing an error

For support, please use the discussion thread!
You could also join my Discord server!
----------, Oct 21, 2018

Update v1.3
+ Fixed a bug which somehow came in the latest update, resultig in new players receiving a very bugged GUI which would eventually lag out the server. Thanks to @NextdoorPsycho for reporting this ^^

For support, please use the discussion thread!
You could also join my Discord server!
----------, Aug 26, 2018

Update v1.21
+ Added a few simple checks, making the plugin more bug-proof

For support, please use the discussion thread!
You could also join my Discord server!
----------, Aug 26, 2018

Update v1.2
+ Per-race permissions!
You can now enable it by setting per-race-permission to true in the config.yml (Will be created upon restart, defaults to false)

The permission-node per race is racesofthana.race.<racename>
So for example, a kitsune would need: racesofthana.race.kitsune

While this value is set to true, players will not see the races they don't have permissions too within the GUI. (Operators and users with * permissions will see it at all times)


For support, please use the discussion thread!
You could also join my Discord server!
----------, Aug 18, 2018

Update v1.1

+ Config overhaul! (Please check the overview page and carefully read below!)
+ Upon making a mistake in config (mainly leaving out or inserting invalid values), the plugin will help you. May you accidentally remove a config-value, it'll set it back to the default value, rather than regenerating the entire configuration (resolved).
+ Spiced up durability / data in the GUI sections within the config. Nothing you'll notice, just made it work "better"
+ A LOT of tweaks regarding performance. The plugin should be more friendly towards your server now.
+ Multi-world support (EXPERIMENTAL!)


Configuration Changes:
When converting from the old to new configuration file, I'd recommend comparing yours to the one below (can also be found on the overview page). Thanks to @Xzerper, he has re-made the default GUI to make it look a bit nicer and give you a better view of what the plugin is capable of making with the GUI.

Besides the nicer GUI, the following things have changed:
  • base-health-enabled (boolean)
    • If you set it to true, it'll take base-health in account. If it's false, it'll simply ignore it and disable this feature.
  • commands, potions, damage
    • These are now sections, instead of having it all packed up into 1 list. This allows both you and me to have a better view of the configuration. These 3 are all toggle-able with their new "enabled" variable (under each).
      • commands handles the race-choose-commands, as well as the race-day- and night-commands.
      • potions handles the passives. The ones in general, day and night. It now also comes with a potion-bubbles boolean which you can obviously set to true / false. These will decide whether or not the potion-bubbles appear around the player (this also sets the potion-indicator in the bottom-right corner on or off)
      • damage handles the weaknesses of the race. Nothing else changes to this (besides the enabled variable of course)
  • "GLOWING" item-flag added. This'll make your item glow without showing any enchantments. (Adds unbreaking, hides enchantments. Works for the race token, gui items and race-related GUI-items. Keep in mind that none of the enchantments on this item will display once you use this item-flag!)
  • Enchantments added to the GUI items as well. Simply add item-enchantments to the GUI section (See config below. Example done in the items for races
  • Added race death-sounds (Defaults to player death, hurt-sound now defaults to player hurt). You guessed it, this sound will play once a player of a specific race dies

Code (YAML):
# --------------------------- #
#   Races of Thana // Thana   #
# --------------------------- #
prefix
: '&9Races of Thana&c : '
motd-enabled
: true
race-gui-name
: '&eSelect your race!'
gui-slots
: 36
time-check-rate
: 20
potion-effect-duration
: 21
gui
:
  item1
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    slot
: 0
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
    durability
: 0
  item2
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 1
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
  item3
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 2
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
  item4
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 3
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
  item5
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 4
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
  item6
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 5
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
  item7
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 6
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
  item8
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 7
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
  item9
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 8
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
  item10
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 9
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
  item11
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 17
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
  item112
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 18
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
  item113
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 26
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
  item12
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 27
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
  item13
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 28
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
  item14
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 29
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
  item15
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 30
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
  item16
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 31
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
  item17
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 32
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
  item18
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 33
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
  item19
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 34
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
  item20
:
    display-name
: '&0'
    material
: STAINED_GLASS_PANE
    durability
: 0
    slot
: 35
    lore
:
   - '&0'
    item-flags
:
   - HIDE_ATTRIBUTES
race-token
:
  display-name
: '&6Race Token'
  material
: NETHER_STAR
  durability
: 0
  lore
:
 - '&eGive this to the race npc'
  - '&eto change your race!'
  item-flags
:
 - HIDE_ATTRIBUTES
races
:
  werewolf
:
    base-health
: 20
    base-health-enabled
: false
    hurt-sound
: ENTITY_CHICKEN_HURT
    death-sound
: ENTITY_PLAYER_DEATH
    race-color
: GRAY
    permissions
:
   - race.permission
    - -negated.permission
    commands
:
      enabled
: true
      race-choose-commands
:
     - bc %player_displayname% is now a(n) %player_race_displayname%!
      race-commands-day
:
     - say It turned day
      race-commands-night
:
     - say It turned night
    potions
:
      enabled
: true
      potion-bubbles
: false
      potioneffects
:
     - INCREASE_DAMAGE:2
      - NIGHT_VISION
      day-effects
:
     - SPEED
      - NIGHT_VISION
      night-effects
:
     - SPEED
      - NIGHT_VISION
    damage
:
      enabled
: false
      water-damage
: true
      lava-damage
: true
      water-damage-amount
: 2
      lava-damage-amount
: 2
    gui
:
      display-name
: '&7Werewolf'
      material
: DIAMOND_SWORD
      durability
: 0
      lore
:
     - '&eThis is an example lore'
      - '&c&oChange me in the config!'
      slot
: 11
      item-flags
:
     - GLOWING
      - HIDE_ATTRIBUTES
      - HIDE_UNBREAKABLE
      item-enchantments
:
     - UNBREAKING
  human
:
    base-health
: 20
    base-health-enabled
: false
    hurt-sound
: ENTITY_BLAZE_HURT
    death-sound
: ENTITY_PLAYER_DEATH
    race-color
: YELLOW
    permissions
:
   - race.permission
    - -negated.permission
    commands
:
      enabled
: true
      race-choose-commands
:
     - bc %player_displayname% is now a(n) %player_race_displayname%!
      race-commands-day
:
     - say It turned day
      race-commands-night
:
     - say It turned night
    potions
:
      enabled
: true
      potion-bubbles
: false
      potioneffects
:
     - SPEED
      - JUMP
      day-effects
:
     - SPEED
      - NIGHT_VISION
      night-effects
:
     - SPEED
      - NIGHT_VISION
    damage
:
      enabled
: false
      water-damage
: true
      lava-damage
: true
      water-damage-amount
: 2
      lava-damage-amount
: 2
    gui
:
      display-name
: '&eHuman'
      material
: DIAMOND_AXE
      durability
: 0
      lore
:
     - '&eThis is an example lore'
      - '&c&oChange me in the config!'
      slot
: 15
      item-flags
:
     - GLOWING
      - HIDE_ATTRIBUTES
      - HIDE_UNBREAKABLE
      item-enchantments
:
     - UNBREAKING

 

Code (YAML):
# --------------------------- #
#   Races of Thana // Thana   #
# --------------------------- #
prefix
: "&9Races of Thana&c: "
enable-motd
: true
race-gui-name
: "&eSelect your race!"
race-slots
: 9
time-check-rate
: 20
potion-effect-duration
: 21
gui
:
    item1
:
        display-name
: "&d&m---"
        material
: STAINED_GLASS_PANE
        slot
: 0
        lore
:
       - "&eSelect your race!"
        item-flags
:
       - HIDE_ATTRIBUTES
    item2
:
        display-name
: "&d&m---"
        material
: STAINED_GLASS_PANE
        durability
: 0
        slot
: 8
        lore
:
       - "&eSelect your race!"
        item-flags
:
       - HIDE_ATTRIBUTES
race-token
:
    display-name
: "&6Race Token"
    material
: NETHER_STAR
    durability
: 0
    lore
:
   - "&eGive this to the race npc"
    - "&eto change your race!"
    item-flags
:
   - HIDE_ATTRIBUTES
races
:
    werewolf
:
        base-health
: 20
        hurt-sound
: ENTITY_CHICKEN_HURT
        race-choose-commands
:
       - bc %player_displayname% is now a(n) %player_race_displayname%!
        race-commands-day
:
       - say It turned day
        race-commands-night
:
       - say It turned night
        permissions
:
       - race.permission
        - -negated.permission
        potioneffects
:
       - INCREASE_DAMAGE:2
        - NIGHT_VISION
        day-effects
:
       - SPEED
        - NIGHT_VISION
        night-effects
:
       - SPEED
        - NIGHT_VISION
        water-damage
: true
        lava-damage
: true
        water-damage-amount
: 2
        lava-damage-amount
: 2
        race-color
: GRAY
        gui
:
            display-name
: "&7Werewolf"
            material
: DIAMOND_SWORD
            durability
: 0
            lore
:
           - "&eThis is an example lore"
            - "&c&oChange me in the config!"
            slot
: 3
            item-flags
:
           - HIDE_ATTRIBUTES
            - HIDE_UNBREAKABLE
    human
:
        base-health
: 20
        hurt-sound
: ENTITY_BLAZE_HURT
        race-choose-commands
:
       - bc %player_displayname% is now a(n) %player_race_displayname%!
        race-commands-day
:
       - say It turned day
        race-commands-night
:
       - say It turned night
        permissions
:
       - race.permission
        - -negated.permission
        potioneffects
:
       - SPEED
        - JUMP
        day-effects
:
       - SPEED
        - NIGHT_VISION
        night-effects
:
       - SPEED
        - NIGHT_VISION
        water-damage
: true
        lava-damage
: true
        water-damage-amount
: 2
        lava-damage-amount
: 2
        race-color
: YELLOW
        gui
:
            display-name
: "&eHuman"
            material
: DIAMOND_AXE
            durability
: 0
            lore
:
           - "&eThis is an example lore"
            - "&c&oChange me in the config!"
            slot
: 5
            item-flags
:
           - HIDE_ATTRIBUTES
            - HIDE_UNBREAKABLE

I'll covert your old config to the new one if you want to. Just send me a message on here or on Discord with your configuration file and I'll have it ready the next minute ^-^

I hope that wraps it up for this update. It's a pretty big one!

For support, please use the discussion thread!
You could also join my Discord server!
----------, Aug 10, 2018

Update v1.02
+ Fixed a small issue which required you to use capital letters while using /setrace
+ Adjusted the default config.yml slightly
+ Fixed a bug where your race-health would override LoreAttributesRecoded's bonus health, resulting in your bonus health gained from gear becoming useless.

The plugin now soft-depends on LoreAttributesRecoded and health has been fixed!


For support, please use the discussion thread!
You could also join my Discord server!
----------, Aug 5, 2018

Resource Information
Author:
----------
Total Downloads: 460
First Release: Aug 5, 2018
Last Update: Nov 24, 2024
Category: ---------------
All-Time Rating:
42 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings