MyCommand znova

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
Uživatelský avatar
Welton123
Příspěvky: 2388
Registrován: 08 úno 2012, 17:54
Reputation: 0
Kontaktovat uživatele:

MyCommand znova

#1 Příspěvekod Welton123 » 28 kvě 2012, 20:33

PODPIS


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]'
CZ/SK TOP Databáze MineCraft Serverů ►KLIK◄
Chceš i Ty mít měnící se podpis? ►KLIK◄

Uživatelský avatar
Welton123
Příspěvky: 2388
Registrován: 08 úno 2012, 17:54
Reputation: 0
Kontaktovat uživatele:

Re: MyCommand znova

#2 Příspěvekod Welton123 » 28 kvě 2012, 21:21

Refresh, nevim co mam delatm :-( kdyz tam pridam treba jen jeden prikaz porad to prepise na default :(
CZ/SK TOP Databáze MineCraft Serverů ►KLIK◄
Chceš i Ty mít měnící se podpis? ►KLIK◄

Mates.Mn
Příspěvky: 56
Registrován: 25 bře 2012, 19:17
Reputation: 0

Re: MyCommand znova

#3 Příspěvekod Mates.Mn » 28 kvě 2012, 21:59

Welton123 píše:Refresh, nevim co mam delatm :-( kdyz tam pridam treba jen jeden prikaz porad to prepise na default :(

neco podobnyho se mi děje s money drop ... taky se mi ten config přepisuje na default ... proc to sakra nejde ??
Obrázek

Uživatelský avatar
TheKrysa
Příspěvky: 300
Registrován: 28 srp 2011, 20:06
Reputation: 0
Kontaktovat uživatele:

Re: MyCommand znova

#4 Příspěvekod TheKrysa » 29 kvě 2012, 07:10

To je i u AdminCMD
ObrázekObrázekObrázek
Obrázek

Uživatelský avatar
Sejsel
Příspěvky: 4131
Registrován: 19 čer 2011, 09:43
Reputation: 0
Bydliště: /home/sejsel/
Kontaktovat uživatele:

Re: MyCommand znova

#5 Příspěvekod Sejsel » 29 kvě 2012, 07:15

U změn barev máš trochu pošahané znaky...

Kód: Vybrat vše

  - §4 Text of command §a2
01101110011101010110001001110111

Uživatelský avatar
Welton123
Příspěvky: 2388
Registrován: 08 úno 2012, 17:54
Reputation: 0
Kontaktovat uživatele:

Re: MyCommand znova

#6 Příspěvekod Welton123 » 29 kvě 2012, 09:50

Ty tam byli defaultne ty znaky, muzete LOCK vyresil jsem to, cele jsou to rucne bez kopirovani prepsal a uz to jde. :-)
CZ/SK TOP Databáze MineCraft Serverů ►KLIK◄
Chceš i Ty mít měnící se podpis? ►KLIK◄


Zpět na „Minecraft, Tekkit“

Kdo je online

Uživatelé prohlížející si toto fórum: Google [Bot] a 60 hostů