oxide.reload has been broken since Oxide 1.13 if I remember correctly, so that's not the fault of this plugin.
Death API [Unmaintained]
Discussion in 'Plugin Support' started by Hatemail, Jan 20, 2014.
-
oki thx
-
My kill messages show a rather long and unattractive sentence to my players and I wish to shorten it with "⊕".
Could someone show me how to edit the deathmessage, message line using the following format?
Code (text):
{
"AdminOnly": false,
"SendAllChat": true,
"SendNotice": false,
"ShowWeapon": true,
"ShowSuicide": false,
"ChatName": "Server"
}
I'm not a genius when it comes to adding or editing JSON text.
The cutcome I'm trying to get:
<player> ⊕ <player> with <weapon>
frog12 ⊕ rat21 with (m4) -
rust.InventoryNotice(damage.attacker.client.netUser, "Killed: " .. victimName)
if (self.Config.weapon == true and self.Config.bodyPart == true) then
if _GetNiceName(damage.bodyPart) ~= nil then
bodyMsg = attackerName .. " killed " .. damage.victim.client.netUser.displayName .. weaponMsg .. " with a shot to their " .. _GetNiceName(damage.bodyPart)
else
bodyMsg = ""
end
end
if bodyMsg then
self:notifyDeath(bodyMsg)
else
self:notifyDeath(attackerName .. " killed " .. victimName .. weaponMsg)
end
return
im guessing were it says killed you'd replace it with the character you want.. this info can be found in the lua file.. but im not a modder and i dont know if the character would be compatible or not best waiting for the guy that made the mod to respond to the question because i am most probably wrong! -
Code:
rust.InventoryNotice(damage.attacker.client.netUser, "Killed: " .. victimName) self:notifyDeath(attackerName .. " ⊕ " .. victimName .. " (" .. weapon .. ")")
-
I will try this out asap! -
-
-
need /deathmsg for toogle on off
-
-
any news on the distance been in the death message yet?
-
Hatemail killed Jason with an (M4) with a shot to their Cheast at 54m??? its already a long death message..
-
Hatemail killed Jason with a (M4) to the Chest - 54m <can that be done makes it alot smaller message? plus its only 4 more little characters at most
also if its in the death message wouldnt this mean it would be in the log too so if someone complains of a cheater shooting them from miles away it would be checkable in the log cause max distance is what 240m on a bolt action?
Last edited by a moderator: Feb 17, 2014 -
Hatemail updated Death Handler with a new update entry:
Enhancements!
-
-
thankyou hatemail this will be a big hit on my server very appreciated
-
Um, I might be getting a really odd glitch here. Getting ranges of 6-7K meters. Kind of insane.
-
-