[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



Update v1.1
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
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