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

Jak samemu wykonać plugin OX?


CzAcHa9811

Rekomendowane odpowiedzi

  • Odpowiedzi 89
  • Dodano
  • Ostatniej odpowiedzi
Opublikowano

Bardzo fajny poradnik stare czasy z metina sie przypominaja ;) ps. Perly da sie zablokowac

 

JEB*C MINESKY.PL !!! PJONA!

2rwqg40.jpg

  • 2 tygodnie później...
Opublikowano

mam pytanie wszystko jest ok ale jak mam np na podłodze literke O lub X to jak zrobić że po /set 0 tamte pole z literką O lub X było znowu ? daje like za pomoc

/undo ?

  • 2 miesiące temu...
Opublikowano

Wgram dzisiaj i dam edita czy dziala . Ale tutorial na 100% przydatny . Moze zrobisz jeszcze loste pytan dla adminow ? Jak cos moge pare wymyslic .

Opublikowano

Mi to dzialalo przez chwile ( Ale tylko odpowiedz TAK i nagle nie dziala ) .

Pomoze ktos ?

 

 

@Edit

Juz sobie poradzilem :D

Prosze bardzo :

 

 

# 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.or...ion-and-example
options:
commandsnumber: 99
'1':
command: /mycmd-sampletext
type: text
text:
- '$red Hello $darkgreen$player!'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'2':
command: /mycmd-dice
type: text
text:
- '$red You got $darkgreen$rnd6 !'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
permission-node: customperm.custom
'3':
command: /mycmd-runcommand
type: runcommand
text:
- '$red Text of command $black3'
runcmd:
- '/list'
cost: 0
delaytimer: 5
'4':
command: /mycmd-args
type: runcommand
text:
- '$red Text of command $black4'
runcmd:
- '/time $arg1 $arg2'
cost: 0
delaytimer: 5
error-message: 'Type /time day world'
'5':
command: /mycmd-runcmdtimer
type: runcommand
text:
- '$red Text of command $black5'
runcmd:
- '$delay$/say 3..'
- '$delay$/say 2..'
- '$delay$/say 1..'
cost: 0
delaytimer: 1
'6':
command: /mycmd-broadcast
type: broadcast-text
text:
- '$blue MyCommand Broadcast Test'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'7':
command: /mycmd-spoutsample
type: spout-text
text:
- '$darkgreen -Spout Text-'
- '$red MyCommand!'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'8':
command: /mycmd-runconsole
type: runconsole
text:
- '$red Text of command $black8'
runcmd:
- /say This /say it's performed by console.
cost: 0
delaytimer: 5
'9':
command: /mycmd-addtimer
type: text
text:
- '$gold Put your command over /mycmd-addtimer'
- '$gold And change type : from text to addtimer'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'10':
command: /mycmd-addpermission
type: text
text:
- '$gold Put your command over /mycmd-addpermission'
- '$gold And change type : from text to addpermission'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'11':
command: /mycmd-textargs
type: text
text:
- 'Player Name : $player'
- 'World : $world'
- 'Health : $health Food : $food'
- 'Exp : $exp Level : $level'
- 'Gamemode : $gamemode'
- 'LastDamage : $lastdamage'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'12':
command: /mycmd-online
type: text
text:
- '$red There are $online players online.'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'13':
command: /cc
type: broadcast-text
text:
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- '&cCzat zostal wyczyszczony przez: &f$player!'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'14':
command: /mycmd-shortcut
type: runcommand
text:
- '$red Text of command $black14'
runcmd:
- '/say $multiargs'
cost: 0
delaytimer: 5
'15':
command: /mycmd-random
type: runcommand-random
text:
- '$red Text of command $black15'
runcmd:
- '/say 1 $multiargs'
- '/say 2 $multiargs'
- '/say 3 $multiargs'
cost: 0
delaytimer: 5
'16':
command: /mycmd-help 2
type: text
text:
- '$brightgreen ---- MyCommand Help Page Two ---'
- '$gold Test Help 2'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'17':
command: /mycmd-help 1
type: text
text:
- '$brightgreen ---- MyCommand Help Page One ---'
- '$gold Test Help 1'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'18':
command: /mycmd-help
type: text
text:
- '$brightgreen ---- MyCommand Help Main Page---'
- '$gold Test Help '
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'19':
command: /scriptexample
type: text
text:
- 'Example'
runcmd:
- '$Script$HasPermission==custompermission.test'
- '$Script$SetInteger=1'
- '$Script$Integer==1'
- '$Script$SetString=ciao'
- '$Script$String!=lol'
- '$Script$Integer>10'
- '/dosomething'
cost: 0
delaytimer: 5
'20':
command: /mycmdsample20
type: text
text:
- '$red Text of command $black20'
runcmd:
- '/sample'
cost: 0
delaytimer: 5
'21':
command: /tak
type: runcommand
runcmd:
- '/rg select biale'
- '$delay$/broadcast Biale pole zniknie za 10 sekund'
- '$delay$/broadcast Biale pole zniknie za 9 sekund'
- '$delay$/broadcast Biale pole zniknie za 8 sekund'
- '$delay$/broadcast Biale pole zniknie za 7 sekund'
- '$delay$/broadcast Biale pole zniknie za 6 sekund'
- '$delay$/broadcast Biale pole zniknie za 5 sekund'
- '$delay$/broadcast Biale pole zniknie za 4 sekundy'
- '$delay$/broadcast Biale pole zniknie za 3 sekundy'
- '$delay$/broadcast Biale pole zniknie za 2 sekundy'
- '$delay$/broadcast Biale pole zniknie za 1 sekunde'
- '$delay$//set 0'
- '$delay$/bcast Poprawna odpowiedz to TAK!'
- '$delay$'
- '$delay$/rg select nie'
- '$delay$//set 0'
- '$delay$'
- '$delay$/rg select biale'
- '$delay$//set wool'
- '$delay$/rg select nie'
- '$delay$//set wool:red'
cost: 0
delaytimer: 1
'22':
command: /nie
type: runcommand
runcmd:
- '/rg select biale'
- '$delay$/broadcast Biale pole zniknie za 10 sekund'
- '$delay$/broadcast Biale pole zniknie za 9 sekund'
- '$delay$/broadcast Biale pole zniknie za 8 sekund'
- '$delay$/broadcast Biale pole zniknie za 7 sekund'
- '$delay$/broadcast Biale pole zniknie za 6 sekund'
- '$delay$/broadcast Biale pole zniknie za 5 sekund'
- '$delay$/broadcast Biale pole zniknie za 4 sekundy'
- '$delay$/broadcast Biale pole zniknie za 3 sekundy'
- '$delay$/broadcast Biale pole zniknie za 2 sekundy'
- '$delay$/broadcast Biale pole zniknie za 1 sekunde'
- '$delay$//set 0'
- '$delay$/bcast Poprawna odpowiedz to NIE!'
- '$delay$'
- '$delay$/rg select tak'
- '$delay$//set 0'
- '$delay$'
- '$delay$/rg select biale'
- '$delay$//set wool'
- '$delay$/rg select tak'
- '$delay$//set 35:5'
cost: 0
delaytimer: 1
'23':
command: /oxreload
type: runcommand
runcmd:
- '$delay$/rg select biale'
- '$delay$//set wool'
- '$delay$/rg select tak'
- '$delay$//set 35:5'
- '$delay$/rg select nie'
- '$delay$//set wool:red'
cost: 0
delaytimer: 1
'24':
command: /ox
type: runcommand
runcmd:
- '/warp ox'
cost: 0
delaytimer: 0
Opublikowano

Kolejny raz pisze : WESCIE KOD ODEMNIE !

A nieznana komenda, poniewaz nie macie 'KOMENDA' tak zrobione, on zrobil KOMENDA po prostu, moze i on to napisal, ale trzeba poprawic

  • 2 tygodnie później...
Opublikowano

To mozna zrobic samym world edit'em i world guard'em.[Nie plugin]Nie potrzeba pluginu....

Zapraszam na serwer Survival typu HARD Ip:Nie ustalone :) Start 20.12.13r

Opublikowano

Macie to działa

 

'31':
command: /tak
type: runcommand
runcmd:
- /rg select biale
- $delay$/broadcast Biale pole zniknie za 10 sekund
- $delay$/broadcast Biale pole zniknie za 9 sekund
- $delay$/broadcast Biale pole zniknie za 8 sekund
- $delay$/broadcast Biale pole zniknie za 7 sekund
- $delay$/broadcast Biale pole zniknie za 6 sekund
- $delay$/broadcast Biale pole zniknie za 5 sekund
- $delay$/broadcast Biale pole zniknie za 4 sekundy
- $delay$/broadcast Biale pole zniknie za 3 sekundy
- $delay$/broadcast Biale pole zniknie za 2 sekundy
- $delay$/broadcast Biale pole zniknie za 1 sekunde
- $delay$//set 0
- $delay$/bcast Poprawna odpowiedz to TAK!
- $delay$
- $delay$/rg select nie
- $delay$//set 0
- $delay$
- $delay$/rg select biale
- $delay$//set wool
- $delay$/rg select nie
- $delay$//set wool:red
cost: 0
delaytimer: 1
'32':
command: /nie
type: runcommand
runcmd:
- /rg select biale
- $delay$/broadcast Biale pole zniknie za 10 sekund
- $delay$/broadcast Biale pole zniknie za 9 sekund
- $delay$/broadcast Biale pole zniknie za 8 sekund
- $delay$/broadcast Biale pole zniknie za 7 sekund
- $delay$/broadcast Biale pole zniknie za 6 sekund
- $delay$/broadcast Biale pole zniknie za 5 sekund
- $delay$/broadcast Biale pole zniknie za 4 sekundy
- $delay$/broadcast Biale pole zniknie za 3 sekundy
- $delay$/broadcast Biale pole zniknie za 2 sekundy
- $delay$/broadcast Biale pole zniknie za 1 sekunde
- $delay$//set 0
- $delay$/bcast Poprawna odpowiedz to NIE!
- $delay$
- $delay$/rg select tak
- $delay$//set 0
- $delay$
- $delay$/rg select biale
- $delay$//set wool
- $delay$/rg select tak
- $delay$//set 35:5
cost: 0
delaytimer: 1
'33':
command: /oxreload
type: runcommand
runcmd:
- $delay$/rg select biale
- $delay$//set wool
- $delay$/rg select tak
- $delay$//set 35:5
- $delay$/rg select nie
- $delay$//set wool:red
cost: 0
delaytimer: 1
'34':
command: /ox
type: runcommand
runcmd:
- /warp ox
cost: 0
delaytimer: 0

Pomogłem? Daj Like + Dziękuję

Opublikowano

Macie to działa

 

'31':

command: /tak

type: runcommand

runcmd:

- /rg select biale

- $delay$/broadcast Biale pole zniknie za 10 sekund

- $delay$/broadcast Biale pole zniknie za 9 sekund

- $delay$/broadcast Biale pole zniknie za 8 sekund

- $delay$/broadcast Biale pole zniknie za 7 sekund

- $delay$/broadcast Biale pole zniknie za 6 sekund

- $delay$/broadcast Biale pole zniknie za 5 sekund

- $delay$/broadcast Biale pole zniknie za 4 sekundy

- $delay$/broadcast Biale pole zniknie za 3 sekundy

- $delay$/broadcast Biale pole zniknie za 2 sekundy

- $delay$/broadcast Biale pole zniknie za 1 sekunde

- $delay$//set 0

- $delay$/bcast Poprawna odpowiedz to TAK!

- $delay$

- $delay$/rg select nie

- $delay$//set 0

- $delay$

- $delay$/rg select biale

- $delay$//set wool

- $delay$/rg select nie

- $delay$//set wool:red

cost: 0

delaytimer: 1

'32':

command: /nie

type: runcommand

runcmd:

- /rg select biale

- $delay$/broadcast Biale pole zniknie za 10 sekund

- $delay$/broadcast Biale pole zniknie za 9 sekund

- $delay$/broadcast Biale pole zniknie za 8 sekund

- $delay$/broadcast Biale pole zniknie za 7 sekund

- $delay$/broadcast Biale pole zniknie za 6 sekund

- $delay$/broadcast Biale pole zniknie za 5 sekund

- $delay$/broadcast Biale pole zniknie za 4 sekundy

- $delay$/broadcast Biale pole zniknie za 3 sekundy

- $delay$/broadcast Biale pole zniknie za 2 sekundy

- $delay$/broadcast Biale pole zniknie za 1 sekunde

- $delay$//set 0

- $delay$/bcast Poprawna odpowiedz to NIE!

- $delay$

- $delay$/rg select tak

- $delay$//set 0

- $delay$

- $delay$/rg select biale

- $delay$//set wool

- $delay$/rg select tak

- $delay$//set 35:5

cost: 0

delaytimer: 1

'33':

command: /oxreload

type: runcommand

runcmd:

- $delay$/rg select biale

- $delay$//set wool

- $delay$/rg select tak

- $delay$//set 35:5

- $delay$/rg select nie

- $delay$//set wool:red

cost: 0

delaytimer: 1

'34':

command: /ox

type: runcommand

runcmd:

- /warp ox

cost: 0

delaytimer: 0

Nie działa ;)

n6ezWbn.png

  • 2 tygodnie później...

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...