Ahoj, dnes jsem na server dal tento plugin, upravil sjem si v nem prikazy ale i kdyz server vypnu, nahraju upraveny config a spustim tak se config prepise ://
CONFIG:
Kód: Vybrat vše
# MyCommand v.2.6 Config File
# - Commandsnumber (default 20) it's number of command you want make- On Command line use Slash like = command: /myhelp
# - type accept = text , runcommand , broadcast-text , runcommand-text , runcommand-broadcast-text , perm-broadcast-text , addpermission , addtimer , runconsole.
# - Additional type accept if you use Spoutplugin= spout-text .
# - If type: runcommand -> command: /li launch runcmd: /list
# - runcmd support custom argument in game.($arg1,$arg2,$arg3,$arg4,$arg5,$multiargs) Set runcmd : /time $arg1
# - For Delayed command add $delay$ before the command in runcmd Example : - $delay$/list
# - Set delay time with delaytimer: 5 (5 = seconds)
commandsnumber: 3
disablepermission: false
disabledebugmessage: false
'1':
command: /odebrani
type: runcommand
text:
- §4 Text of command §a4
runcmd:
- /pex user $arg1 group set Hrac
- /broadcast Hraci $arg1 bylo odebrano $arg2 duvod:$arg3 !
delaytimer: 5
'2':
command: /restart
type: runcommand
text:
- §4 Text of command §a4
runcmd:
- /say Restart za
- $delay$/say 5
- $delay$/say 4
- $delay$/say 3
- $delay$/say 2
- $delay$/say 1
- /save-all
- /kickall restart
- /stop
delaytimer: 1
'3':
command: /autoodebrani
type: runcommand
text:
- §4 Text of command §a4
runcmd:
- /pex user $arg1 group remove $arg2
- /broadcast Hraci $arg1 bylo odebrano $arg2 duvod:$arg3 !
delaytimer: 5