Jump to content

Inbound compatibility

Pending 1.0.12

V.
V.

Posted

Hey Mevent, is it possible for this version of notify to work with Inbound the same as your ui.notify on umod? It seems Inbound does not see this one and won't do the notifications:

 [Inbound] The 'UI Notify' plugin could not be found.

what would i need to change in the Inbound.cs to look for this one instead of ui.notify?

 

many thanks

MeventSupport

Posted

Hello! you need to contact the author of the Inbound plugin to make it support both Notify and UINotify

  • Like 1
V.

Posted

Ah cool, ok I have made the request on umod - hopefully it's dev is still alive!

V.

Posted

Good news! To make Inbound fully work with Notify the following changes need to be made to the Inbound plugin:

Change:

[PluginReference] Plugin DiscordMessages, PopupNotifications, UINotify, // Compatibility AirdropPrecision, FancyDrop;

To:

[PluginReference] Plugin DiscordMessages, PopupNotifications, Notify, // Compatibility AirdropPrecision, FancyDrop;

 

Change:

if (configData.uiNotify.enabled && UINotify)

To:

if (configData.uiNotify.enabled && Notify)

 

Change:

if (permission.UserHasPermission(player.UserIDString, "uinotify.see")) UINotify.Call("SendNotify", player, configData.uiNotify.type, msg);

To:

if (permission.UserHasPermission(player.UserIDString, "notify.see")) Notify.Call("SendNotify", player, configData.uiNotify.type, msg);

 

Change:

if (configData.uiNotify.enabled && !UINotify) PrintWarning("The 'UI Notify' plugin could not be found.");

To:

if (configData.uiNotify.enabled && !Notify) PrintWarning("The 'Notify' plugin could not be found.");

 

I have made the above changes to the Inbound.cs file and can confirm 100% is now working with Notify

MeventSupport

Posted

Thanks! Glad to hear you figured it out! If you have any more questions or need further assistance, feel free to ask. Happy gaming!

  • Love 1
1.7m

Downloads

Total number of downloads.

8k

Customers

Total customers served.

120.4k

Files Sold

Total number of files sold.

2.5m

Payments Processed

Total payments processed.

×
×
  • 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.