-Záporný warp
-
- Příspěvky: 3512
- Věk: 26
- Registrován: 18 úno 2012, 21:02
- Reputation: 11
Re: -Záporný warp
Pošli tu část configu kde máš nadefinovaný příkaz /shop (do CODE tagu)
-
- Příspěvky: 30
- Registrován: 09 říj 2016, 14:54
- Reputation: 0
Re: -Záporný warp
commands.yml
Config.yml
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
# You can use a custom permission node by placing "permission-node:" field in a command.
# Custom error-message for invalid args ,put "error-message:" line in a command.
# http://dev.bukkit.org/server-mods/mycommand/pages/configuration-and-example
options:
commandsnumber: 20
'1':
command: /banka
type: runcommand
runcmd:
- /warp banka
delaytimer: 0
permission-required: false
'2':
command: /enchant
type: runcommand
runcmd:
- /warp enchant
delaytimer: 0
permission-required: false
'3':
command: /farma
type: runcommand
runcmd:
- /warp farma
delaytimer: 0
permission-required: false
'4':
command: /free
type: runcommand
runcmd:
- /warp free
delaytimer: 0
permission-required: false
'5':
command: /priroda
type: runcommand
runcmd:
- /warp priroda
delaytimer: 0
permission-required: false
'6':
command: /pvp
type: runcommand
runcmd:
- /warp pvp
delaytimer: 0
permission-required: false
'7':
command: /pvparena
type: runcommand
runcmd:
- /warp pvparena
delaytimer: 0
permission-required: false
'8':
command: /shop
type: runcommand
runcmd:
- /warp shop
delaytimer: 0
permission-required: false
'9':
command: /vip
type: runcommand
runcmd:
- /warp vip
delaytimer: 0
permission-required: false
'10':
command: /vipzona
type: runcommand
runcmd:
- /warp vipzona
delaytimer: 0
permission-required: false
'11':
command: /xp
type: runcommand
runcmd:
- /warp xp
delaytimer: 0
permission-required: false
Config.yml
Kód: Vybrat vše
#MyCommand Plugin Config File
#Disable - minecartevent it's used for detectorrail. moveevent it's used for warmups.
options:
disablepermission: false
disabledebugmessage: true
disabledebugmessageconsole: false
disableconsolesupport: false
disableminecartevent: true
disablemoveevent: true
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 launchonstartin(sec) d M yyyy = 31 12 2013
scheduler:
active: false
dateformat: 'd M yyyy'
launchonstartin: 60
launchcheckoneveryNmin: 60
#Blockset valid for any blockset supported block and sign.Put 0 for disable.
blockset:
delay: 5
#Items ID.28(DetectorRail require disableminecartevent: true)
items:
rightclickinteraction:
- 69
- 77
- 143
- 64
- 28
physicalinteraction:
- 70
- 72
#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'
-
- Příspěvky: 3512
- Věk: 26
- Registrován: 18 úno 2012, 21:02
- Reputation: 11
Re: -Záporný warp
teoreticky by to mělo být mycommand.cmd.8
ale nejspíš budeš muset u toho /shop nastavit permission-required na true
ale nejspíš budeš muset u toho /shop nastavit permission-required na true
-
- Příspěvky: 30
- Registrován: 09 říj 2016, 14:54
- Reputation: 0
Re: -Záporný warp
Do prdele nejde to .... , ja nevím jak ale potřebuju to. Pomúžeš ješte ?
-
- Příspěvky: 3512
- Věk: 26
- Registrován: 18 úno 2012, 21:02
- Reputation: 11
Re: -Záporný warp
Co všechno jsi dal vip hráčům za permisse?
-
- Příspěvky: 30
- Registrován: 09 říj 2016, 14:54
- Reputation: 0
Re: -Záporný warp
Proste potrebujem niečo nastaviť alebo čo , ked za Vip,Default,ToxicVip napíšem namiesto nejkaeho warpu napr.. /warp pvp => /pvp napíse [MyCMD] Oops! Check your permissions! Takže neviem aké permisie nato potrebujú..
Permisse.yml . :
Permisse.yml . :
Kód: Vybrat vše
groups:
Hrac:
default: true
permissions:
- -bukkit.command.plugins
- -essentials.warps.vipzona
- essentials.warp
- essentials.warp.list
- essentials.warps.banka
- essentials.warps.enchant
- essentials.warps.farma
- essentials.warps.free
- essentials.warps.priroda
- essentials.warps.pvp
- essentials.warps.pvparena
- essentials.warps.shop
- essentials.warps.vip
- essentials.warps.xp
- authme.login
- authme.l
- authme.reg
- authme.register
- authme.logout
- authme.unregister
- authme.changepassword
- serversigns.use
- uskyblock.team.join
- usb.island.challenges
- usb.island.sethome
- usb.island.create
- usb.party.kick
- usb.party.create
- usb.use
- residence.create
- essentials.money
- essentials.kit
- essentials.kits
- essentials.online
- essentials.list
- essentials.tpdeny
- essentials.home
- essentials.sethome
- essentials.pay
- essentials.pay.multiple
- essentials.afk
- essentials.afk.auto
- essentials.afk.kickexempt
- essentials.msg
- essentials.tpaccept
- essentials.tpa
- essentials.spawn
- essentials.rules
- essentials.motd
- essentials.helpop
- essentials.help
- modifyworld.*
prefix: '&3[&7Hrac&3] &f'
options:
build: false
rank: '1000'
Vip:
permissions:
- essentials.spawner
- essentials.warps.*
- essentials.spawner.*
- essentials.night
- essentials.day
- essentials.time
- essentials.timeset.day
- essentials.timeset.night
- essentials.time.set.night
- essentials.time.set.day
- essentials.time.set.*
- essentials.time.set
- essentials.time.night
- essentials.time.day
- -bukkit.command.plugins
- authme.login
- authme.l
- authme.reg
- authme.register
- authme.logout
- authme.unregister
- authme.changepassword
- serversigns.use
- uskyblock.team.join
- usb.island.challenges
- usb.island.sethome
- usb.island.create
- usb.party.kick
- usb.party.create
- usb.use
- residence.create
- essentials.delhome
- essentials.back
- essentials.weather
- essentials.recipe
- essentials.repair
- essentials.repair.all
- essentials.repair.armor
- essentials.repair.enchanted
- essentials.heal
- essentials.feed
- essentials.hat
- essentials.fly.safelogin
- essentials.fly
- essentials.feed.cooldown.bypass
- essentials.heal.cooldown.bypass
- essentials.money
- essentials.kit
- essentials.kits
- essentials.kits.vip
- essentials.kits.spawner
- essentials.online
- essentials.list
- essentials.tpdeny
- essentials.home
- essentials.mycommand.mycmd
- essentials.sethome
- essentials.warp.list
- essentials.pay
- essentials.pay.multiple
- essentials.afk
- essentials.afk.auto
- essentials.afk.kickexempt
- essentials.msg
- essentials.warp
- essentials.tpaccept
- essentials.tpa
- essentials.spawn
- essentials.rules
- essentials.motd
- essentials.helpop
- essentials.help
- modifyworld.*
prefix: '&8[&aVIP&8] &6'
options:
build: false
rank: '1000'
ToxicVip:
permissions:
- essentials.warps.*
- essentials.echest
- essentials.enderchest
- essentials.spawner
- essentials.spawner.*
- essentials.spawner*
- essentials.time.set
- -bukkit.command.plugins
- authme.login
- authme.l
- authme.reg
- authme.register
- authme.logout
- authme.unregister
- authme.changepassword
- serversigns.use
- uskyblock.team.join
- usb.island.challenges
- usb.island.sethome
- usb.island.create
- usb.party.kick
- usb.party.create
- usb.use
- residence.create
- essentials.workbench
- essentials.geoip.show
- essentials.whois
- essentials.clearinventory
- essentials.enderhest
- essentials.enderchest.modify
- essentials.invsee
- essentilas.invsee.preventmodify
- essentials.invsee.modify
- essentials.jump
- essentials.delhome
- essentials.back
- essentials.weather
- essentials.recipe
- essentials.repair
- essentials.repair.all
- essentials.time
- essentials.time.set.day
- essentials.time.set.night
- essentials.repair.armor
- essentials.repair.enchanted
- essentials.heal
- essentials.feed
- essentials.hat
- essentials.fly.safelogin
- essentials.fly
- essentials.feed.cooldown.bypass
- essentials.heal.cooldown.bypass
- essentials.money
- essentials.kit
- essentials.kits.vip
- essentials.kits.tvip
- essentials.kits.spawner
- essentials.kits
- essentials.online
- essentials.list
- essentials.tpdeny
- essentials.home
- essentials.mycommand.mycmd
- essentials.sethome
- essentials.warp.list
- essentials.pay
- essentials.pay.multiple
- essentials.afk
- essentials.afk.auto
- essentials.afk.kickexempt
- essentials.msg
- essentials.warp
- essentials.tpaccept
- essentials.tpa
- essentials.spawn
- essentials.rules
- essentials.motd
- essentials.helpop
- essentials.help
- modifyworld.*
prefix: '&8[&bToxic&aVIP&8] &6'
options:
build: false
rank: '1000'
Admin:
permissions:
- -bukkit.command.plugins
- residence.admin
- essentials.*
- authme.*
- worldedit.*
- '*'
prefix: '&0[&2Admin&0] &e'
options:
build: true
rank: '100'
worlds:
'&c':
prefix: '&0[&bAdmin&0]'
Majitel:
permissions:
- itemizer.lore
- itemizer.name
- residence.admin
- '*'
prefix: '&0[&4Majitel&0] &3'
options:
build: true
rank: '0'
users:
Nuclear100:
group:
- Majitel
WoodyGamers:
group:
- Admin
Omtronix555:
group:
- Vip
-
- Příspěvky: 3512
- Věk: 26
- Registrován: 18 úno 2012, 21:02
- Reputation: 11
Re: -Záporný warp
Zkus v configu mycommands přidat k příkazu jakoukoliv permissi:
A pak tu permissi přidej nějaké skupině v PEX a zkus ten příkaz.
Kód: Vybrat vše
permission-node: prikaz.pvp
A pak tu permissi přidej nějaké skupině v PEX a zkus ten příkaz.
-
- Příspěvky: 30
- Registrován: 09 říj 2016, 14:54
- Reputation: 0
Re: -Záporný warp
jako jak v configu ne v commands.yml ?
- Ju3eN
- Příspěvky: 539
- Věk: 23
- Registrován: 04 kvě 2015, 06:44
- Reputation: 1
- Bydliště: 192.168.0.1
Re: -Záporný warp
Vyriešené
- VampireCraftCZ
- Příspěvky: 131
- Registrován: 14 úno 2016, 22:03
- Reputation: 4
Re: -Záporný warp
Vyzkoušej na to plugin MakeYourOwnCommands: https://www.youtube.com/watch?v=yNJdRzQ8nI0
Kdo je online
Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 44 hostů