Stránka 1 z 1

Jobs

Napsal: 24 črc 2016, 20:08
od karlik97
82.208.17.36:27475

Dobrý den když píšu do commandu příkaz /jobs join kam se dáva to player?
1. /jobs join Drevorubec $player
2. /jobs join $player Drevorubec
3. /jobs $player join drevorubec
4. /$player jobs join Drevorubec

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 , 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.
# http://dev.bukkit.org/server-mods/mycommand/pages/configuration-and-example
options:
  commandsnumber: 1
'1':
  command: /Drevorubec
  type: RUN_CONSOLE
  runcmd:
  - /jobs $player join Drevorubec
  cost: 0
  permission-required: false

Re: Jobs

Napsal: 24 črc 2016, 20:33
od Batllefury
A proč se hráč nepřipojí prostě sám?

Re: Jobs

Napsal: 24 črc 2016, 20:40
od karlik97
Protože to nejde nastavit na jobsGUI. Víš nebo né?

Re: Jobs

Napsal: 24 črc 2016, 21:08
od Batllefury
Jobs samotný GUI nepodporuje... :)

Pokud chceš Jobs nastavit pomocí GUI musíš použét GUI plugin. Odobně doporučuji: http://dev.bukkit.org/bukkit-plugins/chest-commands/

Re: Jobs

Napsal: 25 črc 2016, 11:49
od karlik97
A v MyCommand s ChestCommand to nejde nastavit jak je tady viewtopic.php?f=67&t=30860 ?

Re: Jobs

Napsal: 25 črc 2016, 13:25
od TopCz