MadCommands 2.0 is going to be released on LEET soon.
Here’s a list of features that have changed or been added:
New Features
- Added support for
>=
and<=
operators - Added
touch
event trigger - Added
chat
event trigger - Added
xp
command for getting and setting player’s experience - Added
treat
command to set player’s condition, including health, food, saturation, and exhaustion - Added
playergroup
function to check PurePerms group of specific player - Added functions:
lowercase
,uppercase
,substring
,position
,replace
- Added
dialog
function to allow interacting with players via GUI dialogs - Added
dialogsdemo
sample command procedure - Added
%true%
and%false%
reserved variables to simplify working with boolean values - Added ability to truly unregister commands without having to restart server
- Added possibility to create and edit commands via GUI dialogs
Changes
- Made the
let
command implicit. You can simply omit it. - Multiple lines at once can now be deleted from a command procedure using a single
/cmd delete startline..endline
command - Unregistered and disabled commands are now visually differenciated in the command list
- Subtracting flat array from flat array now produces valid flat array (indexes are renumbered)
- Subtracting an array from an associative array now removes only elements with both key and value matching
Bug fixes
- Fixed
if
/then
to correctly recognize game commands - Fixed the
let
command to be able to assign value to zero-indexed array element - Fixed issue with automated conversion of associative array to string sometimes displaying the array as flat
You can check your version of MadCommands by typing /version MadCommands
.
If your version is earlier than 2.0 then you should be able to upgrade it by restarting your server, once it is released.
If you’re new to MadCommands, then read MadCommands - Getting Started
Full help for the latest version is available at http://bit.do/madchelp
Video tutorials are published semi-regularly at http://bit.do/madctut
Screenshots
Here are some screenshots of what you can look forward to getting in this new version: