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


Rekomendowane odpowiedzi

Opublikowano

Co jest zle w tej komendzie poniewaz w ogole nie dziala, nie ma takiej komendy

# 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: 1
'1':
  command: /drop
  type: text
  text:
- '&6&lDrop z stona'
- '&b&lDiamenty &70.5'
- '&a&lSzmaragdy &70.5'
- '&e&lZloto &71.5'
- '&f&lZelazo &73.0'
  cost: 0
  delaytimer: 5

 

Opublikowano

W Skript łatwiej to zrobić.

 

 

command /drop:
    trigger:
        Send "&6&lDrop z stona"
        Send "&b&lDiamenty &70.5"
        Send "&a&lSzmaragdy &70.5"
        Send "&e&lZloto &71.5"
        Send "&f&lZelazo &73.0"
 
Opublikowano


# 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: 1

'1':

command: /drop

type: text

text:

- '&6&lDrop z stona'

- '&b&lDiamenty &70.5'

- '&a&lSzmaragdy &70.5'

- '&e&lZloto &71.5'

- '&f&lZelazo &73.0'

cost: 0

delaytimer: 5

Pomogłem?? Kliknij Lubię To

Opublikowano


2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26




# 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.


options:

commandsnumber: 1

'1':

command: /drop

type: text

text:

- '&6&lDrop z stona'

- '&b&lDiamenty &70.5'

- '&a&lSzmaragdy &70.5'

- '&e&lZloto &71.5'

- '&f&lZelazo &73.0'

cost: 0

delaytimer: 5



Opublikowano

2xUP można dawać np. &4,obawiam sięże nie możnaustawić &l

Ja mam coś takiego:

'1':
  command: /kamien
  type: text
  text:
  - '&2Surowiec | Procent | Skad | Fortuna'
  - '&bDiament | 0.3% | Kamien | Tak'
  - '&7Zelazo | 1.0% | Kamien | Tak'
  - '&6Zloto | 0.5% | Kamien | Tak'
  - '&aSzmaragd | 0.5% | Kamien | Tak'
  - '&5Osadnik | 0.01% | Kamien | Nie'
  - '&2Creeper | 0.01% | Kamien | Nie'
  runcmd:
  - '/sample'
  cost: 0
  delaytimer: 5
  permission-node: customperm.mycmd

i mi działa

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...