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 - Uprawnienia


Rekomendowane odpowiedzi

Opublikowano

Witam posiadam na serwerze plugin mycommand. Wszystko niby pieknie dziala :) Ale gracze niemoga wpisywac komend tych co mam w mycommand. Daje swoje configi

groups:
  Zalozyciel:
    default: false
    prefix: '&b&lZalozyciel &4'
    permissions:
    - '*'
  Technik:
    default: false
    prefix: '&6&lTechnik &9'
    permissions:
    - '*'
  Admin:
    default: false
    prefix: '&5&lAdmin &e'
    permissions:
    - essentials.fly
    - essentials.god
    - essentials.afk
    inheritance:
    - Moderator
  Vip:
    default: false
    prefix: '&e&lVIP &7'
    permissions:
    - essentials.repair
    - buttonpromote.use
    - essentials.sethome
    - essentials.repair.enchanted
    - multiverse.portal.access.VIP1
    - multiverse.portal.access.VIP12
    - essentials.repair
    - essentials.kit.*
    - multiverse.portal.access.
    - multiverse.access.creatif
    - multiverse.access.world
    - multiverse.access.world_nether
    - multiverse.access.world_the_end
    - essentials.kits.vip
    - essentials.kit
    - essentials.home
    - essentials.afk.kickexempt
    - essentials.back
    - essentials.kit.vip
    - blockhat.hat
    - repair.fix
    - craftbook.mech.light-switch
    - factions.tag
    - factions.show
    inheritance:
    - Gracz
    options:
      build: true
  Gracz:
    default: true
    prefix: '&8&lGracz &7'
    permissions:
    - mycommand.cmd.all
    - essentials.help
    - essentials.tpa
    - essentials.tpaccept
    - essentials.tpahere
    - essentials.tpdeny
    - essentials.afk
    - essentials.balance
    - essentials.balance.others
    - essentials.balancetop
    - essentials.home
    - essentials.kit.start
    - authme.register
    - authme.login
    - authme.logout
    - authme.changepassword
    - essentials.tpa
    - essentials.me
    - essentials.msg
    - RandomPlacer.use
    - essentials.spawn
    - essentials.buy
    - essentials.motd
    - essentials.list
    - essentials.helpop
    - essentials.tpaccept
    - essentials.tpahere
    - essentials.tpdeny
    - essentials.afk
    - essentials.balance
    - essentials.balance.others
    - essentials.balancetop
    - essentials.home
    - essentials.kit.start
    - authme.register
    - authme.login
    - authme.logout
    - authme.changepassword
    - essentials.tpa
    - essentials.me
    - essentials.msg
    - RandomPlacer.use
    - essentials.spawn
    - essentials.signs.use.buy
    - essentials.motd
    - essentials.list
    - essentials.helpop

Oraz mycommand

'gamemode_alias':
  command: /gm
  type: ALIAS
  alias: /gamemode
  permission-required: true
'simple_dice':
  command: /mycmd-dice
  type: TEXT
  text:
  - '$red You got $darkgreen$rnd6 !'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
  permission-node: customperm.custom
'tab_completer':
  command: /greets 
  type: RUN_COMMAND
  runcmd:
  - /say $arg1
  registered: true
  tab_completer:
  - Hi
  - Hello!
'shortcut':
  command: /mycmd-runcommand
  type: RUNCOMMAND
  runcmd:
  - '/list'
  cost: 0
  delaytimer: 5
'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"
  permission-required: false
'shortcut_with_arguments':
  command: /mycmd-args
  type: RUNCOMMAND
  runcmd:
  - '/time $arg1 $arg2'
  cost: 0
  delaytimer: 5
  error-message: 'Type /mycmd-args day world'
'delay_example':
  command: /mycmd-runcmdtimer
  type: RUNCOMMAND
  runcmd:
  - '$delay$/say 3..'
  - '$delay$/say 2..'
  - '$delay$/say 1..'
  cost: 0
  delaytimer: 1
'broadcast_example':
  command: /mycmd-broadcast
  type: BROADCAST-TEXT
  text:
  - '&eBroadcast Message!'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'old_spout_example':
  command: /mycmd-spoutsample
  type: SPOUT-TEXT
  text:
  - '$darkgreen -Spout Text-'
  - '$red MyCommand!'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'run_by_console':
  command: /mycmd-runconsole
  type: RUNCONSOLE
  runcmd:
  - /say This /say it's performed by console.
  cost: 0
  delaytimer: 5
'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
'addpermission':
  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
'text_various_args':
  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
'an_list_command':
  command: /mycmd-online
  type: TEXT
  text:
  - '$red There are $online players online.'
  - '$gold $ponline'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'clearchat':
  command: /mycmd-clearchat
  type: BROADCAST-TEXT
  text:
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'shortcut_with_multiargs':
  command: /mycmd-shortcut
  type: RUNCOMMAND
  text:
  - '$red Text of command $black14'
  runcmd:
  - '/say $multiargs'
  cost: 0
  delaytimer: 5
'random_example':
  command: /rockpaperscissors
  type: RUNCOMMAND-RANDOM
  text:
  - 'Rock-paper-scissors'
  runcmd:
  - '/me Rock!'
  - '/me Paper!'
  - '/me Scissors!'
'iconmenu_page1':
  command: /iconmenu
  type: ICONMENU
  text:
  - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
  iconmenu_title: '&cMyCommand &4ItemMenu'
  iconmenu_size: 27
  iconmenu_commands:
  - '0:GOLDEN_APPLE:0:/help:&2Help:&aOpen the help menu'
  - '1:COMPASS: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: ICONMENU
  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_page1':
  command: /mycmd-help 1
  type: TEXT
  text:
  - '$brightgreen ---- MyCommand Help Page One ---'
  - '$gold Test Help 1'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'help_page0':
  command: /mycmd-help
  type: TEXT
  text:
  - '$brightgreen ---- MyCommand Help Main Page---'
  - '$gold Test Help '
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'script_example':
  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
'itemcost_example':
  command: /itemcostexample
  type: TEXT
  text:
  - 'This command cost 5 Cobblestone. COBBLESTONE=ITEM_NAME 5 = AMOUNT'
  runcmd:
  - '/sample'
  cost: 0
  itemcost: 'COBBLESTONE:5'
  delaytimer: 5
'scoreboard_example':
  command: /sbtest
  type: SCOREBOARD
  text:
  - 'Remove scoreboard after DelayTimer(sec) - 0 = never'
  scoreboard_name: '&bTest'
  scoreboard_text:
  - '$randomnumber%1000%:Lucky'
  - '$exp:Exp'
  - '$level:Level'
  cost: 0
  delaytimer: 5
'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
'executefortest':
  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'
  permission-required: false
'heal':
  command: /mycmd-heal
  type: RUN_COMMAND
  runcmd:
  - '%PlayerOptions%setHealth: 20'
  - '%PlayerOptions%setFoodLevel: 20'
  - '%PlayerOptions%sendMessage: &aHealed!'
  permission-required: false
'pomoc':
  command: /pomoc
  type: text
  text:
  - '&5&lDostepne Komendy:'
  - '&6/ustawdom &7- Zapisuje Twoj Dom.'
  - '&6/dom &7- Teleportuje Cie do zapisanego miejsca.'
  - '&6/kasa &7- Wyswietla ilosc twoich pieniedzy.'
  - '&6/topkasa &7- Wyswietla najbogatszych graczy.'
  - '&6/kamien &7- Wyswietla drop z kamienia.'  
'kamien':
  command: /kamien
  type: text
  text:
  - '&8&lDrop z Kamienia:'
  - '&2&lDiament - &8Szansa na drop to 0.65%'
  - '&2&lSzmaragd - &8Szansa na drop to 0.5%'
  - '&2&lZelazo - &8Szansa na drop to 2.6%'
  - '&2&lZloto - &8Szansa na drop to 1.3%'
'ustawdom':
  command: /ustawdom
  type: runcommand
  runcmd:
  - /sethome
'dom':
  command: /dom
  type: runcommand
  runcmd:
  - /home
'kasa':
  command: /kasa
  type: runcommand
  runcmd:
  - /money
'topkasa':
  command: /topkasa
  type: runcommand
  runcmd:
  - /money top

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...