1. Es freut uns dass du in unser Minecraft Forum gefunden hast. Hier kannst du mit über 130.000 Minecraft Fans über Minecraft diskutieren, Fragen stellen und anderen helfen. In diesem Minecraft Forum kannst du auch nach Teammitgliedern, Administratoren, Moderatoren , Supporter oder Sponsoren suchen. Gerne kannst du im Offtopic Bereich unseres Minecraft Forums auch über nicht Minecraft spezifische Themen reden. Wir hoffen dir gefällt es in unserem Minecraft Forum!

Plugin Problem

Dieses Thema im Forum "Programmierung" wurde erstellt von Toplitsch, 3. September 2012.

Status des Themas:
Es sind keine weiteren Antworten möglich.

  1. Toplitsch
    Offline

    Toplitsch

    Registriert seit:
    26. Februar 2012
    Beiträge:
    49
    Hallo leute ich bins wieder Toplitsch ich bin anfänger des programmierens ...
    bitte helft mir weiter ...

    ServerLog
    2012-09-03 06:58:37 [INFO] Starting minecraft server version 1.3.1
    2012-09-03 06:58:37 [INFO] Loading properties
    2012-09-03 06:58:37 [INFO] Default game type: SURVIVAL
    2012-09-03 06:58:37 [INFO] Generating keypair
    2012-09-03 06:58:38 [INFO] Starting Minecraft server on *:25565
    2012-09-03 06:58:38 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2012-09-03 06:58:38 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2012-09-03 06:58:38 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2012-09-03 06:58:38 [WARNING] To change this, set "online-mode" to "true" in the server.properties file.
    2012-09-03 06:58:38 [INFO] This server is running CraftBukkit version git-Bukkit-1.3.1-R2.0-b2340jnks (MC: 1.3.1) (Implementing API version 1.3.1-R2.0)
    2012-09-03 06:58:38 [SEVERE] Could not load 'plugins\PluginBasics.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
    at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:208)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:132)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:222)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:198)
    at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:50)
    at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11)
    at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: unacceptable character '?' (0xFFFD) special characters are not allowed
    in "<reader>", position 127
    at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:98)
    at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:191)
    at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:63)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:411)
    at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:42)
    at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:203)
    ... 8 more
    2012-09-03 06:58:38 [INFO] Preparing level "world"
    2012-09-03 06:58:39 [INFO] Preparing start region for level 0 (Seed: -9156652665844175304)
    2012-09-03 06:58:40 [INFO] Preparing spawn area: 28%
    2012-09-03 06:58:41 [INFO] Preparing start region for level 1 (Seed: 2125715042078882293)
    2012-09-03 06:58:41 [INFO] Preparing spawn area: 20%
    2012-09-03 06:58:42 [INFO] Preparing start region for level 2 (Seed: 2125715042078882293)
    2012-09-03 06:58:42 [INFO] Preparing spawn area: 0%
    2012-09-03 06:58:43 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2012-09-03 06:58:43 [INFO] Done (4,422s)! For help, type "help" or "?"
    2012-09-03 07:02:05 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2012-09-03 07:05:32 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2012-09-03 07:08:15 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2012-09-03 07:09:03 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2012-09-03 07:14:03 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2012-09-03 07:14:08 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?

    Die .Class datei
    package me.Toplitsch.pluginBasics;

    import org.bukkit.ChatColor;
    import org.bukkit.command.Command;
    import org.bukkit.command.CommandSender;
    import org.bukkit.entity.Player;
    import org.bukkit.plugin.java.JavaPlugin;



    public class PluginBasics extends JavaPlugin
    {
    ChatColor MARK = ChatColor.YELLOW;
    ChatColor NORM = ChatColor.AQUA;
    ChatColor LINK = ChatColor.RESET;
    public static PluginBasics plugin;

    @Override
    public void onDisable() {
    // TODO Auto-generated method stub
    System.out.println("PluginBasics wurde deaktiviert");
    }

    @Override
    public void onEnable() {
    // TODO Auto-generated method stub
    System.out.println("PluginBasics wurde aktiviert");
    }


    public boolean onCommand(CommandSender sender, Command cmd, String commandlabel,String[] args)
    {
    boolean succeed = false;
    Player player = (Player)sender;
    if(cmd.getName().equalsIgnoreCase("raenge"))
    {
    player.sendMessage(this.NORM + "-------------------- " + this.MARK + "Ränge Infos" + this.NORM + " --------------------");
    player.sendMessage("Zahlungsmethode: PaysafeCard");
    player.sendMessage("Spenden an [email protected]");
    player.sendMessage("Höhere Ränge haben alle Vorteile des niedriegeren");
    player.sendMessage("Spenden nur an Toplitsch und BMArchitectHD");
    player.sendMessage("Skype name von Toplitsch: mcggregor BMarchitectHD: GerCreampie");
    player.sendMessage("Es gibt die Ränge: [VIP],[Elite] und Platin");
    player.sendMessage(this.NORM + "---------------------------------------------");
    }
    {


    succeed = true;
    }


    return succeed;
    }
    }

    plugin.yml
    name: PluginBasics
    main: me.Toplitsch.pluginBasics.PluginBasics
    version: 0.1
    description: Allrounder Plugin
    commands:
    ränge:
    description: das raenge commando
    usage: /raenge

    Hoffe ihr könnt mir helfen
     
  2. xapfeltortexp
    Offline

    xapfeltortexp

    Registriert seit:
    27. Januar 2012
    Beiträge:
    162
    Dein command darf kein ä enthalten. Änder das in der plugin.yml
     
  3. Toplitsch
    Offline

    Toplitsch

    Registriert seit:
    26. Februar 2012
    Beiträge:
    49
    aha okay ich teste es mal

    //EDIT okay geht nun vielen dank ;)
     
Status des Themas:
Es sind keine weiteren Antworten möglich.