Ambiguous Plugin Name! [SOLVED]

Discussion in 'Spigot Plugin Development' started by xFerretx, Jun 19, 2015.

  1. Before I get started I want to thank all the very helpful people on the forums!

    SO I made 2 succesful plugin so far, one that was a test with listeners, and one simple command plugin. Im working on my third, an announcement message!

    So when I loaded the Broadcast plugin my other command plugin stopped working, here's the console log.


    19.06 03:18:36 [Server] INFO Server permissions file permissions.yml is empty, ignoring it
    19.06 03:18:36 [Server] INFO onEnable has started
    19.06 03:18:36 [Server] INFO Enabling Forum v0.0.1
    19.06 03:18:36 [Server] INFO onEnable has started successfully
    19.06 03:18:36 [Server] INFO Enabling Listener v0.0.1
    19.06 03:18:36 [Server] INFO Loading Forum v0.0.1
    19.06 03:18:36 [Server] INFO Loading Listener v0.0.1
    19.06 03:18:35 [Server] ERROR Ambiguous plugin name `Forum' for files `plugins/RecordStream.jar' and `plugins/ForumLink.jar' in `plugins'
    19.06 03:18:35 [Server] INFO onDisable has started successfully
    19.06 03:18:35 [Server] INFO Disabling Listener v0.0.1
    19.06 03:18:35 [Server] INFO onDisable has started
    19.06 03:18:35 [Server] INFO Disabling Forum v0.0.1







    ForumLink is the command plugin that was working before, when i do /pl it shows up but commands dont work. "RecordStream.jar" refers to the broadcast plugin
     
  2. Did you name your classes for each plugin the same? I had a conflict when two plugins I coded both had the same class name as "Main".
     
  3. Edit the plugin.yml of either the ones listed and change the name from Forum to something else.
     
    • Like Like x 2
  4. No, the classes are different. One is called Bc, and one is called Forum
     
  5. Aha a fix! Just remembered I copy and pasted the config from the other plugin and never renamed it!