Skocz do zawartości


Zdjęcie

mycommand nie działa


  • Zaloguj się, aby dodać odpowiedź
5 odpowiedzi w tym temacie

#1 w00

w00

    biceps is always with you

  • Użytkownik+
  • 127 postów
  • w00

Napisano 06 May 2018 - 15:57

Hej, skonfigurowałem poprawnie mycommand, komendy normalnie ładują się i są na liscie /mycmd list lecz pomimo tego i tak nie dzialaja. Wyskakuje, ze nie ma takiej komendy.


PRYWATNE WIADOMOŚCI

       ● Przy wysyłaniu PW trzymaj się JEDNEJ konwersacji na dany temat.

       ● Proszę nie wysyłać po setki PW w jednej sprawie.

 
KONTAKTUJĄC SIĘ ZE MNĄ

        Nie odpisuję na "siema, jesteś ?" itp.

        Staraj się używać polskich znaków, chociaż nawet ja popełniam czasem błędy. Nie jestem kryptologiem i nie będę łamać Twojego 'szyfru'.

        Może wymagam aż za dużo ale gdy będziesz większy na pewno mnie zrozumiesz.


craftportal

Craftserve to największy i najlepszy polski hosting serwerów Minecraft, jest solidny i tani więc go polecam

#2 Katniss

Katniss

    Twórca "Mrocznej klątwy"

  • Senior Moderator
  • 2947 postów
  • Katniss#2260
  • Katniss

Napisano 06 May 2018 - 16:01

skonfigurowałem poprawnie mycommand,                         nie dzialaja.

Skoro nie działa, to chyba nie jest poprawnie ;)

 

@Topic

 

Podaj config tych komend, coś się wymyśli.


Mapa Adventure mojego autorstwa - "Mroczna klątwa" v2.1 (Na wersję MC 1.13.2)
Questy, NPC, niestandardowe przedmioty, bossy, amulety, modele 3D, mana i wiele więcej! BEZ MODÓW!
 

Siege Settlements - coś lepszego niż typowy RTS - https://www.reddit.c...egeSettlements/


#3 w00

w00

    biceps is always with you

  • Użytkownik+
  • 127 postów
  • w00

Napisano 06 May 2018 - 16:02

Skoro nie działa, to chyba nie jest poprawnie ;)

 

@Topic

 

Podaj config tych komend, coś się wymyśli.

Zaufaj mi, pracowałem już na mycmd wiele razy, komendy są skonfigurowane poprawnie.
 
 
#-----------------------------------------------------------------------------------------------------------#
#   MyCommand Commands config file (last update v5.3.0) #
# #
#  BukkitDev Help page :

By zobaczyć linki musisz się zalogować lub zarejestrować

  #
# #
# How to make a command : (See an example command below) #
# For first, put your command name on first line  #
# Now put your command_line name after the "command:" line. Don't forget the '/' before your command. #
# So, now select your command type from a predefined list putting it after "type" line #
# COMMAND TYPE LIST : #
# TEXT , ALIAS , RUN_COMMAND , BROADCAST_TEXT , RUN_COMMAND_TEXT , RUN_COMMAND_BROADCAST_TEXT #
# ADD_PERMISSION , WARMUP , COOLDOWN , RUN_CONSOLE , RUN_CONSOLE_RANDOM , SPOUT_TEXT #
#       RUN_COMMAND_RANDOM , RUN_ASOPERATOR , ICON_MENU , SCOREBOARD , BUNGEE_TP , SPOUT_NOTIFICATION #
# BAR_API_TEXT , BAR_API_BROADCAST_TEXT , CALL_URL, TITLE, BROADCAST_TITLE, ACTION_BAR #
# #
# If your command is "TEXT" type, you can put multiple line of text below this parameter #
# You can do the same thing with the "RUNCOMMAND" type, but instead of text, puts commands in this list #
# For delayed command(s) add $delay$ before the command in runcmd Example : - $delay$/list #
# Set delay time with delaytimer: 5 (5 = seconds) | #
#   If you are using the Vault plugin, you can put the "cost: 123.0" with this line. #
# You can customize your permission node by placing "permission-node:" field in a command #
# Also,you 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. #
#   Register REAL commands putting "register: true" below the command.      #
#   With register commands you can use the "tab_completer: - Hi - Hello!" #
#   For Scripts and more features, find more on the bukkitdev page #
#-----------------------------------------------------------------------------------------------------------#
gamemode_alias:
  command: /gm
  type: ALIAS
  alias: /gamemode
  permission-required: true
simple_dice:
  command: /mycmd-dice
  type: TEXT
  text:
  - '&0[&6Dice&0] &eYou got &6$rnd6 !'
  permission-required: true
  permission-node: mycommand.cmd.dice
  permission-error: "&a$player! , &2You can't use this command!"
tab_completer:
  command: /greets 
  type: RUN_COMMAND
  runcmd:
  - '$broadcasttext$&0[&e$player&0]&r $multiargs'
  required_args: 1
  register: true
  tab_completer:
  - Hi
  - Hello!
  - Well Met!
shortcut:
  command: /l
  type: RUN_COMMAND
  runcmd:
  - '/list'
  cost: 0
mycmd_colors:
  command: /mycmd-colors
  type: TEXT
  text:
  - "&11 &22 &33 &44 &55 &66 &77 &88 &99 &00 &aa &bb &cc &dd &ee &ff"
  - "&nn&r &mm&r &ll&r & oO&r $random_color :D"
  permission-required: false
shortcut_with_arguments:
  command: /t
  type: RUN_COMMAND
  runcmd:
  - '/time $arg1 $arg2'
  cost: 0
  error-message: '&cType &e/t set day'
  require_all_arguments: true
delay_example:
  command: /mycmd-countdown
  type: RUN_COMMAND
  runcmd:
  - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color3..'
  - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color2..'
  - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color1..'
  - '$delay$$broadcasttext$&0[&eCountdown&0] &eGO!!'
  cost: 0
  delaytimer: 1
  delaytimer_format: SECONDS
broadcast_example:
  command: /mycmd-broadcast
  type: BROADCAST_TEXT
  text:
  - '&0[&e$player&0]&r $multiargs'
  required_args: 1
run_by_console:
  command: /mycmd-runconsole
  type: RUN_CONSOLE
  runcmd:
  - /say This /say it's performed by the console.
  cost: 0
warmups_cooldowns_info:
  command: /warmupsandcooldowns
  type: TEXT
  text:
  - 'Put your command over /warmupsandcooldowns'
  - 'And change type : from text to WARMUP for Warmups and COOLDOWN for Cooldowns'
  - 'adjust the warmup and cooldowns time with delaytimer'
  delaytimer: 5
add_permission:
  command: /command-to-override
  type: ADD_PERMISSION
  text:
  - '$6Add an extra permission to another existing command'
  permission-node: permission.name
  cost: 0
some_placeholders:
  command: /mycmd-playerinfo
  type: TEXT
  text:
  - '&2Player name : &a$player'
  - '&2World : &a$world'
  - '&2Health : &a$health &2Food : &a$food'
  - '&2Exp : &a$exp &2Level : &a$level'
  - '&2Gamemode : &a$gamemode'
  - '&2LastDamage : &a$lastdamage'
mycmd_list_command:
  command: /mycmd-online
  type: TEXT
  text:
  - '&2There are &a$online &2players online.'
  - '&a $ponline'
clear_chat:
  command: /clearchat
  type: BROADCAST_TEXT
  text:
  - '%Repeat%100% '
  - '&0[&eMyCommand&0]&b Chat clared :D'
shortcut_with_multiargs:
  command: /mycmd-shortcut
  type: RUN_COMMAND
  runcmd:
  - '/say $multiargs'
random_example:
  command: /rockpaperscissors
  type: RUN_COMMAND_RANDOM
  runcmd:
  - '/me Rock!'
  - '/me Paper!'
  - '/me Scissors!'
iconmenu_page1:
  command: /iconmenu
  type: ICON_MENU
  text:
  - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
  - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
  iconmenu_title: '&cMyCommand &4ItemMenu'
  iconmenu_size: 27
  iconmenu_commands:
  - '0:GOLDEN_APPLE:0:/help:&2Help:&aOpen the help menu'
  - '1:COMPASS;DAMAGE_ALL;1:0:/mycmd:Menu:MyCommand menu'
  - '9:EMERALD:0:/list:Player List:&bShow online players'
  - '10:WATCH:0:/time set 0:Day:Turn day'
  - '26:WOOL:11:%openiconmenu%/iconmenu2:Next Page:&cChange IconMenu Page;&a--------->'
  cost: 0
  delaytimer: 5
iconmenu_page2:
  command: /iconmenu2
  type: ICON_MENU
  iconmenu_title: 'Page 2'
  iconmenu_size: 9
  iconmenu_commands:
  - '0:GOLDEN_APPLE:0:Do something:Hello!:=)'
  - '8:WOOL:13:%openiconmenu%/iconmenu:Return Back:&cChange IconMenu Page;&a<---------'
  cost: 0
  delaytimer: 5
help_page_0:
  command: /mycmd-help
  type: TEXT
  text:
  - '&a ---- &6MyCommand Help &eMain Page &a----'
  - '&e This is the Main page of the help '
  - '&e Type &6/mycmd-help 2 &efor see the second page'
help_page_1:
  command: /mycmd-help 2
  type: TEXT
  text:
  - '&a ---- &6MyCommand Help &ePage two &a----'
  - '&e And this is the page two of the help'
itemcost_example:
  command: /itemcostexample
  type: TEXT
  text:
  - '$random_colorYou have spent 5 Cobblestone for see this message.'
  itemcost: 'COBBLESTONE:5'
scoreboard_example:
  command: /sbexample
  type: SCOREBOARD
  text:
  - The Scoreboard will get removed after DelayTimer(sec). If 0 don't remove
  - Use $marquee$ as a prefix of the scoreboard name for scroll the text.
  - Use scoreboard_refresh_ticks, for determinate how frequent the plugin have to update the scoreboard.
  scoreboard_name: "$marquee$&1M&2y&3C&4o&5m&6m&7a&8n&9d &aS&bc&co&dr&ee&fb&0o&1a&2r&3d &nExample&r "
  scoreboard_text:
  - "4;&c&lCoordinates:"
  - "3;&6X:&e $locX &6Y:&e $locY &6Z:&e $locZ "
  - "2;&c&lPlayer Info:"
  - "1;&6Health: &e$health"
  - "0;&6Food: &e$food"
  scoreboard_refresh_ticks: 5
  delaytimer: 10
bungeecord_example:
  command: /bungeetest
  type: BUNGEE_TP
  server_name: hub
allowed_worlds_example:
  command: /onlynether
  type: TEXT
  text:
  - "&cYea,The Nether!"
  allowed_worlds:
  - world_nether
per_world_commands:
  command: /perworldcommand
  type: RUN_COMMAND
  runcmd:
  - "$world=%world%/me This command will be performed only if you are in the world"
  - "$world=%world_nether%/me And this only if you are in the nether"
  permission-required: false
executefor_example:
  command: /executeforall
  type: RUN_CONSOLE
  executefor: ONLINE_PLAYERS
  runcmd:
  - "/tp $player 0 64 0"
  permission-required: false
ouch:
  command: /ouch
  type: RUN_COMMAND
  runcmd:
  - '%PlayerOptions%damage: 1'
  - '$text$&c<3'
  permission-required: false
heal_me:
  command: /mycmd-heal
  type: RUN_COMMAND
  runcmd:
  - '%PlayerOptions%setHealth: 20'
  - '%PlayerOptions%setFoodLevel: 20'
  - '%PlayerOptions%sendMessage: &aHealed!'
  permission-required: false
world_guard_example:
  command: /checkregion
  type: TEXT
  text:
  - 'You are in $wgregionname region!'
  allowed_wg_region:
  - 'region_name_here'
custom_cmd_cooldown:
  command: /cooldown-example
  type: TEXT
  text:
  - '&aBla bla bla, type the command again for see the cooldown effect.'
  cooldown: 5
custom_cmd_warmup:
  command: /warmup-example
  type: TEXT
  text:
  - '&aYou have waited 5 second for see this command performed'
  warmup: 5
call_url:
  command: /call-url
  type: CALL_URL
  url: '

By zobaczyć linki musisz się zalogować lub zarejestrować

  get_output : true
  show_output_ingame : true
  save_output_as : httpResponse
script_example_420:
  command: /example420
  type: RUN_COMMAND
  runcmd:
  - $Script$%if%$arg1==password
  - $text$&eRight!
  - $Script$%if%$arg1==420
  - $text$&aBLAZE IT
  - $Script$%else%
  - $text$Password not correct
bar_text:
  command: /bar_example
  type: BAR_API_TEXT
  text:
  - '&aHello $random_color$player'
  bar_seconds: 5
  bar_percentage: 8
  bar_style: SEGMENTED_20
  bar_flag: DARKEN_SKY
  bar_color: PINK
rawmessage_example:
  command: /raw-example
  type: RAW_TEXT
  text:
  - '&aHello &b$player! &aHover your mouse over me!; &dMAGIC'
  - '&0[&d*&0]&e Click me; &eClick Here for suggest the command &d/mycmd;/mycmd'
  - '$RUN_COMMAND$&0[&e*&0]&c Set the time to day; &eClick for Execute;/time set day'
  - '$OPEN_URL$&0[&e*&0]$random_color Open Google.com; &eClick for open;

By zobaczyć linki musisz się zalogować lub zarejestrować

lottery_example:
  command: /lottery_example
  type: RUN_COMMAND
  runcmd:
  - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  - '$text$&6Welcome to &eMyCommand &6Lottery!'
  - '$delay$'
  - '$text$&b+------------------------------------'
  - '$text$&b| &2Prize of today :'
  - '$text$&b| &aCOBBLESTONE, BREAD, APPLE, GOLD_INGOT or DIAMOND! '
  - '$text$&b+------------------------------------'
  - '$text$&ePlease wait for the results!'
  - '$delay$$delay$$delay$'
  - '$delay$$text$&0[$random_colorLottery&0] &65...'
  - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  - '$delay$$text$&0[$random_colorLottery&0] &64...'
  - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  - '$delay$$text$&0[$random_colorLottery&0] &63...'
  - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  - '$delay$$text$&0[$random_colorLottery&0] &62...'
  - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  - '$delay$$text$&0[$random_colorLottery&0] &61...'
  - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  - '$delay$'
  - '%PlayerOptions%playSound: ENTITY_EXPERIENCE_ORB_PICKUP:1.0F:1'
  - '$Script$%PlayerData%lotteryprize=$GetRandomStringFromList%COBBLESTONE;DIAMOND;GOLD_INGOT;BREAD;APPLE%'
  - '$Script$%PlayerData%amount_lotteryprize=$randomnumber%3%'
  - '$delay$'
  - '$text$&b+------------------------------------'
  - '$text$&b| &6Congratulation! You won : &e $PlayerData%amount_lotteryprize% $PlayerData%lotteryprize%! ' 
  - '$text$&b+------------------------------------'
  - '%PlayerOptions%addItem: $PlayerData%lotteryprize%:$PlayerData%amount_lotteryprize%'
  delaytimer: 1
dailybonus:
  command: /dailybonus
  type: RUN_COMMAND
  runcmd:
  - "$Script$%if%$todaydate!=$PlayerData%DailyBonus%"
  - "$text$&0[&6Daily&eBonus&0]&b Hello $player! Here, your daily reward!"
  - "$text$&0[&6Daily&eBonus&0]&b Received &a1 DIAMOND!"
  - "%PlayerOptions%addItem: DIAMOND:1"
  - "$Script$%PlayerData%DailyBonus=$todaydate"
  - "$text$&0[&6Daily&eBonus&0]&b Come back tomorrow!"
  - "$Script$%else%"
  - "$text$&0[&6Daily&eBonus&0]&b That's enough for today! Come back tomorrow!"
  permission-required: false
broadcast_message_with_perm:
  command: /brmsgwithperm
  type: BROADCAST_TEXT
  text:
  - "Only the player with the correct permission can see this message"
  broadcast_message_permission_node: permission.for.see.this.message
  
'OX - TAK':
  command: /tak
  type: runcommand
  runcmd:
  - /rg select biale
  - $delay$/broadcast Biale pole zniknie za 10 sekund!
  - $delay$/broadcast Biale pole zniknie za 9 sekund!
  - $delay$/broadcast Biale pole zniknie za 8 sekund!
  - $delay$/broadcast Biale pole zniknie za 7 sekund!
  - $delay$/broadcast Biale pole zniknie za 6 sekund!
  - $delay$/broadcast Biale pole zniknie za 5 sekund!
  - $delay$/broadcast Biale pole zniknie za 4 sekundy!
  - $delay$/broadcast Biale pole zniknie za 3 sekundy!
  - $delay$/broadcast Biale pole zniknie za 2 sekundy!
  - $delay$/broadcast Biale pole zniknie za 1 sekunde!
  - $delay$//set 0
  - $delay$/bcast Poprawna odpowiedz to TAK!
  - $delay$
  - $delay$/rg select nie
  - $delay$//set 0
  - $delay$
  - $delay$/rg select biale
  - $delay$//set wool
  - $delay$/rg select nie
  - $delay$//set wool:red
  cost: 0
  delaytimer: 1
'OX - NIE':
  command: /nie
  type: runcommand
  runcmd:
  - /rg select biale
  - $delay$/broadcast Biale pole zniknie za 10 sekund!
  - $delay$/broadcast Biale pole zniknie za 9 sekund!
  - $delay$/broadcast Biale pole zniknie za 8 sekund!
  - $delay$/broadcast Biale pole zniknie za 7 sekund!
  - $delay$/broadcast Biale pole zniknie za 6 sekund!
  - $delay$/broadcast Biale pole zniknie za 5 sekund!
  - $delay$/broadcast Biale pole zniknie za 4 sekundy!
  - $delay$/broadcast Biale pole zniknie za 3 sekundy!
  - $delay$/broadcast Biale pole zniknie za 2 sekundy!
  - $delay$/broadcast Biale pole zniknie za 1 sekunde!
  - $delay$//set 0
  - $delay$/bcast Poprawna odpowiedz to NIE!
  - $delay$
  - $delay$/rg select tak
  - $delay$//set 0
  - $delay$
  - $delay$/rg select biale
  - $delay$//set wool
  - $delay$/rg select tak
  - $delay$//set 35:5
  cost: 0
  delaytimer: 1
'OX - start':
  command: /start
  type: runcommand
  runcmd:
  - /rg select widz
  - $delay$/broadcast Podłoga zniknie za  3 sekundy!
  - $delay$/broadcast Podłoga zniknie za  2 sekundy!
  - $delay$/broadcast Podłoga zniknie za  1 sekunde!
  - $delay$//set 0
  - $delay$
  - $delay$//set 20
  - $delay$/broadcast !@!     ZACZYNAMY     !@!
  cost: 0
  delaytimer: 1
'OX - RELOAD':
  command: /oxreload
  type: runcommand
  runcmd:
  - $delay$/rg select biale
  - $delay$//set wool
  - $delay$/rg select tak
  - $delay$//set 35:5
  - $delay$/rg select nie
  - $delay$//set wool:red
  cost: 0
  delaytimer: 1
  permission-required: false
'OX - WARP':
  command: /ox
  type: runcommand
  runcmd:
  - /warp ox
  cost: 0
  delaytimer: 0
  permission-required: false

Użytkownik w00 edytował ten post 06 May 2018 - 16:06

PRYWATNE WIADOMOŚCI

       ● Przy wysyłaniu PW trzymaj się JEDNEJ konwersacji na dany temat.

       ● Proszę nie wysyłać po setki PW w jednej sprawie.

 
KONTAKTUJĄC SIĘ ZE MNĄ

        Nie odpisuję na "siema, jesteś ?" itp.

        Staraj się używać polskich znaków, chociaż nawet ja popełniam czasem błędy. Nie jestem kryptologiem i nie będę łamać Twojego 'szyfru'.

        Może wymagam aż za dużo ale gdy będziesz większy na pewno mnie zrozumiesz.


#4 Nupp_

Nupp_

    MinecraftSklep.PL - Najtańsze Premki!

  • Użytkownik+
  • 324 postów
  • Nupp_#0802
  • Nupp_
  • ehe

Napisano 06 May 2018 - 17:03

Heh. Strzelam że chodzi o "permission-required: true". Dałeś permisje?



#5 w00

w00

    biceps is always with you

  • Użytkownik+
  • 127 postów
  • w00

Napisano 06 May 2018 - 18:50

Heh. Strzelam że chodzi o "permission-required: true". Dałeś permisje?

Mając operatora musze rowniez dac permisje?


PRYWATNE WIADOMOŚCI

       ● Przy wysyłaniu PW trzymaj się JEDNEJ konwersacji na dany temat.

       ● Proszę nie wysyłać po setki PW w jednej sprawie.

 
KONTAKTUJĄC SIĘ ZE MNĄ

        Nie odpisuję na "siema, jesteś ?" itp.

        Staraj się używać polskich znaków, chociaż nawet ja popełniam czasem błędy. Nie jestem kryptologiem i nie będę łamać Twojego 'szyfru'.

        Może wymagam aż za dużo ale gdy będziesz większy na pewno mnie zrozumiesz.


#6 M1Chh4l

M1Chh4l

    Nowy

  • Użytkownik
  • 56 postów
  • Michał

Napisano 20 May 2018 - 23:56

Daj pomiędzy komendami spacje, jeżeli będziesz dalej miał problemy zgłoś się do mnie na pw.