CommandoBlock Expansions Pack - MTPPlugin-CmB 0.1 Beta 

What is this plugin doing ? It adds new commands to the minecraft CommanBlocks.

+ Extern Command
+ Double Intern Command
+ Console Command
+ Timer
+ CommandBlock break=drop
+ CommandBlock Manipulation

Chat Commands:
/mtpcmb - general info
/mtpcmb delname - del CommandBlock Name
/mtpcmb setname - set CommandBlock Name
/mtpcmb getname - search CommandBlock Name
/mtpcmb getcmd  - search Command im CommandBlock (simple Check)
/mtpcmb check   - search errors in CommandBlock (extreme Check,alpha)

permission: yes for all


Declaration of commands in CommandBlock:

additional Intern Command: always begins with &
-Standard Cmd of CommandBlocks

Extern Commands: always begins with *
Player:
- */@a<Radius> all Player <Optional with radius>
- */@p<Radius> next player <Optional with radius>
- */@r<Radius> random Player <Optional with radius>

Console:
- */@c

Timer: always begins with #
#<0-9> Timer Next Block in sec. (Optional)

PlayerName: always begins with %p
- %p (Optional in Command-not in Console Command)

You can add 1 additional intern command and or x Extern.
The limit command is defined in config.yml
CmBMaxInterneCmD: 1 (the 1 is additional to final cmd)
CmBMaxExterneCmd: 5 (Default)

the sequence of commands doesent matter.the timer has to be at the end, or at the start if its set.

Examples:
final cmd|extern cmd|intern cmd|timer
extern cmd|intern cmd|extern cmd
timer
extern cmd|extern cmd|extern cmd|extern cmd
etc. etc.

Invalid:
timer|extern cmd
extern cmd|timer|intern cmd
extern cmd|timer|extern cmd|timer
the timer has to be at the end, or at the start without arguments behind.
Timer in Timer doesnt works. (See examples on top)

RedStone for CommandBlocks and this plugin:
The Plugin only reacts for 2 possible switching mechanism. Otherwise nothing happens.
Basically only 1 Redstone wire can be set.
At Input is only 1 Comparator or 1 Redstone allowed. 

Examples on Input:
CommandBlock - Comparator - .... (Comparator sets Signal 2x, by switching on and off)
CommandBlock - Redstone - x (x hast to prohibit back coupling, Redstone sets Signal 1x, by switching on)
x = Repeater,Block,Komparator,Button,Hebel,Piston etc.

This doesnt works at input:
CommandBlock - Redstone - Redstone .....
CommandBlock - Repeater .....
CommandBlock - Block .....
CommandBlock - Torch .....
etc. etc.

see pictures.

Notes:
Console commands can be differet to InGame commands.
Ingame commands sometimes need a playername or other arguments, please use help of plugin. 
You Can't jail or kick yourself etc.

Plugin Command Examples:
1.
Final Cmd - Interner Cmd - Externer Cmd - Externer Cmd - Timer
/give @p 277 1&/give @p 276 1*/@c weather Testworld clear*/@p10 give %p 278 1#9

Results of 1:
Give next player 1x Item 277 (Intern Command)
Give next player 1x Item 276 (Intern Command)
Console sets weather in world to sun (Extern Command)
Give next player in Radius of 10 Block 1x Item 278 (Extern Command)
Search after 9 sec. next CommandBlock (Timer)

2.
Extern Cmd
*/@c weather clear

Results of 2:
Nothing would happen because of */@c is a console command and the console requires a world for this command.
Correct is */@c weather WorldName clear oder */@p weather clear

3.
Intern Cmd - Externer Cmd
&/give @p [r=100] 277 1*/@p100 promote %p test

Results of 3:
Give next player in radius of 100 blocks 1x Item 277 (Intern Command)
Promote next player in Radius of 100 Block in the Group test (Extern Command)


Warning !!!
Using this plugin is at your own risk! Incorrect usage can have the effect of server crash or lag especially when you use the extern command */@a incorrect.


Whats coming next:
-new Extern Command
-new Player Command


If you have suggestions or complains, let me know (german or english)

You like my plugin? You want to support it with example videos (file or link), send it to
comoran@gmx.net

For donate, use paypal: comoran@gmx.net

Other Plugin Projects:
MTP Plugin (Test phase on Deticat Server)
