I give rights to only one group, but the plug-in gives out to everyone.
Metabolism
Moved
Total Downloads: 2,348 - First Release: Oct 24, 2014 - Last Update: Jan 12, 2018
- 4.875/5, 16 likes
-
Wulf Community Admin
-
But with the spawn, it still applies to everyone. While set in the config: Use Permissions (true/false)": true
Perhaps the "Use Permissions" function does not work correctly. -
Wulf Community Admin
-
-
Wulf Community Admin
-
Use Permissions (true/false)
Completely does not work, if I set true, the Default group also gets these rights, what's the problem?
Code:{ "Calories Loss Rate (0.0 - infinite)": 0.03, "Calories Spawn Value (0.0 - 500.0)": 500.0, "Calories Usage (true/false)": true, "CaloriesLossRate": 0.03, "CaloriesSpawnValue": 500.0, "Health Gain Rate (0.0 - infinite)": 0.03, "Health Spawn Value (0.0 to 100.0)": 100.0, "Health Usage (true/false)": true, "HealthGainRate": 0.03, "HealthSpawnValue": 100.0, "Hydration Loss Rate (0.0 - infinite)": 0.03, "Hydration Spawn Value (0.0 - 250.0)": 250.0, "Hydration Usage (true/false)": true, "HydrationLossRate": 0.03, "HydrationSpawnValue": 250.0, "Use Permissions (true/false)": true, "UsePermissions": true }
-
Wulf Community Admin
Wulf updated Metabolism with a new update entry:
2.5.0
-
Unfortunately, it still does not work, I gave all the groups metabolism.none, but they had 100 hp and became immortal
-
Wulf Community Admin
-
Wulf Community Admin
Wulf updated Metabolism with a new update entry:
2.5.1
-
It looks like the plugin is killing the user instantly after spawning because of Thirst or Hunger...
(23:03:09) | Riddle[8464678/76561197999286293] was suicide by Suicide
(23:03:15) | Riddle[8464678/76561197999286293] has entered the game
(23:03:15) | Riddle[8464678/76561197999286293] was killed by Hunger
(23:03:23) | Riddle[8464678/76561197999286293] has entered the game
(23:03:24) | Riddle[8464678/76561197999286293] was killed by Hunger
(23:03:38) | Unloaded plugin Metabolism v2.5.1 by Wulf/lukespragg
(23:03:40) | Riddle[8464678/76561197999286293] has entered the game -
Wulf Community Admin
-
Oh wow... it looks like tonights update set them all to 0.... :|
So, sorry, my bad, didn't look at the config because it was working well before the restart -
Wulf Community Admin
-
-
Nobody has metabolism.boost, nobody has metabolism.none yet people are still respawning with the settings I have in the config (max everything). I have the latest version of the plugin. I have reloaded it a few times. Here is my config:
{
"Calories loss rate (0.0 - infinite)": 0.03,
"Calories spawn amount (0.0 - 500.0)": 500.0,
"Health gain rate (0.0 - infinte)": 0.03,
"Health spawn amount (0.0 - 100.0)": 100.0,
"Hydration loss rate (0.0 - infinite)": 0.03,
"Hydration spawn amount (0.0 - 250.0)": 250.0
} -
Wulf Community Admin
-
Code:
private void Metabolize(BasePlayer player) { player.health = config.HealthSpawnAmount; player.metabolism.calories.value = config.CaloriesSpawnAmount; player.metabolism.hydration.value = config.HydrationSpawnAmount; } private void OnPlayerRespawned(BasePlayer player) => Metabolize(player);
-
Wulf Community Admin