Spigot Thirst 2.13.3

Add a bit more than hunger

    • Friendly Friendly x 1
  1. yes that would be amazing i appreciate it
     
  2. I’ll see how this would be possible
     
  3. Take your time :D
     
    • Like Like x 1
  4. Could you add the possibility to set the max thirst to something else than 100 and add an option to replace the xp numbers by the thirst value please otherwise good plugin
     
  5. Watermelon Slices don't seem to be regenerating thirst level but the stews appear to work fine. I'm on 1.15.2.
     
  6. Is version 2.8.8 compatible with MC 1.13.2? None of the commands work, also the exp-bar doesn't show thirst level. If not, what version can we use? Thanks for the help :)
     
  7. Here is my config 0w0
    There are some custom character(Chinese) ......
    Thx again!
    ===========================================================================================================
    ## BYTE RPG config File
    ## Welcome to the RPG plugin designed for www.byte.org.uk be careful how you edit the following details use a yaml editor if you do have to edit this file.
    ################## Bar and scoreboards ###################
    ##Use the BYTE scoreboard
    byteScoreboardEnabled: false
    ##whether to use BarAPI or BossBar for thirst bar
    useBarAPI: true
    useBossBarAPI: false
    barAPIMessage: Thirst
    byteBarEnabled: false
    ##use scoreboard stats for thirst level
    useScoreboardStats: false
    ##use xp bar as thirst bar
    useXpScore: false
    ##only show the scoreboard of bar when thirst below set number
    ##set to 101 on all the time
    displayBoardUnder: 101
    ##use actionbar for messages
    actionBarEnabled: true
    ##use worldguard regions for no thirst (mycellenium spread deny)
    useWorldGuard: false
    ################## world settings #########################
    ##Enabled worlds
    worlds:
    - world
    - world_nether
    - world_the_end
    ################## Thirst check settings #################
    ##Time in ticks between each thirst check
    timeBetweenChecks: 200
    ##Amount in % thirst is reduced each check
    normal: 1
    savannah: 2
    desert: 4
    jungle: 3
    nether: 3
    beaches: 2
    mesa: 2
    hills: 1
    mountains: 1
    end: 1
    ################## Thirst levels ##################
    ##levels at which messages sent in %
    thirsty: 40
    parched: 20
    dehydrated: 10
    ################# Custom Items ##########################
    ##enable / disable custom crafting
    boiledWaterEnabled: true
    snowWaterEnabled: true
    ##custom item names for boiled and snow melted water
    boiledWaterName: 开水
    boiledWaterLore:
    - 在熔炉中烧过的水
    - 又热又纯净
    snowWaterName: 纯净水
    snowWaterLore:
    - 冰川融雪的雪水
    - 微微的凉意伴随着清爽
    ##custom items above refresh rate
    boiledWaterRefresh: 25
    snowWaterRefresh: 30
    ##objects & liquid that replenishes plus percentage gained
    items:
    Potion: 20
    ##water bottle
    mushroom_stew: 10
    ##Mushroom stew
    rabbit_stew: 10
    ##rabbit stew
    milk_bucket: 15
    ##milk bucket
    melon: 5
    ##melon slice
    ################### MECHANICS #########################
    ##how much damage is caused on dehydration (double)
    damage: 1.0
    ##how many water bottles you can stack
    bottleStack: 10
    ##refresh the player if they enter water
    refreshOnSwim: false
    ##change to how much thirst is given after death 0 to 100 only
    restoreThirstOnDeath: 100
    ##armorWeightplugin - reduce thirst on player weight
    armorWeightEnabled: true
    ##amount armorweight plugin additionally reduces thirst per check per 20 armour weight, full integer only
    weightModifier: 1
    ################## Thirst MESSAGES ##################
    ##messages for each thirst level above
    thirstyMessage: &b牙白!好渴呀orz再不喝水会变得虚弱的.
    parchedMessage: &6啊!我快变成干了!已经走不快啦!
    dehydratedMessage: &c眼...眼前好黑...我要渴死了吗...
    dyingMessage: &4再不喝水真的要死掉的啦XD
    fullyRefreshedMessage: &b 这水真好喝
    itemConsumeMessage: &b 饥渴度极大UP...
    mustBeAPlayerToUseCommandMessage: You must be a player to use this command.
    thirstNotEnabledInThisWorldMessage: Thirst is not enabled in this world.
    youAreMagicallyRefreshedMessage: &b 一道蓝光闪过!你瞬间被填满了!不在口渴~
    youDoNotHavePermissionMessage: You do not have permissions to do this.
    notARecogniedPlayerMessage: Not a recognised player.
    youAreNotThirstyMessage: &b 我还不渴我还可以...
    youAreNotTooThirstyMessage: &b再喝我会撑死的orz
    ######### prefix for thirst infomation message scoreboard etc
    messagePrefix: &b口渴
    ########################## CRAFTING RECIPIES ###################
    ##Enabled recipes
    recipes:
    - eggpotion
    - testpotion
    eggpotion:
    1: AIR
    2: AIR
    3: AIR
    4: AIR
    5: EGG
    6: AIR
    7: AIR
    8: POTION
    9: AIR
    product: POTION
    name: 鸡蛋特饮
    description:
    - 混入一颗鸡蛋
    - 有着奇怪的味道?
    refreshRate: 10
     
  8. Awesome plugin! Any updates planned to enhance it a bit?

    I seem to have an issue... When I try to do /thirst reload it won't work for me even though I am OP. Just tells me that it is not enabled in this world... but it is cause it is in the settings. Then when I tried to reload the config in the console it reloaded it. But then I made another change to the config and tried to reload it again in the console and got this:


    thirst reload
    [12:50:16 INFO]: [Thirst] Adding allowed world: obsidian_world
    [12:50:16 INFO]: [Thirst] Adding allowed world: obsidian_world_nether
    [12:50:16 INFO]: [Thirst] Adding allowed world: obsidian_world_the_end
    [12:50:16 INFO]: [Thirst] Adding refeshing object: POTION with value 20
    [12:50:16 INFO]: [Thirst] Adding refeshing object: MUSHROOM_STEW with value 10
    [12:50:16 INFO]: [Thirst] Adding refeshing object: RABBIT_STEW with value 10
    [12:50:16 INFO]: [Thirst] Adding refeshing object: MILK_BUCKET with value 15
    [12:50:16 INFO]: [Thirst] Adding refeshing object: MELON with value 5
    [12:50:16 INFO]: [Thirst] Action bar enabled
    [12:50:16 INFO]: [Thirst] XP thirst Score enabled
    [12:50:16 INFO]: [Thirst] BYTE scoreboard disabled in config
    [12:50:16 INFO]: You must be a player to use this command.
    [12:50:16 INFO]: /thirst check


    and it didn't actually change in game... it still has the old settings in game so I have to restart the server to get it to work (I guess)

    Any ideas? @Hmmcrunchy
     
    #730 GoldenRatioMan, Apr 28, 2020
    Last edited: Apr 28, 2020
  9. Also I just got this error when I get to 0 thirst.... plus the effects you get when you are low don't stay, they turn on and off with the effect timers:


    [15:37:25 WARN]: [Thirst] Task #18 for Thirst v2.10.0 generated an exception
    java.lang.IllegalArgumentException: Experience progress must be between 0.0 and 1.0 (-0.02)
    at com.google.common.base.Preconditions.checkArgument(Preconditions.java:191) ~[patched_1.15.2.jar:git-Paper-226]
    at org.bukkit.craftbukkit.v1_15_R1.entity.CraftPlayer.setExp(CraftPlayer.java:1075) ~[patched_1.15.2.jar:git-Paper-226]
    at com.hmmcrunchy.thirst.Thirst.sendXpScore(Thirst.java:971) ~[?:?]
    at com.hmmcrunchy.thirst.Thirst$1.run(Thirst.java:662) ~[?:?]
    at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.15.2.jar:git-Paper-226]
    at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:461) ~[patched_1.15.2.jar:git-Paper-226]
    at net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1240) ~[patched_1.15.2.jar:git-Paper-226]
    at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:430) ~[patched_1.15.2.jar:git-Paper-226]
    at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1157) ~[patched_1.15.2.jar:git-Paper-226]
    at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:946) ~[patched_1.15.2.jar:git-Paper-226]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]



    Could we chat on discord?
     
    #731 GoldenRatioMan, Apr 28, 2020
    Last edited: Apr 29, 2020
  10. I need help, its saying thirst is not enabled in my worlds. i go into the plugin folder, to your thirst folder, open the config and add my world names but its not working... is there another way to enable in the world with a command? is there something im missing..
     
  11. hey there are you using craftbukkit rather than spigot ?
     
  12. hey do you get any errors on startup in the console. could you post your config
     
  13. this is the errors i get
    [03:38:59 INFO]: [Thirst] Enabling Thirst v2.10.0

    [03:38:59 INFO]: [Thirst] Plugin Loading

    [03:38:59 INFO]: [Thirst] Thanks for using BYTE Thirst plugin - www.byte.org.uk!

    [03:38:59 ERROR]: Cannot load plugins/Thirst/config.yml

    org.bukkit.configuration.InvalidConfigurationException: while parsing a block collection

    in 'string', line 38, column 2:

    - &aGarden &bOf &aTrilleah

    ^

    expected <block end>, but found '<anchor>'

    in 'string', line 38, column 13:

    - &aGarden &bOf &aTrilleah

    ^


    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) ~[patched_1.15.2.jar:git-Paper-192]

    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160) ~[patched_1.15.2.jar:git-Paper-192]

    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:128) ~[patched_1.15.2.jar:git-Paper-192]

    at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:183) ~[patched_1.15.2.jar:git-Paper-192]

    at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:157) ~[patched_1.15.2.jar:git-Paper-192]

    at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:133) ~[patched_1.15.2.jar:git-Paper-192]

    at com.hmmcrunchy.thirst.Thirst.onEnable(Thirst.java:254) ~[?:?]

    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.15.2.jar:git-Paper-192]

    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:364) ~[patched_1.15.2.jar:git-Paper-192]

    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.15.2.jar:git-Paper-192]

    at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:470) ~[patched_1.15.2.jar:git-Paper-192]

    at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:384) ~[patched_1.15.2.jar:git-Paper-192]

    at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:488) ~[patched_1.15.2.jar:git-Paper-192]

    at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:298) ~[patched_1.15.2.jar:git-Paper-192]

    at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:908) ~[patched_1.15.2.jar:git-Paper-192]

    at java.lang.Thread.run(Thread.java:832) [?:?]

    Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block collection

    in 'string', line 38, column 2:

    - &aGarden &bOf &aTrilleah

    ^

    expected <block end>, but found '<anchor>'

    in 'string', line 38, column 13:

    - &aGarden &bOf &aTrilleah

    ^


    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:516) ~[patched_1.15.2.jar:git-Paper-192]

    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[patched_1.15.2.jar:git-Paper-192]

    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148) ~[patched_1.15.2.jar:git-Paper-192]

    at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:190) ~[patched_1.15.2.jar:git-Paper-192]

    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:142) ~[patched_1.15.2.jar:git-Paper-192]

    at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:239) ~[patched_1.15.2.jar:git-Paper-192]

    at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:230) ~[patched_1.15.2.jar:git-Paper-192]

    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:218) ~[patched_1.15.2.jar:git-Paper-192]

    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144) ~[patched_1.15.2.jar:git-Paper-192]

    at org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:85) ~[patched_1.15.2.jar:git-Paper-192]

    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:108) ~[patched_1.15.2.jar:git-Paper-192]

    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:141) ~[patched_1.15.2.jar:git-Paper-192]

    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:525) ~[patched_1.15.2.jar:git-Paper-192]

    at org.yaml.snakeyaml.Yaml.load(Yaml.java:438) ~[patched_1.15.2.jar:git-Paper-192]

    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54) ~[patched_1.15.2.jar:git-Paper-192]

    ... 15 more

    [03:38:59 INFO]: [Thirst] Adding allowed world: world

    [03:38:59 INFO]: [Thirst] Adding allowed world: world_nether

    [03:38:59 INFO]: [Thirst] Adding allowed world: world_the_end

    [03:38:59 INFO]: [Thirst] Action bar enabled

    [03:38:59 INFO]: [Thirst] XP thirst score disabled in config

    [03:38:59 INFO]: [Thirst] BYTE scoreboard Enabled

    [03:38:59 INFO]: Creating custom eggywater craft recipe

    [03:38:59 INFO]: [Thirst] Adding custom refeshing object: eggywater with value 10

    [03:38:59 INFO]: [Thirst] Custom recipe testpotion Does not exist

    [03:38:59 INFO]: Creating boiled water recipe

    [03:38:59 INFO]: Creating snow to water custom recipe

    [03:38:59 INFO]: [Thirst] Server version detected: git-Paper-192 (MC: 1.15.2)

    [03:38:59 INFO]: Creating maxstack size for bottles as 10

    [03:38:59 INFO]: [Thirst] ArmorWeight not found

    [03:38:59 INFO]: [Thirst] BarAPI not Found

    [03:38:59 INFO]: [Thirst] BossBarAPI not Found

    [03:38:59 INFO]: [Thirst] Scoreboard Stats not Found

    [03:38:59 INFO]: [Thirst] World Guard disabled in config

    [03:39:00 INFO]: [Thirst] timer at 500

    [03:39:00 INFO]: [Thirst] normal reduction at 1




    this is my configs

    ## BYTE RPG config File

    ## Welcome to the RPG plugin designed for www.byte.org.uk be careful how you edit the following details use a yaml editor if you do have to edit this file.


    ################## Bar and scoreboards ###################

    ##Use the BYTE scoreboard
    byteScoreboardEnabled: true

    ##whether to use BarAPI or BossBar for thirst bar
    useBarAPI: false
    useBossBarAPI: false
    barAPIMessage: Thirst
    byteBarEnabled: true

    ##use scoreboard stats for thirst level
    useScoreboardStats: false

    ##use xp bar as thirst bar
    useXpScore: false

    ##only show the scoreboard of bar when thirst below set number
    ##set to 101 on all the time
    displayBoardUnder: 101


    ##use actionbar for messages
    actionBarEnabled: true

    ##use worldguard regions for no thirst (mycellenium spread deny)
    useWorldGuard: false

    ################## world settings #########################

    ##Enabled worlds
    worlds:
    - &aGarden &bOf &aTrilleah
    - moon
    - &aGarden &bOf &aTrilleah_nether
    - &aGarden &bOf &aTrilleah_the_end
    - IridiumSkyblock
    - IridiumSkyblock_nether

    ################## Thirst check settings #################

    ##Time in ticks between each thirst check
    timeBetweenChecks: 500

    ##Amount in % thirst is reduced each check
    normal: 1
    savannah: 2
    desert: 4
    jungle: 3
    nether: 3
    beaches: 2
    mesa: 2
    hills: 1
    mountains: 1
    end: 1

    ################## Thirst levels ##################

    ##levels at which messages sent in %
    thirsty: 40
    parched: 20
    dehydrated: 10



    ################# Custom Items ##########################

    ##enable / disable custom crafting
    boiledWaterEnabled: true
    snowWaterEnabled: true

    ##custom item names for boiled and snow melted water
    boiledWaterName: Boiled Water
    boiledWaterLore:
    - Water boiled in a furnace
    - piping hot and pure
    snowWaterName: Pure Water
    snowWaterLore:
    - Water melted from snow
    - freezing but refreshing

    ##custom items above refresh rate

    boiledWaterRefresh: 25
    snowWaterRefresh: 30

    ##objects & liquid that replenishes plus percentage gained
    items:
    Potion: 20
    ##water bottle
    mushroom_stew: 10
    ##Mushroom stew
    rabbit_stew: 10
    ##rabbit stew
    milk_bucket: 15
    ##milk bucket
    melon: 5
    ##melon slice


    ################### MECHANICS #########################

    ##how much damage is caused on dehydration (double)
    damage: 1.0

    ##how many water bottles you can stack
    bottleStack: 20

    ##refresh the player if they enter water
    refreshOnSwim: false

    ##change to how much thirst is given after death 0 to 100 only
    restoreThirstOnDeath: 100

    ##armorWeightplugin - reduce thirst on player weight
    armorWeightEnabled: true

    ##amount armorweight plugin additionally reduces thirst per check per 20 armour weight, full integer only

    weightModifier: 1



    ################## Thirst MESSAGES ##################

    ##messages for each thirst level above

    thirstyMessage: You are starting to feel very thirsty and are weakening.

    parchedMessage: You are parched, you are starting to slow.

    dehydratedMessage: You are dehydrated, your eyes are dimming

    dyingMessage: You are so thirsty, you are dying.

    fullyRefreshedMessage: You are fully refreshed

    itemConsumeMessage: Thirst +

    mustBeAPlayerToUseCommandMessage: You must be a player to use this command.

    thirstNotEnabledInThisWorldMessage: Thirst is not enabled in this world.

    youAreMagicallyRefreshedMessage: You are magically refreshed.

    youDoNotHavePermissionMessage: You do not have permissions to do this.

    notARecogniedPlayerMessage: Not a recognised player.

    youAreNotThirstyMessage: You are not thirsty.

    youAreNotTooThirstyMessage: You are not too thirsty.


    ######### prefix for thirst infomation message scoreboard etc

    messagePrefix: Thirst



    ########################## CRAFTING RECIPIES ###################


    ##Enabled recipes
    recipes:
    - eggpotion
    - testpotion


    eggpotion:
    1: AIR
    2: AIR
    3: AIR
    4: AIR
    5: EGG
    6: AIR
    7: AIR
    8: POTION
    9: AIR
    product: POTION
    name: eggywater
    description:
    - Horrible egg mix
    - reeking of sulphur
    refreshRate: 10



    i hope we can find a solution you have the best thirst plugin out of everyone
     
  14. Oh I should mention this, i have a world named world. it works for that world, i did a test to delete this out of my configs to see if it would change. and even though its not listed in the configs now, thirst still works in that world... but wont work for any others.
     
  15. are you using spigot or paperspigot
     
  16. I am using Paper. because i read that paper covers plugins with bukkit and spigot and paper. so it was a win win.. i think lol
     
  17. ah yea paper does something weird XD and some of my plugins although work fine on spigot. paper does weird things to them, they work and run but there are anomalies
     
  18. ohhh shoot, I thinking of switching to spigot then. i dont really have any plugins thats running on paper anyway. when i do the switch i will let you know if it fixes it. i notice a few other plugins glitch a bit too. probably the reason. thanks!