Jump to content

Deleting and Replacing alloy.json causes load failure.

Pending 0.1.0

marxy
marxy

Posted

If you remove the alloy.json to replace it then alloy thinks the plugin is loaded twice.
 

[Alloy] [build] plugins/Contraband: plugin 'Contraband' loaded (17 files, 0.16s)
[Alloy] [plugin] plugins/Contraband: removed (alloy.json deleted)
Unloaded plugin Contraband v1.0.0 by marxy
[Alloy] ERROR: [scan] plugins/Contraband: not registered — Duplicate plugin name: 'Contraband' is already taken by another folder. Rename the plugin (name in alloy.json) or the folder.
Preloaded plugin Contraband v1.0.0 by marxy
[Alloy] [build] plugins/Contraband: plugin 'Contraband' loaded (17 files, 0.16s)
[Alloy] ERROR: [build] plugins/Contraband: build failed — Duplicate plugin name: a plugin named 'Contraband' is already loaded (not via Alloy). Rename your plugin.

Found this by accident and will just try to copy over rather than delete first, but thought I'd report it

marxy

Posted (edited)

Forgot to add, if you manually unload <pluginname> then alloy.load <pluginname> will work, however auto builds afterwards will fail again and require the manual unload/load until server restart.

Edited by marxy
0xF

Posted

Got it! Thanks for letting me know.

  • Love 1

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.2m
Total downloads
Customers
12.3k
Customers served
Files Sold
174.1k
Total sales
Payments
3.8m
Processed total
×
×
  • 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.