Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem]MyCommand


Rekomendowane odpowiedzi

Opublikowano

Siemka zrobiłem sb mycommand ale mi nie działa wgl;C

 

tu macie config:
#MyCommand Plugin Config File
#Disable - minecartevent it's used for detectorrail. moveevent it's used for warmups.
options:
disablepermission: false
disabledebugmessage: true
disabledebugmessageconsole: false
disableconsolesupport: false
disableminecartevent: true
disablemoveevent: true
signheader: '[MYCMD]'
#This worlds in will be ignored by MyCommand.
ignoredworlds:
active: false
list:
- world
- world_nether
#Economy require vault plugin.
economy:
allowdebit: false
#Scheduler Options launchonstartin(sec) d M yyyy = 31 12 2013
scheduler:
active: false
dateformat: 'd M yyyy'
launchonstartin: 60
launchcheckoneveryNmin: 60
#Blockset valid for any blockset supported block and sign.Put 0 for disable.
blockset:
delay: 5
#Items ID.28(DetectorRail require disableminecartevent: true)
items:
rightclickinteraction:
- 69
- 77
- 143
- 64
- 28
physicalinteraction:
- 70
- 72
#Language Strings.
language:
prefix: '[MyCmd]'
timer1: ' The command will be performed in : '
timer2: ' You have bypassed the timer'
economy1: ' This command cost %s New Balance %s'
economy2: ' You need %s$ for run this command.'
execute: ' Execute: '
args1: 'No Args...Please use :'
args2: '-> Output Commands :'
item1: ' There are no Command on Items'
perm1: ' Ops,check your permissions.'
sign1: ' Sign Removed!.'
sign2: All line it's empty.
block1: ' Block Removed!.'
spout1: ' No Spoutcraft client found'
blockset1: 'You must wait %s sec for re-use this'
 

 



W razie czego podaje jeszcze commands:

 

# MyCommand  Commands Config File
# commandsnumber (default 20) it's number of command you want make
# Don't forget the '/' on runcmd line , example command: /myhelp
# type accept = text , runcommand , broadcast-text , runcommand-text , runcommand-broadcast-text , perm-broadcast-text , addpermission , addtimer , runconsole , runcommand-perm-broadcast-text , runcommand-random , runasoperator
# Additional type accept if you use Spoutplugin = spout-text , spout-notification.\n" +
# runcommand type example -> If command: /l and runcmd: /list,when you type /l mycommand execute /list
# runcmd support custom argument in game.($arg1,$arg2,$arg3,$arg4,$arg5,$multiargs) Example - runcmd : /time $arg1
# For Delayed command add $delay$ before the command in runcmd Example : - $delay$/list
# Set delay time with delaytimer: 5 (5 = seconds)
# Use the dot . for decimal cost Example = cost : 5.5
# You can use a custom permission node by placing "permission-node:" field in a command.
# Custom error-message for invalid args ,put "error-message:" line in a command.
# http://dev.bukkit.org/server-mods/mycommand/pages/configuration-and-example
options:
  commandsnumber: 20
'1':
  command: /Dzien
  type: runcommand
  text:
  - 'Ustawiles Dzien!'  
  runcmd:
  - /time day
'2':
  command: /Noc
  type: runcommand
  text:
  - 'Ustawiles Noc!'
  runcmd:
  - /time night
'3':
  command: /Zestaw
  type: runcommand
  runcmd:
  - /kit
'4':
  command: /Burza
  type: runcommand
  text:
  - 'Stworzyles Burze!'
  runcmd:
  - /weather storm
'5':
  command: /Slonce
  type: runcommand
  text:
  - 'Ustawiles bez chmurna pogode!'
  runcmd:
  - /weather sunny
'6':
  command: /Zaloguj
  type: runcommand
  runcmd:
  - /login
'7':
  command: /Zarejestruj
  type: runcommand
  runcmd:
  - /register
'8':
  command: /ZmienHaslo
  type: runcommand
  runcmd:
  - /changepassword
'9':
  command: /mycmd-addtimer
  type: text
  text:
  - '$gold Put your command over /mycmd-addtimer'
  - '$gold And change type : from text to addtimer'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'10':
  command: /mycmd-addpermission
  type: text
  text:
  - '$gold Put your command over /mycmd-addpermission'
  - '$gold And change type : from text to addpermission'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'11':
  command: /mycmd-textargs
  type: text
  text:
  - 'Player Name : $player'
  - 'World : $world'
  - 'Health : $health Food : $food'
  - 'Exp : $exp Level : $level'
  - 'Gamemode : $gamemode'
  - 'LastDamage : $lastdamage'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'12':
  command: /mycmd-online
  type: text
  text:
  - '$red There are $online players online.'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'13':
  command: /mycmd-clearchat
  type: broadcast-text
  text:
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'14':
  command: /mycmd-shortcut
  type: runcommand
  text:
  - '$red Text of command $black14'
  runcmd:
  - '/say $multiargs'
  cost: 0
  delaytimer: 5
'15':
  command: /mycmd-random
  type: runcommand-random
  text:
  - '$red Text of command $black15'
  runcmd:
  - '/say 1 $multiargs'
  - '/say 2 $multiargs'
  - '/say 3 $multiargs'
  cost: 0
  delaytimer: 5
'16':
  command: /mycmd-help 2
  type: text
  text:
  - '$brightgreen ---- MyCommand Help Page Two ---'
  - '$gold Test Help 2'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'17':
  command: /mycmd-help 1
  type: text
  text:
  - '$brightgreen ---- MyCommand Help Page One ---'
  - '$gold Test Help 1'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'18':
  command: /mycmd-help
  type: text
  text:
  - '$brightgreen ---- MyCommand Help Main Page---'
  - '$gold Test Help '
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'19':
  command: /scriptexample
  type: text
  text:
  - 'Example'
  runcmd:
  - '$Script$HasPermission==custompermission.test'
  - '$Script$SetInteger=1'
  - '$Script$Integer==1'
  - '$Script$SetString=ciao'
  - '$Script$String!=lol'
  - '$Script$Integer>10'
  - '/dosomething'
  cost: 0
  delaytimer: 5
'20':
  command: /mycmdsample20
  type: text
  text:
  - '$red Text of command $black20'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
 

 

 

 

EDIT--

 

Na żądanie dodałem config do code

 

DRUGI EDIT--

-,-

b1427b380f6a1da2.png5623214702585481002474.gif

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...