Spicy submitted a new resource:
WaterDisconnect - Kills players that log out underwater.
Read more about this resource...
WaterLimits
Moved
Total Downloads: 1,119 - First Release: Sep 8, 2016 - Last Update: May 27, 2017
- 5/5, 13 likes
-
Wulf Community Admin
-
Spicy updated WaterDisconnect with a new update entry:
1.1.0
-
Hi
It will be great if you add some options in config, to broadcast LoggedOutUnderwater, PlayerWasKilled etc to true or false -
-
Yes chat broadcast feature true or false in config.
When player will disconnect in water, and leave game will be good too, if he have some information, why he was killed -
Spicy updated WaterDisconnect with a new update entry:
1.1.1
-
["Damage"] = true,
["DamageAmount"] = 10,
Every second will deal 10 damage or both? -
-
If it is not difficult to add a damage over time, as I wrote above, pleaseLast edited by a moderator: Sep 9, 2016 -
-
Is there a way to have this addon do like 10 damage every lets say 10min? I want players to be killed for logging out in water but I also understand that players sometimes get disconnected and I dont want them to be killed straight off.
-
-
hi
Im using your plg
but 2 things:
can you make configurable the range of water that will kill you?
because is setter to deep, ppl sleeping on the first meters of water are totaly under water but they dont die.
and second thing, can you make that the person will be taking damage something like 30 per hour, then in 3 hours ingame will be dead, more realistic.
thank you for your work -
Wulf Community Admin
Wulf updated WaterDisconnect with a new update entry:
2.0.0
-
Can be possibe to change this:
!player.IsHeadUnderwater()
to something like
!player.IsFootUnderwater() or !player.IsLegsUnderwater()
because I think Head underwater is when you are VERTICAL around 2 meters of water deep
then you go sleep and the body is very hide,
but if you put a "detector" around FOOTS or LEGS then will be better and realistic, you can not Sleep in 20 centimeter of water realy
If its possible just tell me and I will try -
Wulf Community Admin
-
Or maybe simply allow to change offset below the head via config.
-
What I need modify? I want try
In other way, the plugin is giving error:
Code:(20:17:35) | [Oxide] 20:17 [Error] Failed to run a 20.00 timer in 'WaterDisconnect v2.0.0' (NullReferenceException: ) (20:17:35) | [Oxide] 20:17 [Debug] at (wrapper managed-to-native) UnityEngine.Component:get_transform () at BaseCombatEntity.Hurt (Single amount, DamageType type, .BaseEntity attacker, Boolean useProtection) [0x00000] in <filename unknown>:0 at BaseCombatEntity.Hurt (Single amount) [0x00000] in <filename unknown>:0 at Oxide.Plugins.WaterDisconnect+<OnPlayerDisconnected>c__AnonStorey0.<>m__0 () [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <filename unknown>:0 (20:17:36) | 201.213.171.109:53964/76561198260756405/Gruñeme disconnecting: closing
-
-
Wulf Community Admin
Wulf updated WaterDisconnect with a new update entry:
2.1.0