Skip to content

JoinCommands - MCPE plugin for PocketMine-MP to execute commands on player.

Notifications You must be signed in to change notification settings

Distemi/JoinCommands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

JoinCommands

Releases | Π Π΅Π»ΠΈΠ·Ρ‹: GitHub

poggit:

Русский | English

русский

Π­Ρ‚ΠΎΡ‚ ΠΏΠ»Π°Π³ΠΈΠ½ выполняСт ΠΊΠΎΠΌΠ°Π½Π΄Ρƒ(-Ρ‹) ΠΏΡ€ΠΈ Π·Π°Ρ…ΠΎΠ΄Π΅ ΠΈΠ³Ρ€ΠΎΠΊΠ° Π½Π° сСрвСр.

Плагин ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΡƒΠ΅Ρ‚ ΠΊΠΎΠΌΠ°Π½Π΄Ρ‹ ΠΈΠ· Ρ„Π°ΠΉΠ»Π° config.yml ΠΈ ΠΈΠ· списка "Commands".

Π‘ ΠΏΠΎΠΌΠΎΡ‰ΡŒΡŽ API ΠΌΠΎΠΆΠ½ΠΎ Π΄ΠΎΠ±Π°Π²ΠΈΡ‚ΡŒ ΠΊΠΎΠΌΠ°Π½Π΄Ρ‹ Π½Π΅ ΠΈΠ· списка.

Настройки:

Enabled: - Π’ΠΊΠ»ΡŽΡ‡Ρ‘Π½ Π»ΠΈ ΠΏΠ»Π°Π³ΠΈΠ½?(Π’Ρ‹ΠΏΠΎΠ»Π½ΡΡŽΡ‚Ρ ΠΊΠΎΠΌΠ°Π½Π΄Π°(-Ρ‹) ΠΏΡ€ΠΈ Π·Π°Ρ…ΠΎΠ΄Π΅ ΠΈΠ³Ρ€ΠΎΠΊΠ° Π½Π° сСрвСр.)

Commands: - ΠšΠΎΠΌΠ°Π½Π΄Ρ‹, ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Π΅ Π²Ρ‹ΠΏΠΎΠ»Π½ΡΡŽΡ‚ΡΡ ΠΏΡ€ΠΈ Π·Π°Ρ…ΠΎΠ΄Π΅ ΠΈΠ³Ρ€ΠΎΠΊΠ°.

API

$JC = $this->getServer()->getPluginManager()->getPlugin("JoinCommands"); - ΠŸΠΎΠ»ΡƒΡ‡Π΅Π½ΠΈΠ΅ API ΠΏΠ»Π°Π³ΠΈΠ½Π°.

$JC->addCommand("say %player% You join"); - Π”ΠΎΠ±Π°Π²Π»Π΅Π½ΠΈΠ΅ ΠΎΠ΄Π½ΠΎΠΉ ΠΊΠΎΠΌΠ°Π½Π΄Ρ‹ Π² Π±Π°Π·Ρƒ Π΄Π°Π½Π½Ρ‹Ρ… ΠΏΠ»Π°Π³ΠΈΠ½Π°(удалится ΠΏΡ€ΠΈ ΠΏΠ΅Ρ€Π΅Π·Π°Π³Ρ€ΡƒΠ·ΠΊΠΈ ΠΏΠ»Π°Π³ΠΈΠ½Π°).

$JC->addCommands(array("say %player% You join","give %player% 1")); - Π”ΠΎΠ±Π°Π²Π»Π΅Π½ΠΈΠ΅ мноТСства ΠΊΠΎΠΌΠ°Π½Π΄ Π² Π±Π°Π·Ρƒ Π΄Π°Π½Π½Ρ‹Ρ… ΠΏΠ»Π°Π³ΠΈΠ½Π°(удалится ΠΏΡ€ΠΈ ΠΏΠ΅Ρ€Π΅Π·Π°Π³Ρ€ΡƒΠ·ΠΊΠΈ ΠΏΠ»Π°Π³ΠΈΠ½Π°).

ИспользованиС

/joincommands - ΠΏΠ΅Ρ€Π΅Π·Π°Π³Ρ€ΡƒΠ·ΠΊΠ° ΠΏΠ»Π°Π³ΠΈΠ½Π°.

/jc - ΠΏΠ΅Ρ€Π΅Π·Π°Π³Ρ€ΡƒΠ·ΠΊΠ° ΠΏΠ»Π°Π³ΠΈΠ½Π°.

/JoinCommands - ΠΏΠ΅Ρ€Π΅Π·Π°Π³Ρ€ΡƒΠ·ΠΊΠ° ΠΏΠ»Π°Π³ΠΈΠ½Π°.

english

This is plugin execute command(-s) on player join to server.

Plugin get from config.yml in list "Commands".

Settings:

Enabled: - Enable execute commnd(-s) on join player on server?

Commands: - Commands execute on player join if - Enabled: true .

API

$JC = $this->getServer()->getPluginManager()->getPlugin("JoinCommands"); - Get plugin's API.

$JC->addCommand("say %player% You join"); - Add one command to plugin db(remove on reload plugin).

$JC->addCommands(array("say %player% You join","give %player% 1")); - Add more commands to plugin db(remove on reload plugin).

Usage

/joincommands - restart plugin.

/jc - restart plugin.

/JoinCommands - restart plugin.

About

JoinCommands - MCPE plugin for PocketMine-MP to execute commands on player.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages