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] z pluginem MyCommand


Rekomendowane odpowiedzi

Opublikowano

Witam , mam problem z pluginem MyCommand , polega on na tym , że plugin czyta wlasne komendy , ale po wpisaniu np. komendy /regulamin wyskakuje błąd , że takiej komendy niema :/ Wie ktoś w czym siedzi problem ?

 

 

 

 

 

 

 

plik command.yml :

 

# 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 , iconmenu , scoreboard
# 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,you also can change the permission error message with "permission-error:"
# Custom error-message for invalid args ,put "error-message:" line in a command.
# You can use itemcost : 'ID:AMOUNT' for set a cost with items.
options:
commandsnumber: 6
'1':
command: /itemshop
type: text
text:
- 'Zapraszamy do naszego ITEMSHOP-u www.rcf-is.pl.tl'
cost: 0
delaytimer: 5
'2':
command: /vip
type: text
text:
- 'Koszt VIP - 7.38 SMS'
- 'VIP posiada :'
- 'komendy: /heal, /fly, /back, /kit vip.'
cost: 0
delaytimer: 5
'3':
command: /drop
type: text
text:
- 'Diamenty - Kilof: Zloty, Diamentowy, Zelazny. Szansa: 10%'
- 'Zelazo - Kilof: Wszystkie. Szansa: 50%'
- 'Zloto - Kilof: Wszystkie. Szansa: 50%'
- 'Wegiel - Kilof: Wszystkie. Szansa 70%'
- 'Lapis - Kilof: Wszystkie. Szansa 35%'
- 'Redstone - Kilof: Wszystkie. Szansa 40%'
- 'Emerald - Kilof: Zloty, Diamentowy, Zelazny. Szansa: 20%'
cost: 0
delaytimer: 5
'4':
command: /eq
type: runcommand
runcmd:
- '/kit start'
cost: 0
delaytimer: 5
'5':
command: /konto
type: runcommand
runcmd:
- /balance
cost: 0
delaytimer: 5
'6':
command: /regulamin
type: text
text:
- '1.Nie uzywamy wspomagaczy do gry. (Xray, flyhack itp.)'
- '2.Nie reklamujemy for i serwerow Minecrafta.'
- '3.Nie obrazamy graczy na serwerze.'
- '4.Nie utrudniamy gry graczom na serwerze.'
- '5.Nie spamujemy na czacie glownym.'
- '6.Nie zadajemy adminom pytan typu "Admin dasz..." etc.'
- '7.Sluchamy polecen administracji. (W miare rozsadku)'
cost: 0
delaytimer: 5
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
disableextralistener: 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:
- LEVER
- STONE_BUTTON
- WOODEN_BUTTON
- WOODEN_DOOR
- DETECTOR_RAIL
physicalinteraction:
- STONE_PLATE
- WOODEN_PLATE

 

 

Opublikowano

Najprawdopodobniej plugin się zbugował, często miałem takie psikusy jak pisałem komendy, polecam zamiane na plugin Skript poprostu. A jesli chcesz zostac przy MyCmd to zrob poprostu od wszystkie komendy bądź usuń linijke z kodem /regulamin, i zrob ja od nowa. Mam nadzieje ze pomoglem

HoopDead_eune_10_4_logo.png

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...