Stránka 1 z 2

Permissions - MyCommand

Napsal: 10 črc 2014, 14:34
od Escalator883
Server: 93.91.250.134:27334

Čaute, potrebujem poradiť ohľadom pluginu MyCommand nastavil som si tam všetko správne ako chcem ale neviem aké mám dať správne povolenia (permissions) hráčom aby mohli napríklad použiť /priroda . Mne to ide asi kôli tomu že mám Op. Skúšal som im dať už aj: mycommand.cmd.all
mycommand.cmd.1

Ale nefunguje.
Odmením K+

Re: Permissions - MyCommand

Napsal: 10 črc 2014, 14:37
od DenOwq
Dej sem config, vím jak na to ale potřebuji to vidět

Re: Permissions - MyCommand

Napsal: 10 črc 2014, 15:10
od Escalator883
Config pluginu MyCommand ?

Re: Permissions - MyCommand

Napsal: 10 črc 2014, 15:12
od DenOwq
Ano prosím.

Re: Permissions - MyCommand

Napsal: 10 črc 2014, 15:14
od Escalator883
Nech sa ti páči Config:

Spoiler: zobrazit

Kód: Vybrat vše

#MyCommand Plugin Config File
options:
  disablepermission: false
  disabledebugmessage: true
  disabledebugmessageconsole: false
  disableconsolesupport: false
  minecartevent: false
  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
scheduler:
  active: false
  dateformat: 'd M yyyy'
  launchonstartin: 60
  launchcheckoneveryNmin: 60
#Blockset valid for any blockset supported block and sign.
blockset:
  delay: 5
#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'

Re: Permissions - MyCommand

Napsal: 10 črc 2014, 15:21
od DenOwq
Myslel jsem config z commandama

Re: Permissions - MyCommand

Napsal: 10 črc 2014, 15:25
od Escalator883
Áha ok. Neva ale napísal si config tak som poslal config :)

Spoiler: zobrazit

Kód: Vybrat vše

# 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
# http://dev.bukkit.org/server-mods/mycommand/pages/configuration-and-example
options:
  commandsnumber: 20
'1':
  command: /pvp
  type: runcommand
  runcmd:
  - '/warp pvp'
  cost: 0
  delaytimer: 5
'2':
  command: /doly
  type: runcommand
  runcmd:
  - '/warp doly'
  cost: 0
  delaytimer: 5
'3':
  command: /farma
  type: runcommand
  runcmd:
  - '/warp farma'
  cost: 0
  delaytimer: 5
'4':
  command: /vip
  type: runcommand
  runcmd:
  - '/warp vip'
  cost: 0
  delaytimer: 5
'5':
  command: /end
  type: runcommand
  runcmd:
  - '/warp end'
  cost: 0
  delaytimer: 1
'6':
  command: /event
  type: runcommand
  runcmd:
  - '/warp event'
  cost: 0
  delaytimer: 5
'7':
  command: /faq
  type: runcommand
  runcmd:
  - '/warp faq'
  cost: 0
  delaytimer: 5
'8':
  command: /trampolina
  type: runcommand
  runcmd:
  - '/warp trampolina'
  cost: 0
  delaytimer: 5
'9':
  command: /nether
  type: runcommand
  runcmd:
  - '/warp nether'
  cost: 0
  delaytimer: 5
'10':
  command: /games
  type: runcommand
  runcmd:
  - '/warp games'
  cost: 0
  delaytimer: 5
'11':
  command: /enchant
  type: runcommand
  runcmd:
  - '/warp enchant'
  cost: 0
  delaytimer: 5
'12':
  command: /iron
  type: runcommand
  runcmd:
  - '/warp iron'
  cost: 0
  delaytimer: 5
'13':
  command: /banka
  type: runcommand
  runcmd:
  - '/warp banka'
  cost: 0
  delaytimer: 5
'14':
  command: /priroda
  type: runcommand
  runcmd:
  - '/warp priroda'
  cost: 0
  delaytimer: 5
'15':
  command: /shop
  type: runcommand
  runcmd:
  - '/warp shop'
  cost: 0
  delaytimer: 5
'16':
  command: /peniaze
  type: runcommand
  runcmd:
  - '/money'
  cost: 0
  delaytimer: 5
'17':
  command: /pravidla
  type: runcommand
  runcmd:
  - '/rules'
  cost: 0
  delaytimer: 5
'18':
  command: /warpy
  type: runcommand
  runcmd:
  - '/warplist'
  cost: 0
  delaytimer: 5
'19':
  command: /mycmdsample19
  type: text
  text:
  - '$red Text of command $black19'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
'20':
  command: /mycmdsample20
  type: text
  text:
  - '$red Text of command $black20'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5

Re: Permissions - MyCommand

Napsal: 10 črc 2014, 15:28
od OneTime97
Skus jim připsat permissi

Kód: Vybrat vše

mycmd.cmd.use.all


//EDIT- nebo skus i bez toho use takto

Kód: Vybrat vše

mycmd.cmd.all
pokud by nešlo to první-OneTime

Re: Permissions - MyCommand

Napsal: 10 črc 2014, 15:32
od Escalator883
Píše im to: Please wait 1second(s) before next command.

Re: Permissions - MyCommand

Napsal: 10 črc 2014, 15:34
od DenOwq
Permissions pro command je

Kód: Vybrat vše

mycommand.cmd.14


Počítá se to od prvního příkazu. Takže když budeš mít 1 /priroda dáš tam mycommand.cmd.1 když třeba 8 tak dáš mycommand.cmd.8.