Premium 「RACES OF THANA」「NEW! 1.13 UPDATE SOON! CUSTOM GUI & RACES! DAY / NIGHT EFFECTS &...

Discussion in 'Resource Discussion' started by zThana, Aug 5, 2018.

  1. #1 zThana, Aug 5, 2018
    Last edited: Jun 19, 2019
  2. zThana updated 「RACES OF THANA」「NEW! 1.13 UPDATE SOON! CUSTOM GUI & RACES! DAY / NIGHT EFFECTS & COMMANDS」 with a new update entry:

    Update v1.02

    Read the rest of this update entry...
     
    #2 zThana, Aug 5, 2018
    Last edited: Aug 8, 2018
  3. Posting my Rating here as well:

    Seeing this plugin in action firsthand has made me as a buyer extremely happy with the product I have obtained. Everything from making Custom Races, with the EXTREME amounts of customization to a race this plugin provides are beyond excellent. With the addition of Per-World(Nether/End/etc) Effects per Race, I think this would top the icing on the cake if ever something like that were to happen. I believe this has even been made mentioned in this Developer's Discord "Races of Thana" plugin channel, actually.

    Being able to execute commands when you pick a race, when it turns day, when it turns night, alongside adding effects for day/night makes you able to customize the races even further. Using the commands of other plugins extends this feature.

    While this lacks stuff like "Race Vaults" or a "Territory" like feature, this focuses mainly on its real focal point, the races themselves. Developer has already announced of planned updates/future updates that resolves the lack of stuff like this thereof. This plugin just blows me out of the water with how much time had been put into it to make it.

    I can confirm this took about 7 or more months, too. Being informed by someone that worked alongside Thana during the developmental period of this plugin as we originally wanted this plugin as a private project for our CN:Skyland Server to replace a poorly maintained and coded Race plugin from another developer with significantly less to offer.

    Absolutely would recommend this developer if you were to ever want a private plugin done, as the quality of their work and the enthusiasm they have during their work far surpasses many others I've met on this site.

    Plugin would get a 10/5 Star if it allowed it. Sadly only 5-Star Ratings are the max.

    Enjoy it, because we sure as heck are going to! Hopefully the community loves this just as much as we will!!!!!
     
    • Like Like x 1
  4. [​IMG]

    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!
     
    • Like Like x 1
  5. zThana updated 「RACES OF THANA」「NEW! 1.13 UPDATE SOON! CUSTOM GUI & RACES! DAY / NIGHT EFFECTS & COMMANDS」 with a new update entry:

    Update v1.2

    Read the rest of this update entry...
     
  6. Do you lower or raise the price?
     
  7. Is there Bungeecord support?
     
  8. Not saying I'm going to compete, but we shall see. Nice plugin, looks really nice from a glance, a basic concept and a very efficient and clean way of doing it. +1
     
  9. Is it like a function to increase damage? (Not a potion effect)
    Or reduce damage for players or some kind of monster

    I want to use together with skillapi

    Have these features?
     
  10. I'll implement it in the PvP add-on / update
     
  11. Lower
    Thank you
    No

    I for some reason never received notifications of this discussion thread, even though I'm watching the thread.
    I'll be replying faster from now on, I apologize
     
  12. Hello, I wanna thank you for the great plugin.

    Today I noticed this error spamming my console, I'm not sure why.

    Code (Text):
    28.08 10:13:53 [Server] WARN [RacesOfThana] Task #244 for RacesOfThana v1.3 generated an exception
    28.08 10:13:53 [Server] INFO java.lang.NullPointerException: null
    28.08 10:13:53 [Server] INFO at com.zthana.racesofthana.handlers.RaceHandler.handlerRacePotions(RaceHandler.java:439) ~[?:?]
    28.08 10:13:53 [Server] INFO at com.zthana.racesofthana.events.TimeScheduler.run(TimeScheduler.java:22) ~[?:?]
    28.08 10:13:53 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
    28.08 10:13:53 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353) [spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
    28.08 10:13:53 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
    28.08 10:13:53 [Server] INFO at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
    28.08 10:13:53 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
    28.08 10:13:53 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
    28.08 10:13:53 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
    I might have something wrong in the config. You can take a look at it here.

    Code (YAML):
    # --------------------------- #
    #   Races of Thana // Thana   #
    # --------------------------- #

    prefix
    : '&e&lRACES &8>> &7'
    motd-enabled
    : false
    per-race-permission
    : true
    race-gui-name
    : '&dChoose your race....'
    gui-slots
    : 27
    time-check-rate
    : 200
    potion-effect-duration
    : 4000
    gui
    :
      item1
    :
        display-name
    : '&0'
        material
    : STAINED_GLASS_PANE
        durability
    : 10
        slot
    : 0
        lore
    :
       - '&0'
        item-flags
    :
       - HIDE_ATTRIBUTES
      item2
    :
        display-name
    : '&0'
        material
    : STAINED_GLASS_PANE
        durability
    : 10
        slot
    : 1
        lore
    :
       - '&0'
        item-flags
    :
       - HIDE_ATTRIBUTES
      item3
    :
        display-name
    : '&0'
        material
    : STAINED_GLASS_PANE
        durability
    : 10
        slot
    : 9
        lore
    :
       - '&0'
        item-flags
    :
       - HIDE_ATTRIBUTES
      item4
    :
        display-name
    : '&0'
        material
    : STAINED_GLASS_PANE
        durability
    : 10
        slot
    : 18
        lore
    :
       - '&0'
        item-flags
    :
       - HIDE_ATTRIBUTES
      item5
    :
        display-name
    : '&0'
        material
    : STAINED_GLASS_PANE
        durability
    : 10
        slot
    : 19
        lore
    :
       - '&0'
        item-flags
    :
       - HIDE_ATTRIBUTES
      item6
    :
        display-name
    : '&0'
        material
    : STAINED_GLASS_PANE
        durability
    : 10
        slot
    : 7
        lore
    :
       - '&0'
        item-flags
    :
       - HIDE_ATTRIBUTES
      item7
    :
        display-name
    : '&0'
        material
    : STAINED_GLASS_PANE
        durability
    : 10
        slot
    : 8
        lore
    :
       - '&0'
        item-flags
    :
       - HIDE_ATTRIBUTES
      item8
    :
        display-name
    : '&0'
        material
    : STAINED_GLASS_PANE
        durability
    : 10
        slot
    : 17
        lore
    :
       - '&0'
        item-flags
    :
       - HIDE_ATTRIBUTES
      item9
    :
        display-name
    : '&0'
        material
    : STAINED_GLASS_PANE
        durability
    : 10
        slot
    : 26
        lore
    :
       - '&0'
        item-flags
    :
       - HIDE_ATTRIBUTES
      item10
    :
        display-name
    : '&0'
        material
    : STAINED_GLASS_PANE
        durability
    : 10
        slot
    : 25
        lore
    :
       - '&0'
        item-flags
    :
       - HIDE_ATTRIBUTES
      item11
    :
        display-name
    : '&0'
        material
    : STAINED_GLASS_PANE
        durability
    : 2
        slot
    : 2
        lore
    :
       - '&0'
        item-flags
    :
       - HIDE_ATTRIBUTES
      item12
    :
        display-name
    : '&0'
        material
    : STAINED_GLASS_PANE
        durability
    : 2
        slot
    : 6
        lore
    :
       - '&0'
        item-flags
    :
       - HIDE_ATTRIBUTES
      item13
    :
        display-name
    : '&0'
        material
    : STAINED_GLASS_PANE
        durability
    : 2
        slot
    : 24
        lore
    :
       - '&0'
        item-flags
    :
       - HIDE_ATTRIBUTES
      item14
    :
        display-name
    : '&0'
        material
    : STAINED_GLASS_PANE
        durability
    : 2
        slot
    : 23
        lore
    :
       - '&0'
        item-flags
    :
       - HIDE_ATTRIBUTES
      item15
    :
        display-name
    : '&0'
        material
    : STAINED_GLASS_PANE
        durability
    : 2
        slot
    : 21
        lore
    :
       - '&0'
        item-flags
    :
       - HIDE_ATTRIBUTES
      item16
    :
        display-name
    : '&0'
        material
    : STAINED_GLASS_PANE
        durability
    : 2
        slot
    : 20
        lore
    :
       - '&0'
        item-flags
    :
       - HIDE_ATTRIBUTES
      item17
    :
        display-name
    : '&0'
        material
    : STAINED_GLASS_PANE
        durability
    : 15
        slot
    : 3
        lore
    :
       - '&0'
        item-flags
    :
       - HIDE_ATTRIBUTES
      item18
    :
        display-name
    : '&0'
        material
    : STAINED_GLASS_PANE
        durability
    : 15
        slot
    : 4
        lore
    :
       - '&0'
        item-flags
    :
       - HIDE_ATTRIBUTES
      item19
    :
        display-name
    : '&0'
        material
    : STAINED_GLASS_PANE
        durability
    : 15
        slot
    : 5
        lore
    :
       - '&0'
        item-flags
    :
       - HIDE_ATTRIBUTES
      item20
    :
        display-name
    : '&0'
        material
    : STAINED_GLASS_PANE
        durability
    : 15
        slot
    : 22
        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_IRONGOLEM_HURT
        death-sound
    : ENTITY_PLAYER_DEATH
        race-color
    : GRAY
        permissions
    :
       - race.permission
        - -negated.permission
        commands
    :
          enabled
    : true
          race-choose-commands
    :
         - ebc &5%player_name% &dis now a &c&l%player_race_displayname%!
        potions
    :
          enabled
    : true
          potion-bubbles
    : false
          potioneffects
    :
         - SPEED:2
          - JUMP:2
        damage
    :
          enabled
    : false
          water-damage
    : true
          lava-damage
    : true
          water-damage-amount
    : 2
          lava-damage-amount
    : 2
        gui
    :
          display-name
    : '&c&lWerewolf'
          material
    : DIAMOND_CHESTPLATE
          durability
    : 0
          lore
    :
         - '&bHumans, not animals or monsters.'
          - '&bBut they have special effects,'
          - '&bthat makes them unique. But also a target.'
          - ''
          - '&dEffects:'
          - '&8[&a✔&8] &7Better Protection'
          - '  &8[&a✔&8] &7Speed and Jump boost'
          - '    &8[&c✘&8] &7Better Weapons'
          slot
    : 15
          item-flags
    :
         - GLOWING
          - HIDE_ATTRIBUTES
          - HIDE_UNBREAKABLE
          item-enchantments
    :
         - UNBREAKING
      human
    :
        base-health
    : 20
        base-health-enabled
    : false
        hurt-sound
    : ENTITY_PLAYER_HURT
        death-sound
    : ENTITY_PLAYER_DEATH
        race-color
    : YELLOW
        permissions
    :
       - race.permission
        - -negated.permission
        commands
    :
          enabled
    : true
          race-choose-commands
    :
         - ebc &5%player_name% &dis now a &e&l%player_race_displayname%!
        potions
    :
          enabled
    : false
          potion-bubbles
    : false
          potioneffects
    :
         - SPEED
        damage
    :
          enabled
    : false
          water-damage
    : true
          lava-damage
    : true
          water-damage-amount
    : 2
          lava-damage-amount
    : 2
        gui
    :
          display-name
    : '&e&lHuman'
          material
    : IRON_SWORD
          durability
    : 0
          lore
    :
         - '&bThe defenders, they''re who'
          - '&btook the others in and protected them.'
          - '&bTrained them. and now, prepairing for the war'
          - ''
          - '&dEffects:'
          - '&8[&a✔&8] &7Better Weapons'
          - '  &8[&c✘&8] &7Speed and Jump boost'
          - '    &8[&a✔&8] &7Normal Protection'
          slot
    : 11
          item-flags
    :
         - GLOWING
          - HIDE_ATTRIBUTES
          - HIDE_UNBREAKABLE
          item-enchantments
    :
         - UNBREAKING
      elf
    :
        base-health
    : 20
        base-health-enabled
    : false
        hurt-sound
    : ENTITY_VEX_HURT
        death-sound
    : ENTITY_VEX_DEATH
        race-color
    : YELLOW
        permissions
    :
       - race.permission
        - -negated.permission
        commands
    :
          enabled
    : true
          race-choose-commands
    :
         - ebc &5%player_name% &dis now an &5&l%player_race_displayname%!
        damage
    :
          enabled
    : false
          water-damage
    : true
          lava-damage
    : true
          water-damage-amount
    : 2
          lava-damage-amount
    : 2
        gui
    :
          display-name
    : '&5&lElf'
          material
    : ENDER_PEARL
          durability
    : 0
          lore
    :
         - '&bThey introduced the world to'
          - '&bMagic. They showed them the impossible.'
          - '&bNow they are scared of using their powers.'
          - ''
          - '&dEffects:'
          - '&8[&a✔&8] &7Magic Powers'
          - '  &8[&c✘&8] &7Better Weapons'
          - '    &8[&a✔&8] &7Normal Protection'
          slot
    : 13
          item-flags
    :
         - GLOWING
          - HIDE_ATTRIBUTES
          - HIDE_UNBREAKABLE
          item-enchantments
    :
         - UNBREAKING
    per-race-permissions
    : false
     
    I'm new to the plugin, so I need some serious help.
    Thank you for this amazing work, you saw my reply and you know what I think about the plugin
    :thumbs_up: Keep it up
     
    • Friendly Friendly x 1
  13. A lot of your configurations are very off-set. Some have more spaces than others, you have to fix these.
    You also don't have any night-effects set for your races, which is what throws the error. Don't forget to also make day-effects. You can keep it empty by simply putting []
     
    • Useful Useful x 1
  14. Thank you very much for your fast response. +1 Support.
    That helped me a lot. I think I'm getting the hang of it now :D Thanks
     
    • Friendly Friendly x 1
  15. Glad you're happy with the support I offer ^-^
    Let me know if you need more help :)
     
    • Friendly Friendly x 1
  16. Hey! It's me again.
    So obviously I need some help again. I think it's simple tho.

    Code (YAML):
    races:
      werewolf
    :
        base-health
    : 20
        base-health-enabled
    : false
        hurt-sound
    : ENTITY_IRONGOLEM_HURT
        death-sound
    : ENTITY_PLAYER_DEATH
        race-color
    : GRAY
        permissions
    :
       - race.permission
        - -negated.permission
        commands
    :
          enabled
    : true
          race-choose-commands
    :
         - ebc &5%player_name% &dis now a &c&l%player_race_displayname%!
          race-commands-day
    : []
          race-commands-night
    : []
        potions
    :
          enabled
    : true
          potion-bubbles
    : false
          potioneffects
    :
         - SPEED:2
          - JUMP:2
          day-effects
    : []
          night-effects
    : []
        damage
    :
          enabled
    : false
          water-damage
    : true
          lava-damage
    : true
          water-damage-amount
    : 2
          lava-damage-amount
    : 2
        gui
    :
          display-name
    : '&c&lWerewolf'
          material
    : DIAMOND_CHESTPLATE
          durability
    : 0
          lore
    :
         - '&bHumans, not animals or monsters.'
          - '&bBut they have special effects,'
          - '&bthat makes them unique. But also a target.'
          - ''
          - '&dEffects:'
          - '&8[&a✔&8] &7Better Protection'
          - '  &8[&a✔&8] &7Speed and Jump boost'
          - '    &8[&c✘&8] &7Better Weapons'
          slot
    : 15
          item-flags
    :
         - GLOWING
          - HIDE_ATTRIBUTES
          - HIDE_UNBREAKABLE
          item-enchantments
    :
         - UNBREAKING
      elf
    :
        base-health
    : 20
        base-health-enabled
    : false
        hurt-sound
    : ENTITY_VEX_HURT
        death-sound
    : ENTITY_VEX_DEATH
        race-color
    : YELLOW
        permissions
    :
       - race.permission
        - -negated.permission
        commands
    :
          enabled
    : true
          race-choose-commands
    :
         - ebc &5%player_name% &dis now an &5&l%player_race_displayname%!
          race-commands-day
    : []
          race-commands-night
    : []
        potions
    :
          enabled
    : true
          potion-bubbles
    : false
          potioneffects
    : []
          day-effects
    : []
          night-effects
    :
         - NIGHT_VISION
        damage
    :
          enabled
    : false
          water-damage
    : true
          lava-damage
    : true
          water-damage-amount
    : 2
          lava-damage-amount
    : 2
        gui
    :
          display-name
    : '&5&lElf'
          material
    : ENDER_PEARL
          durability
    : 0
          lore
    :
         - '&bThey introduced the world to'
          - '&bMagic. They showed them the impossible.'
          - '&bNow they are scared of using their powers.'
          - ''
          - '&dEffects:'
          - '&8[&a✔&8] &7Magic Powers'
          - '  &8[&c✘&8] &7Better Weapons'
          - '    &8[&a✔&8] &7Normal Protection'
          slot
    : 13
          item-flags
    :
         - GLOWING
          - HIDE_ATTRIBUTES
          - HIDE_UNBREAKABLE
          item-enchantments
    :
         - UNBREAKING
      human
    :
        base-health
    : 20
        base-health-enabled
    : false
        hurt-sound
    : ENTITY_PLAYER_HURT
        death-sound
    : ENTITY_PLAYER_DEATH
        race-color
    : YELLOW
        permissions
    :
       - race.permission
        - -negated.permission
        commands
    :
          enabled
    : true
          race-choose-commands
    :
         - ebc &5%player_name% &dis now a &e&l%player_race_displayname%!
          race-commands-day
    : []
          race-commands-night
    : []
        potions
    :
          enabled
    : false
          potion-bubbles
    : false
          potioneffects
    :
         - SPEED
          day-effects
    : []
          night-effects
    : []
        damage
    :
          enabled
    : false
          water-damage
    : true
          lava-damage
    : true
          water-damage-amount
    : 2
          lava-damage-amount
    : 2
        gui
    :
          display-name
    : '&e&lHuman'
          material
    : IRON_SWORD
          durability
    : 0
          lore
    :
         - '&bThe defenders, they are who'
          - '&btook the others in and protected them.'
          - '&bTrained them. and now, prepairing for the war'
          - ''
          - '&dEffects:'
          - '&8[&a✔&8] &7Better Weapons'
          - '  &8[&c✘&8] &7Speed and Jump boost'
          - '    &8[&a✔&8] &7Normal Protection'
          slot
    : 11
          item-flags
    :
         - GLOWING
          - HIDE_ATTRIBUTES
          - HIDE_UNBREAKABLE
          item-enchantments
    :
         - UNBREAKING

    So everything there is working fine. But the Human race has some issues.
    it's giving me an error

    Code (Text):
    28.08 16:09:18 [Server] WARN [RacesOfThana] Task #244 for RacesOfThana v1.3 generated an exception
    28.08 16:09:18 [Server] INFO java.lang.NullPointerException: null
    28.08 16:09:18 [Server] INFO at com.zthana.racesofthana.handlers.RaceHandler.handlerRacePotions(RaceHandler.java:439) ~[?:?]
    28.08 16:09:18 [Server] INFO at com.zthana.racesofthana.events.TimeScheduler.run(TimeScheduler.java:22) ~[?:?]
    28.08 16:09:18 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
    28.08 16:09:18 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353) [spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
    28.08 16:09:18 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
    28.08 16:09:18 [Server] INFO at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
    28.08 16:09:18 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
    28.08 16:09:18 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
    28.08 16:09:18 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
    When I click on it in the GUI, everything else is working. It's just that.
    I checked for spaces, it's just no good :(
     
  17. Be very careful with the spaces, I noticed a few mistakes, try this:
    Code (YAML):
    races:
      werewolf
    :
        base-health
    : 20
        base-health-enabled
    : false
        hurt-sound
    : ENTITY_IRONGOLEM_HURT
        death-sound
    : ENTITY_PLAYER_DEATH
        race-color
    : GRAY
        permissions
    :
       - race.permission
        - -negated.permission
        commands
    :
          enabled
    : true
          race-choose-commands
    :
         - ebc &5%player_name% &dis now a &c&l%player_race_displayname%!
          race-commands-day
    : []
          race-commands-night
    : []
        potions
    :
          enabled
    : true
          potion-bubbles
    : false
          potioneffects
    :
         - SPEED:2
          - JUMP:2
          day-effects
    : []
          night-effects
    : []
        damage
    :
          enabled
    : false
          water-damage
    : true
          lava-damage
    : true
          water-damage-amount
    : 2
          lava-damage-amount
    : 2
        gui
    :
          display-name
    : '&c&lWerewolf'
          material
    : DIAMOND_CHESTPLATE
          durability
    : 0
          lore
    :
         - '&bHumans, not animals or monsters.'
          - '&bBut they have special effects,'
          - '&bthat makes them unique. But also a target.'
          - ''
          - '&dEffects:'
          - '&8[&a✔&8] &7Better Protection'
          - '  &8[&a✔&8] &7Speed and Jump boost'
          - '    &8[&c✘&8] &7Better Weapons'
          slot
    : 15
          item-flags
    :
         - GLOWING
          - HIDE_ATTRIBUTES
          - HIDE_UNBREAKABLE
          item-enchantments
    :
         - UNBREAKING
      elf
    :
        base-health
    : 20
        base-health-enabled
    : false
        hurt-sound
    : ENTITY_VEX_HURT
        death-sound
    : ENTITY_VEX_DEATH
        race-color
    : YELLOW
        permissions
    :
       - race.permission
        - -negated.permission
        commands
    :
          enabled
    : true
          race-choose-commands
    :
         - ebc &5%player_name% &dis now an &5&l%player_race_displayname%!
          race-commands-day
    : []
          race-commands-night
    : []
        potions
    :
          enabled
    : true
          potion-bubbles
    : false
          potioneffects
    : []
          day-effects
    : []
          night-effects
    :
         - NIGHT_VISION
        damage
    :
          enabled
    : false
          water-damage
    : true
          lava-damage
    : true
          water-damage-amount
    : 2
          lava-damage-amount
    : 2
        gui
    :
          display-name
    : '&5&lElf'
          material
    : ENDER_PEARL
          durability
    : 0
          lore
    :
         - '&bThey introduced the world to'
          - '&bMagic. They showed them the impossible.'
          - '&bNow they are scared of using their powers.'
          - ''
          - '&dEffects:'
          - '&8[&a✔&8] &7Magic Powers'
          - '  &8[&c✘&8] &7Better Weapons'
          - '    &8[&a✔&8] &7Normal Protection'
          slot
    : 13
          item-flags
    :
         - GLOWING
          - HIDE_ATTRIBUTES
          - HIDE_UNBREAKABLE
          item-enchantments
    :
         - UNBREAKING
      human
    :
        base-health
    : 20
        base-health-enabled
    : false
        hurt-sound
    : ENTITY_PLAYER_HURT
        death-sound
    : ENTITY_PLAYER_DEATH
        race-color
    : YELLOW
        permissions
    :
       - race.permission
        - -negated.permission
        commands
    :
          enabled
    : true
          race-choose-commands
    :
         - ebc &5%player_name% &dis now a &e&l%player_race_displayname%!
          race-commands-day
    : []
          race-commands-night
    : []
        potions
    :
          enabled
    : false
          potion-bubbles
    : false
          potioneffects
    :
         - SPEED
          day-effects
    : []
          night-effects
    : []
        damage
    :
          enabled
    : false
          water-damage
    : true
          lava-damage
    : true
          water-damage-amount
    : 2
          lava-damage-amount
    : 2
        gui
    :
          display-name
    : '&e&lHuman'
          material
    : IRON_SWORD
          durability
    : 0
          lore
    :
         - '&bThe defenders, they are who'
          - '&btook the others in and protected them.'
          - '&bTrained them. and now, prepairing for the war'
          - ''
          - '&dEffects:'
          - '&8[&a✔&8] &7Better Weapons'
          - '  &8[&c✘&8] &7Speed and Jump boost'
          - '    &8[&a✔&8] &7Normal Protection'
          slot
    : 11
          item-flags
    :
         - GLOWING
          - HIDE_ATTRIBUTES
          - HIDE_UNBREAKABLE
          item-enchantments
    :
         - UNBREAKING

    It looks like it has some extra and fewer spaces via here but it's not like that once you copy / paste it, otherwise I'll just privately send you a working version of your config

    EDIT: https://pastebin.com/tQJXQvSH
    Should be looking fine, link will expire in a week
     
  18. Ah
    EDIT: Ah, the issue's not really with the spaces, the copy/pasting is what's messing up the spaces
    Alright, I figured it out. It's odd, and I think you should know. It might just be me tho.
    The potions part from the human race, when it's enabled, it works perfectly, when it's disabled the error starts showing in console.

    After enabling it and removing the pots effects (so disabled either way), it works now.

    Thank you so much for your time :) Keep it up
     
    #20 Benjamin83, Aug 28, 2018
    Last edited: Aug 28, 2018
    • Friendly Friendly x 1