Ahoj, tak sjem tu zase s problem s pluginem MyCommands, ktery jsem proad nevyresil

Kdyz ho mam na testovacim serveru jde v porad ale kdyz ten sami config s upravenymi rpikazy dam na offic. server prepise se config na defaultni a v server.logu je toto:
Spoiler: zobrazit
Kód: Vybrat vše
2012-05-28 20:31:28 [INFO] [MyCommand] v.2.8.1 MRI a.k.a Ivanpro
2012-05-28 20:31:28 [SEVERE] Cannot load plugins/MyCommand/config.yml
org.bukkit.configuration.InvalidConfigurationException: unacceptable character '�' (0xFFFD) special characters are not allowed
in "<string>", position 818
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:174)
at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:117)
at me.mri.mycommand.mycommandCommandExecutor.reloadedit(mycommandCommandExecutor.java:46)
at me.mri.mycommand.mycommandCommandExecutor.onCommand(mycommandCommandExecutor.java:62)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479)
at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:475)
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:756)
at net.minecraft.server.RemoteControlSession.run(SourceFile:70)
at java.lang.Thread.run(Thread.java:722)
Caused by: unacceptable character '�' (0xFFFD) special characters are not allowed
in "<string>", position 818
at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70)
at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:52)
... 13 more
2012-05-28 20:31:28 [INFO] [MyCommand] Hooked MyCommand Vault
2012-05-28 20:31:28 [INFO] [MyCommand] Spout not detected.Disabling spout feature.
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line commandsnumber : 20
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line disablepermission : false
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line disabledebugmessage : false
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line signheader
2012-05-28 20:31:28 [INFO] [MyCommand] Commands to Load : 20
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line command 1
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line type 1
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line text 1
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line runcmd 1
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line delaytimer 1
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line command 2
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line type 2
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line text 2
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line runcmd 2
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line delaytimer 2
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line command 3
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line type 3
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line text 3
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line runcmd 3
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line delaytimer 3
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line command 4
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line type 4
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line text 4
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line runcmd 4
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line delaytimer 4
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line command 5
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line type 5
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line text 5
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line runcmd 5
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line delaytimer 5
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line command 6
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line type 6
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line text 6
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line runcmd 6
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line delaytimer 6
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line command 7
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line type 7
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line text 7
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line runcmd 7
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line delaytimer 7
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line command 8
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line type 8
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line text 8
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line runcmd 8
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line delaytimer 8
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line command 9
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line type 9
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line text 9
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line runcmd 9
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line delaytimer 9
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line command 10
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line type 10
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line text 10
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line runcmd 10
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line delaytimer 10
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line command 11
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line type 11
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line text 11
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line runcmd 11
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line delaytimer 11
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line command 12
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line type 12
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line text 12
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line runcmd 12
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line delaytimer 12
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line command 13
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line type 13
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line text 13
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line runcmd 13
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line delaytimer 13
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line command 14
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line type 14
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line text 14
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line runcmd 14
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line delaytimer 14
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line command 15
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line type 15
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line text 15
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line runcmd 15
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line delaytimer 15
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line command 16
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line type 16
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line text 16
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line runcmd 16
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line delaytimer 16
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line command 17
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line type 17
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line text 17
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line runcmd 17
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line delaytimer 17
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line command 18
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line type 18
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line text 18
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line runcmd 18
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line delaytimer 18
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line command 19
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line type 19
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line text 19
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line runcmd 19
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line delaytimer 19
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line command 20
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line type 20
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line text 20
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line runcmd 20
2012-05-28 20:31:28 [INFO] [MyCommand] Created Config line delaytimer 20
2012-05-28 20:31:28 [INFO] [MyCommand] Config Load : Successful!
2012-05-28 20:31:28 [INFO] [MyCommand] v.2.8.1 Active. by MRI a.k.a Ivanpro
CONFIG:
Spoiler: zobrazit
Kód: Vybrat vše
# MyCommand v.2.6 Config File
# - Commandsnumber (default 20) it's number of command you want make- On Command line use Slash like = command: /myhelp
# - type accept = text , runcommand , broadcast-text , runcommand-text , runcommand-broadcast-text , perm-broadcast-text , addpermission , addtimer , runconsole.
# - Additional type accept if you use Spoutplugin= spout-text .
# - If type: runcommand -> command: /li launch runcmd: /list
# - runcmd support custom argument in game.($arg1,$arg2,$arg3,$arg4,$arg5,$multiargs) Set runcmd : /time $arg1
# - For Delayed command add $delay$ before the command in runcmd Example : - $delay$/list
# - Set delay time with delaytimer: 5 (5 = seconds)
commandsnumber: 20
disablepermission: false
disabledebugmessage: false
'1':
command: /odebrani
type: runcommand
text:
- §4 Text of command §a4
runcmd:
- /pex user $arg1 group set Hrac
- /broadcast Hraci $arg1 bylo odebrano $arg2 duvod:$arg3 !
delaytimer: 5
'2':
command: /mycmdsample2
type: text
text:
- §4 Text of command §a2
runcmd:
- /sample
delaytimer: 5
'3':
command: /restart
type: runcommand
text:
- §4 Text of command §a4
runcmd:
- /say Restart za
- $delay$/say 5
- $delay$/say 4
- $delay$/say 3
- $delay$/say 2
- $delay$/say 1
- /save-all
- /kickall restart
- /stop
delaytimer: 1
'4':
command: /mycmdsample4
type: text
text:
- §4 Text of command §a4
runcmd:
- /sample
delaytimer: 5
'5':
command: /mycmdsample5
type: text
text:
- §4 Text of command §a5
runcmd:
- /sample
delaytimer: 5
'6':
command: /autoodebrani
type: runcommand
text:
- §4 Text of command §a4
runcmd:
- /pex user $arg1 group remove $arg2
- /broadcast Hraci $arg1 bylo odebrano $arg2 duvod:$arg3 !
delaytimer: 5
'7':
command: /mycmdsample7
type: text
text:
- §4 Text of command §a7
runcmd:
- /sample
delaytimer: 5
'8':
command: /mycmdsample8
type: text
text:
- §4 Text of command §a8
runcmd:
- /sample
delaytimer: 5
'9':
command: /mycmdsample9
type: text
text:
- §4 Text of command §a9
runcmd:
- /sample
delaytimer: 5
'10':
command: /mycmdsample10
type: text
text:
- §4 Text of command §a10
runcmd:
- /sample
delaytimer: 5
'11':
command: /mycmdsample11
type: text
text:
- §4 Text of command §a11
runcmd:
- /sample
delaytimer: 5
'12':
command: /mycmdsample12
type: text
text:
- §4 Text of command §a12
runcmd:
- /sample
delaytimer: 5
'13':
command: /mycmdsample13
type: text
text:
- §4 Text of command §a13
runcmd:
- /sample
delaytimer: 5
'14':
command: /mycmdsample14
type: text
text:
- §4 Text of command §a14
runcmd:
- /sample
delaytimer: 5
'15':
command: /mycmdsample15
type: text
text:
- §4 Text of command §a15
runcmd:
- /sample
delaytimer: 5
'16':
command: /mycmdsample16
type: text
text:
- §4 Text of command §a16
runcmd:
- /sample
delaytimer: 5
'17':
command: /mycmdsample17
type: text
text:
- §4 Text of command §a17
runcmd:
- /sample
delaytimer: 5
'18':
command: /mycmdsample18
type: text
text:
- §4 Text of command §a18
runcmd:
- /sample
delaytimer: 5
'19':
command: /mycmdsample19
type: text
text:
- §4 Text of command §a19
runcmd:
- /sample
delaytimer: 5
'20':
command: /mycmdsample20
type: text
text:
- §4 Text of command §a20
runcmd:
- /sample
delaytimer: 5
options:
commandsnumber: 20
disablepermission: false
disabledebugmessage: false
signheader: '[MYCMD]'