plz help meh

Discussion in 'Spigot Plugin Development' started by Hyperbyte, Jul 22, 2015.


Should I stop doing Bukkit/Spigot and do Skript?

  1. Yes

  2. No

  3. IDK stop askin meh questions

  1. Here's my source code:
    package me.terabytemc.test;

    import org.bukkit.command.Command;
    import org.bukkit.command.CommandSender;
    import org.bukkit.entity.Player;

    public class ShoreTest extends JavaPlugin {

    public void onEnable() {
    getLogger().info("ShoreTest by terabytemc_ is running!");

    public void onDisable() {


    public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args){

    if (cmd.getName().equalsIgnoreCase("test") && sender instanceof Player) {

    Player player = (Player) sender;

    player.sendMessage("Online activity, " + player.getName() + ", has been found.");

    return true;

    return false;


    As soon as i made this plugin and put it on my server, I couldn't connect (this was before the mojang authentication). I finally did connect but the plugin wasn't working.
    #1 Hyperbyte, Jul 22, 2015
    Last edited: Jul 22, 2015
  2. And the problem is?
  3. Um. We can't help you if we don't know what your problem is.
    • Agree Agree x 1
  4. Foxvific


    Can I see the error log and your plugin.yml?
    Also, I suggest using:
    Code (Text):
    System.out.print("Hi, This plugin is now enabled")
    instead of getLogger
  5. Why is that? Just curious.
  6. Code (Text):
    name: ShoreTest
    main: me.terabytemc.test.ShoreTest
    version: 1.0
          description: Test for server activity by terabytemc
          usage: /<command>
  7. Is there an error log in the console?
  8. No it's just not running.
  9. The Java version of the server might be different to the version you're using. Could you check for anything related to Java?
  10. You've got it backwards.
  11. Are there conflicting plugins, even if you don't see errors in the console can you please copy the console from when you start enabling the server (pastebin) otherwise it will just have to be because of Java versions like people above have said
  12. when loading the plugin you have console logs ? if none impossible
  13. Why? They essentially do the same thing, except the getLogger() method will print the string with the plugin name.
  14. raymart... raymart raymart raymart... do you ever read the god damn replies! i mean seriously, repeating the same questions that have already been answered is just like umm let me think whats the word... useless ahh yes useless -.- not to be mean or anything you should learn to read posts before just thinking oh he must have this so i won't bother checking ill just ask if he has done this...
    • Friendly Friendly x 1
  15. ok .
    • Funny Funny x 1
    • Optimistic Optimistic x 1
  16. We can't do anything without console logs and/or a list with plugins you're currently using in your server. Also, it might be a good idea to read this thread. The title doesn't say anything about the question what's quite annoying in my opinion.
    #16 Serializator, Jul 23, 2015
    Last edited: Jul 23, 2015
    • Agree Agree x 1
  17. agreed... i have sort of given up on telling people to name their threads right... even people who have posted 15+ times still use "code error" or "please help" a lot... -.-
  18. I think those are the people who quickly create an account to ask for help and use unrelated titles and also create new threads for each problem they have (which is sometimes related to the question in the other thread they posted).
  19. wow so many replies
    spigot is so dank :)
  20. What do you mean?

Share This Page