Hi there,
Would you also be able to include the Notify plugin that is on Codefling - it uses the same code but this plugin refuses to use it as the name is different. Can both plugins be made compatible?
ngl I thought just changing the name in the cs would be enough but nah plugin would not load and thrw all sorts of errors and not being a coder i just deleted and loaded default and am now asking for actual coders to add it as I am sure you guys can add a few words and it works! I just spent 3 hours trying to get this to work on my own!
Notify compatibility
It should only require a few changes to make it work:
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."); Thank you so much sir, you are an absolute legend! I tried doing the above and after 3 hours and the plugin no longer compiling I gave up! Once again thank you for providing the above it's greatly appreciated