Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...

Learning To Make Plugins, Few Questions.

Discussion in 'Minecraft' started by Zelefant, May 13, 2017.

Thread Status:
Not open for further replies.
  1. Zelefant

    Zelefant wizard fortress will return one day HERO

    Messages:
    4,926
    Likes Received:
    7,929
    Trophy Points:
    215
    Guild:
    Minecraft:
    So recently i decided to teach myself some basic/low-intermediate java (basically i understand about 2/5 of java)
    and I managed to follow a tutorial to make a Spigot plugin. I did exactly this, and I created a simple command called /awesometext that outputs "This is some awesome text". The problem is, though, when I first entered /awestext into "usage:" in the plugin.yml file, when I run /awestext it said unknown command and running /awesometext output "/awestext". It's as if I didn't even NEED the Main class I made. The tutorial I followed said you put how you run your command in the "usage" box, which i did, i wanted to input /awestext to output "This is some awesome text" but it was unknown and /awesometext was the command.

    im kinda rambling so lets make a tldr

    TL;DR command name is awesometext, supposed to be run with /awestext but its unknown and the command is actually /awesometext, which then outputs whats in the "usage:" area of plugin.yml, which is "/awestext"
     
Thread Status:
Not open for further replies.