Jump to content
We've made dark mode the default preference to protect your eyes! You can change this at anytime below. ×
Search In
  • More options...
Find results that contain...
Find results in...
Rezanow

Default notifications

Not a Bug 2.2.73

When I reload the plugin, the notifications no longer show up in chat and show up in console instead. I set the default for all of them to be on. Is this a bug or did I do something wrong?  

Share this comment


Link to comment

Check your settings for your character.  If you turn off the messages they do not show.

Chat Commands

/rrm -- Toggle the message about earn currency for a player. It is not case sensitive.

There are five sub-settings:

H - Harvest

K- Kill

O - Open

P - Pickup and

A - Activity

The second parameter is on or off.

Share this comment


Link to comment

Each time I've done an oxide.reload RustRewards my notifications disappear and show up in the console instead. Some players see the chat notifications, others do not. 

I then use /rrm on and things go back to normal. 

"Player Default Settings": "hkopa",
"PrintInConsole": "false",

Is there another command I am missing? Full json attached. 

RustRewards.json

Share this comment


Link to comment

Hello, 

I'm seeing the exact behaviour outlined by Rezanow. By default, all of the ingame notifications are muted, and it's only showing up in the console. 

Edit: After playing around a bit, I think the issue is a result of unloading and loading the plugin with people on the server. Once I reconnect, it seems to be working as expected... though, it does throw an exception in the console:

 

Quote

Failed to call hook 'OnPlayerConnected' on plugin 'RustRewards v2.2.73' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.RustRewards.OnPlayerConnected (BasePlayer player) [0x0007e] in <7835fa251f2540ce8135e20a8106300a>:0 at Oxide.Plugins.RustRewards.DirectCallHook (System.String name, System.Object & ret, System.Object[] args) [0x00884] in <7835fa251f2540ce8135e20a8106300a>:0  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] arg

 

Edited by Disconnect

Share this comment


Link to comment

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

2,128 files sold to 250 customers and $28,069 of payments processed this year!

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.