PixelRidge-Softworks / SurvivalPlus

Change the way you think about Survival!
GNU General Public License v3.0
13 stars 11 forks source link

thirst and energy appering in chat while using scoreboard #30

Closed Gahtee closed 1 year ago

Gahtee commented 1 year ago

Describe the bug I do have desactivated scoreboard in config but i've put the information about thirst and energy in other scoreboard plugin and the chat wont desactive thirst and energy

To Reproduce Im using sternalboard plugin StatusScoreboard: false (survivalplus/config.yml)

in the other scoreboard plugin im using: %survivalplus_player_thirst_bar_1% (dont think thats necessary 2 of thirst bars) %survivalplus_player_energy_bar% %survivalplus_player_hunger_bar_2% (for saturation, 'cause hunger is already shown in hotbar)

Expected behavior Expected to dont appear in chat

Screenshots 2022-11-06_19 19 15 (sede is thirst) (saturação is saturation) (energia is energy)

Running Environment (please complete the following information):

Server Info (please complete the following information):

Additional context Not a context but english is not my mother language so im sorry for several language errors and the ip is just a illustration

VetheonGames commented 1 year ago

In config.yml please find the following lines:

  # Shows the players different status levels in a scoreboard
  StatusScoreboard: true
  # Interval for alert messages [in seconds] (Currently used to warn players when thirst/nutrients are low)
  AlertInterval: 20

Change StatusScoreboard to false and change AlertInterval to 0 (if 0 doesn't work, use -1)

Then reboot your server and ensure that you're using the Status Placeholders in your custom scoreboard (Which I can see you already are, so don't worry about that.)

That should fix your problem.

If it doesn't please re-open this issue and change it's label back to "bug" as that's a bug.

Gahtee commented 1 year ago

thanks for ansewing and sorry for the late reply

i tested this code and didnt solved my problem, but reading the question again, i left a information behind, the text appears just when i eat something, eat 1 steak, appear one time. 2 steaks, two times.. theres a way to just remove complety from sending chat information about my hunger and thirst?

  # Shows the players different status levels in a scoreboard
  StatusScoreboard: false
  # Interval for alert messages [in seconds] (Currently used to warn players when thirst/nutrients are low)
  AlertInterval: 0

change AlertInterval to 0 (if 0 doesn't work, use -1)

i also tested both and didnt solved