You can always transform the JSON to CSV using https://json-csv.com but you might not like CSV either. Personally I think JSON is great.
DeathNotes
Broadcasts players and animals deaths to chat
Total Downloads: 65,994 - First Release: Feb 14, 2015 - Last Update: May 13, 2018
- 4.98519/5, 270 likes
-
I'm stupid... How to swith off specific message? Thanks!
-
self.Config['MESSAGES']['COLD':false] = '{victim} froze to death.'
Like that? -
-
-
[DOUBLEPOST=1424437960][/DOUBLEPOST]Example:
Code:"MESSAGES": { "COLD": false, "ANIMAL KILL SLEEP": "{victim} killed by a {animal}, while sleeping.", "SLASH": "{attacker} slashed {victim} into pieces. (With {weapon})", "SLASH SLEEP": "{attacker} slashed {victim} into pieces, while sleeping. (With {weapon})", "DROWNED": "{victim} drowned.", "ANIMAL KILL": "{victim} killed by a {animal}.", "BLEEDING": false, "BULLET SLEEP": "{attacker} killed {victim}, while sleeping. (With {weapon}, from {distance}m)", "HUNGER": "{victim} starved to death.", "THIRST": "{victim} died of thirst.", "HEAT": "{victim} burned to death.", "SUICIDE": "{victim} committed suicide.", "ANIMAL DEATH": "{attacker} killed a {animal}. (With {weapon}, from {distance}m)", "STAB": "{attacker} stabbed {victim} to death. (With {weapon})", "BLUNT": "{attacker} killed {victim}. (With {weapon})", "STAB SLEEP": "{attacker} stabbed {victim} to death, while sleeping. (With {weapon})", "BLUNT SLEEP": "{attacker} killed {victim}, while sleeping. (With {weapon})", "FALL": false, "BULLET": "{attacker} killed {victim}. (With {weapon}, from {distance}m)", "POISON": "{victim} died poisoned.", "TRAP": "{victim} stepped on a snap trap.", "RADIATION": "{victim} died from radiation.", "EXPLOSION": "{victim} blown up by C4." }
-
Why? Because I'm brave guy -
getting after last update :
Code:[Oxide] 11:28 AM [Error] KeyNotFoundException while calling OnEntityDeath: (KeyNotFoundException: %s SLEEP) [Oxide] 11:28 AM [Debug] at IronPython.Runtime.PythonDictionary.GetItem (object) <0x0006c> at IronPython.Runtime.PythonDictionary.get_Item (object) <0x00024> at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object) <0x000a2> at System.Dynamic.UpdateDelegates.UpdateAndExecute2<object, object, object> (System.Runtime.CompilerServices.CallSite,object,object) <0x0030a> at Microsoft.Scripting.Interpreter.DynamicInstruction`3<object, object, object>.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x00113> at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x000c8>cleisonoob was killed by steelfer
thx for this plugin it's awesome, the radius of the message is indispensable for stop the flood on chat -
SkinN õ.Õ'.|. updated Death Notes with a new update entry:
Death Notes | Minor fix
[DOUBLEPOST=1424439627][/DOUBLEPOST]
At least I'm glad that so far there are no major stuff to fix, the plugin is pretty stable as it seems. -
Little suggestion, i have NO idea what it will do as i havent tested it
but maybe doing an overlapsphere of players around a position could be a good way to do things.
as looping in all players i have no idea if it's the best way to do it (imagine 50+ players)
You can make an overlapsphere for players only (yeah cause a normal overlapsphere would make TOO much informations to handle)
LayerMask.NameToLayer("Player (Server)");
players = UnityEngine.Physics.OverlapSphere( Vector3Center, FloatRADIUS, LayerMask.NameToLayer("Player (Server)"));
then foreach players blablabla
maybe i'm wrong, maybe it will create lags but if you want to give it a go it could be an alternative way to do things -
Well... Any way to remove this?
Attached Files:
-
-
No there is no way to remove that.
Unless you wanna venture yourself changing the code, but though I will not help in case of any erros, the original code works and thats what matters me.
If you want the whole prefix thing to be removed go to lines 158, 159 and 160, remove all the those 3 lines and had a new one:
Code:return ''
Code:# -------------------------------------------------------------------------- def _prefix(self): ''' Returns formated prefix ''' return ''
-
Oh goood, why? xD
Attached Files:
-
-
Code:# -------------------------------------------------------------------------- def _prefix(self): ''' Returns formated prefix ''' return ' ' <<== HERE
-
Attached Files:
-
-
-
[DOUBLEPOST=1424469522][/DOUBLEPOST]So... If no way thank you for your work! Good job! -
Please fix. I do not need this garbage in chat.
-
Code:"MESSAGES": { "COLD": false, "ANIMAL KILL SLEEP": false, "SLASH": "{attacker} убил {victim} ( {weapon})", "SLASH SLEEP": false,