MadCommands makes you as a Minecraft server owner able to define your own commands which perform actions consisting of other already defined commands. It works just like a very simple scripting/programming system. You can use the new commands from the console, or even invoke them from other plugins.
If you smartly combine this plugin with other plugins, you can even create your own automated minigames, all without knowing anything about programming your own plugin or having access to the server’s file system.
With MadCommands you can:
Watch the following video for a quick demo of what MadCommands can do:
If you like it, then go ahead and continue learning by watching the video tutorials:
MadCommands Video Tutorials
Or get started without video simply by following the instructions below…
Creating your first command
Start by defining a new command:
Now add some functionality to it:
And now try it out:
Setting up triggers
Assign your command to an event:
Verify the triggers assignments:
You should see something like this:
Now try it out:
Learning from examples
See what examples are available for you to install and examine:
Choose one or more, and install them:
Check what has been installed/defined:
Choose one command and examine it:
Try to understand what it does, then try it out to see if you’ve guessed right:
Now go, learn, and write your own amazing commands :wink:
Getting Help
If you get stuck at any time, try to use help.
MadCommands has very complete and detailed help built into it.
Just try it out:
and follow the instructions you get:
The whole help is also available online.
Enjoy MadCommands…
…and if you build something great with it, don’t forget to let others know.
If you smartly combine this plugin with other plugins, you can even create your own automated minigames, all without knowing anything about programming your own plugin or having access to the server’s file system.
With MadCommands you can:
- Create custom procedures using a simple BASIC-like programming language
- Use conditions and loops in the custom procedures
- Examine and modify world blocks, players’ inventories,
- Register new commands to run the custom procedures
- Override existing commands with custom procedures
- Assign procedures to be triggered by game events
Watch the following video for a quick demo of what MadCommands can do:
If you like it, then go ahead and continue learning by watching the video tutorials:
MadCommands Video Tutorials
Or get started without video simply by following the instructions below…
Creating your first command
Start by defining a new command:
Code:
/cmd create helloworld
Code:
/cmd add helloworld /say Hello everyone!
/cmd add helloworld /me says Hello!
Code:
/helloworld
Setting up triggers
Assign your command to an event:
Code:
/cmd trigger login helloworld
Code:
/cmd triger
Code:
On login run helloworld
On leave do nothing
On spawn do nothing
On bed do nothing
On gm do nothing
On eat do nothing
On damage do nothing
On death do nothing
On cheat do nothing
On place do nothing
On break do nothing
- Disconnect from your server
- Re-connect to your server
Learning from examples
See what examples are available for you to install and examine:
Code:
/cmd install
Code:
/cmd install countdown
/cmd install playerinfo
/cmd install blockinfo
/cmd install copyblock
Code:
/cmd list
Code:
/cmd list countdown
Code:
/countdown
Getting Help
If you get stuck at any time, try to use help.
MadCommands has very complete and detailed help built into it.
Just try it out:
Code:
/cmd help
Code:
[MadCommands vX.Y.Z build ABCD] Help: Topics
Type /cmd help <topicname> to show more details about:
editing how to define and edit your custom command
usage how to run your custom commands
commands special commands to use in your scripts
expressions how to write expressions and calculations
operators list of supported binary operatory
functions list of supported functions
variables list of special pre-defined variables
events list of supported event names
permissions permission nodes you can use
license license conditions for using this plugin
all display all help topics at once
Enjoy MadCommands…
…and if you build something great with it, don’t forget to let others know.