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!

Problem mit MyCommand

Dieses Thema im Forum "Technischer Support" wurde erstellt von Greey3331, 23. Oktober 2012.

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

    Greey3331

    Ich möchte das Plugin "MyCommand" verwenden, ich brauche noch Befehle wie /vote oder /spenden.
    Leider geht das so noch nicht richtig, weil er mir immer die Default messages.yml erstellt.
    In der Konsole kommt diese Meldung:
    Code (Text):
    1. 2012-10-23 16:36:31 [INFO] [MyCommand] Enabling MyCommand v3.52012-10-23 16:36:31 [INFO] [MyCommand] Hooked MyCommand Vault
    2. 2012-10-23 16:36:31 [INFO] [MyCommand] Spout not detected.Disabling spout feature.
    3. 2012-10-23 16:36:32 [SEVERE] Cannot load plugins/MyCommand/commands.yml
    4. org.bukkit.configuration.InvalidConfigurationException: unacceptable character '�' (0xFFFD) special characters are not allowed
    5. in "<string>", position 79
    6.     at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
    7.     at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
    8.     at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
    9.     at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175)
    10.     at me.mri.mycommand.mycommand.commandsconfig(mycommand.java:215)
    11.     at me.mri.mycommand.mycommand.onEnable(mycommand.java:104)
    12.     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
    13.     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
    14.     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    15.     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:270)
    16.     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:252)
    17.     at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:298)
    18.     at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:277)
    19.     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:227)
    20.     at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
    21.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378)
    22.     at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    23. Caused by: unacceptable character '�' (0xFFFD) special characters are not allowed
    24. in "<string>", position 79
    25.     at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70)
    26.     at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50)
    27.     at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
    28.     at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
    29.     ... 16 more
    30. 2012-10-23 16:36:32 [SEVERE] Cannot load configuration from stream
    31. org.bukkit.configuration.InvalidConfigurationException: unacceptable character '�' (0xFFFD) special characters are not allowed
    32. in "<string>", position 364
    33.     at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
    34.     at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
    35.     at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:202)
    36.     at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:121)
    37.     at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:111)
    38.     at me.mri.mycommand.mycommand.SetupConfig(mycommand.java:307)
    39.     at me.mri.mycommand.mycommand.onEnable(mycommand.java:107)
    40.     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
    41.     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
    42.     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    43.     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:270)
    44.     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:252)
    45.     at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:298)
    46.     at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:277)
    47.     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:227)
    48.     at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
    49.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378)
    50.     at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    51. Caused by: unacceptable character '�' (0xFFFD) special characters are not allowed
    52. in "<string>", position 364
    53.     at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70)
    54.     at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50)
    55.     at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
    56.     at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
    57.     ... 17 more
    58. 2012-10-23 16:36:32 [INFO] [MyCommand] Custom Commands : 20
    59. 2012-10-23 16:36:33 [INFO] [MyCommand] Config Ready
    60. 2012-10-23 16:36:33 [INFO] [MyCommand] v3.5 Active. by MRI a.k.a Ivanpro
    61.  
    Meine Messages.yml:
    Code (Text):
    1. options:
    2.      commandsnumber: 3
    3.  
    4. '1':
    5.   command: /vote
    6.   type: text
    7.   text:
    8.   - §l&1Danke &4§o§player§r&1§l, das du voten willst!
    9.   - &1Leider ist diese Funktion noch nicht fertig!
    10.   - &1Tut uns wirklich Leid!
    11.   runcmd:
    12.   - /say -.-
    13.   cost: 0
    14.   delaytimer: 5
    15.  
    16.  
    17. '2':
    18.   command: /spenden
    19.   type: text
    20.   text:
    21.   - §l&1Danke &4§o§player§r&1§l, das du spenden willst!
    22.   - &1Leider ist diese Funktion noch nicht fertig!
    23.   - &1Tut uns wirklich Leid!
    24.   runcmd:
    25.   - /say -.-
    26.   cost: 0
    27.   delaytimer: 5
    28.  
    29.  
    30.  
    31. '3':
    32.   command: /countdown
    33.   type: runcommand
    34.   text:
    35.   - §l&1Danke &4§o§player§r&1§l, das du Countdown startest!
    36.   runcmd:
    37.   - $delay$/say 10
    38.   - $delay$/say 9
    39.   - $delay$/say 8
    40.   - $delay$/say 7
    41.   - $delay$/say 6
    42.   - $delay$/say 5
    43.   - $delay$/say 4
    44.   - $delay$/say 3
    45.   - $delay$/say 2
    46.   - $delay$/say 1
    47.   - $delay$/say 0
    48.   - $delay$/say Los gehts!!!
    49.   cost: 0
    50.   delaytimer: 1
    Die Default messages.yml:
    Code (Text):
    1. # MyCommand v3.5 Commands Config File# - commandsnumber (default 20) it's number of command you want make
    2. #  - Don't forget the '/' on runcmd line , example command: /myhelp
    3. # - type accept = text , runcommand , broadcast-text , runcommand-text , runcommand-broadcast-text , perm-broadcast-text --
    4. # - , addpermission , addtimer , runconsole , runcommand-perm-broadcast-text
    5. # - Additional type accept if you use Spoutplugin = spout-text .
    6. # - runcommand type example -> If command: /l and runcmd: /list,when you type /l mycommand execute /list
    7. # - runcmd support custom argument in game.($arg1,$arg2,$arg3,$arg4,$arg5,$multiargs) Example - runcmd : /time $arg1
    8. # - For Delayed command add $delay$ before the command in runcmd Example : - $delay$/list
    9. # - Set delay time with delaytimer: 5 (5 = seconds)
    10. # - Use the dot . for decimal cost Example = cost : 5.5
    11. # - http://dev.bukkit.org/server-mods/mycommand/pages/configuration-and-example/
    12. options:
    13.   commandsnumber: 20
    14. '1':
    15.   command: /mycmd-sampletext
    16.   type: text
    17.   text:
    18.   - $red Hello $darkgreen$player!
    19.   runcmd:
    20.   - /sample
    21.   cost: 0
    22.   delaytimer: 5
    23. '2':
    24.   command: /mycmd-dice
    25.   type: text
    26.   text:
    27.   - $red You got $darkgreen$rnd6 !
    28.   runcmd:
    29.   - /sample
    30.   cost: 0
    31.   delaytimer: 5
    32. '3':
    33.   command: /mycmd-runcommand
    34.   type: runcommand
    35.   text:
    36.   - $red Text of command $black3
    37.   runcmd:
    38.   - /list
    39.   cost: 0
    40.   delaytimer: 5
    41. '4':
    42.   command: /mycmd-args
    43.   type: runcommand
    44.   text:
    45.   - $red Text of command $black4
    46.   runcmd:
    47.   - /time $arg1 $arg2
    48.   cost: 0
    49.   delaytimer: 5
    50. '5':
    51.   command: /mycmd-runcmdtimer
    52.   type: runcommand
    53.   text:
    54.   - $red Text of command $black5
    55.   runcmd:
    56.   - $delay$/say 3..
    57.   - $delay$/say 2..
    58.   - $delay$/say 1..
    59.   cost: 0
    60.   delaytimer: 1
    61. '6':
    62.   command: /mycmd-broadcast
    63.   type: broadcast-text
    64.   text:
    65.   - $blue MyCommand Broadcast Test
    66.   runcmd:
    67.   - /sample
    68.   cost: 0
    69.   delaytimer: 5
    70. '7':
    71.   command: /mycmd-spoutsample
    72.   type: spout-text
    73.   text:
    74.   - $darkgreen -Spout Text-
    75.   - $red MyCommand!
    76.   runcmd:
    77.   - /sample
    78.   cost: 0
    79.   delaytimer: 5
    80. '8':
    81.   command: /mycmd-runconsole
    82.   type: runconsole
    83.   text:
    84.   - $red Text of command $black8
    85.   runcmd:
    86.   - /say This /say it's performed by console.
    87.   cost: 0
    88.   delaytimer: 5
    89. '9':
    90.   command: /mycmd-addtimer
    91.   type: text
    92.   text:
    93.   - $gold Put your command over /mycmd-addtimer
    94.   - '$gold And change type : from text to addtimer'
    95.   runcmd:
    96.   - /sample
    97.   cost: 0
    98.   delaytimer: 5
    99. '10':
    100.   command: /mycmd-addpermission
    101.   type: text
    102.   text:
    103.   - $gold Put your command over /mycmd-addpermission
    104.   - '$gold And change type : from text to addpermission'
    105.   runcmd:
    106.   - /sample
    107.   cost: 0
    108.   delaytimer: 5
    109. '11':
    110.   command: /mycmd-textargs
    111.   type: text
    112.   text:
    113.   - 'Player Name : $player'
    114.   - 'World : $world'
    115.   - 'Health : $health Food : $food'
    116.   - 'Exp : $exp Level : $level'
    117.   - 'Gamemode : $gamemode'
    118.   - 'LastDamage : $lastdamage'
    119.   runcmd:
    120.   - /sample
    121.   cost: 0
    122.   delaytimer: 5
    123. '12':
    124.   command: /mycmd-online
    125.   type: text
    126.   text:
    127.   - $red There are $online players online.
    128.   runcmd:
    129.   - /sample
    130.   cost: 0
    131.   delaytimer: 5
    132. '13':
    133.   command: /mycmd-clearchat
    134.   type: broadcast-text
    135.   text:
    136.   - ''
    137.   - ''
    138.   - ''
    139.   - ''
    140.   - ''
    141.   - ''
    142.   - ''
    143.   - ''
    144.   - ''
    145.   - ''
    146.   runcmd:
    147.   - /sample
    148.   cost: 0
    149.   delaytimer: 5
    150. '14':
    151.   command: /mycmd-shortcut
    152.   type: runcommand
    153.   text:
    154.   - $red Text of command $black14
    155.   runcmd:
    156.   - /say $multiargs
    157.   cost: 0
    158.   delaytimer: 5
    159. '15':
    160.   command: /mycmdsample15
    161.   type: text
    162.   text:
    163.   - $red Text of command $black15
    164.   runcmd:
    165.   - /sample
    166.   cost: 0
    167.   delaytimer: 5
    168. '16':
    169.   command: /mycmdsample16
    170.   type: text
    171.   text:
    172.   - $red Text of command $black16
    173.   runcmd:
    174.   - /sample
    175.   cost: 0
    176.   delaytimer: 5
    177. '17':
    178.   command: /mycmdsample17
    179.   type: text
    180.   text:
    181.   - $red Text of command $black17
    182.   runcmd:
    183.   - /sample
    184.   cost: 0
    185.   delaytimer: 5
    186. '18':
    187.   command: /mycmdsample18
    188.   type: text
    189.   text:
    190.   - $red Text of command $black18
    191.   runcmd:
    192.   - /sample
    193.   delaytimer: 5
    194. '19':
    195.   command: /mycmdsample19
    196.   type: text
    197.   text:
    198.   - $red Text of command $black19
    199.   runcmd:
    200.   - /sample
    201.   cost: 0
    202.   delaytimer: 5
    203. '20':
    204.   command: /mycmdsample20
    205.   type: text
    206.   text:
    207.   - $red Text of command $black20
    208.   runcmd:
    209.   - /sample
    210.   cost: 0
    211.   delaytimer: 5
    Nur weiß ich nicht, in welcher messages.yml das Problem liegt.
    Achso, ich nutze Bukkit 1.3.2-R2.0 und MyCommand v3.5
    Kann jemand helfen?

    MfG Greey3331
     
    #1
  2. Werbung
    Online

    Werbung

  3. craftingyourself
    Offline

    craftingyourself

    Registriert seit:
    21. September 2012
    Beiträge:
    270
    du darfst kein äöüß und so schreiben! aber mycommand hat auch bei mir ein bug
     
    #2
  4. mdafcker
    Offline

    mdafcker Gesperrt

    Registriert seit:
    20. Oktober 2012
    Beiträge:
    50
    Minecraft:
    mdafcker
    Hay,

    Du darst kein '&' oder '§' bnutzen ...
    Du musst '$blue`machen oder Kuck hier:
    Code (Text):
    1.  
    2. $darkblue,$darkgreen,$darkteal,$darkred,$purple,$gold,$gray,$darkgray,$blue,$black,$brightgreen,$teal,$red,$pink,$yellow,$white,$bold,$trike,$underline,$italic,$reset
    so geht das dan, Ich habe selber mal das Plugin gehabt.. Und da geht so was nicht mir '$6' oder so

    Und da für brucht man auch Rechte so:

    mycommand.cmd.1 und mycommand.cmd.2 und mycommand.cmd.3 Und wenn du ein Vote Plugin suchst Bukkit.org oder kuck mal nach ein bessares ;D

    Lg, mdafcker
     
    #3
  5. Greey3331
    Online

    Greey3331

    Ich werdes mal versuchen
     
    #4
  6. mdafcker
    Offline

    mdafcker Gesperrt

    Registriert seit:
    20. Oktober 2012
    Beiträge:
    50
    Minecraft:
    mdafcker
    Das geht nicht oder ging nicht bei mir ...

    Code (Text):
    1.     $darkblue,$darkgreen,$darkteal,$darkred,$purple,$g old,$gray,$darkgray,$blue,$black,$brightgreen,$tea l,$red,$pink,$yellow,$white,$bold,$trike,$underlin e,$italic,$reset
     
    #5
  7. Greey3331
    Online

    Greey3331

    Hab jetzt alles mit $ und farbnamen gemacht.
    Geht trotzdem noch nicht
     
    #6
  8. mdafcker
    Offline

    mdafcker Gesperrt

    Registriert seit:
    20. Oktober 2012
    Beiträge:
    50
    Minecraft:
    mdafcker
    Sorry ich weiss dan nicht warum -.-*

    Wenn du willste kann ich vllt so weche Kleine Plugins machen ... WIll auch nix da für.. Schreib mit dan einfach ne PN wie das ausehen soll bei /vote und so..

    Habe lust mal wieder was zu machen :)

    Mfg, mdafcker
     
    #7
Status des Themas:
Es sind keine weiteren Antworten möglich.