main/Config

Configuration File


Default

Define new commands like this: /command = /alias | /alias | /alias

Variables

You can define a "variable" by putting it between brackets {Example}

Predefined variables

VariableDescription
{$PlayerName}Returns the name of the player who executes the command
{$DisplayName}Returns the players display name
{$WorldName}Returns the name of the world the player is in
{$String}All arguments after this tag are put together ( usefull for messages )

Since version 1.1 you can also colour messages using predefined values, you can find these values here: Colour Variables

Function ( can only be used in the first variable )

FunctionParametersDescription
[ChatAs]{TargetPlayer} {$String}Alter the player the command was send from
[Message]{$String}Sends a messsage to the player
[Broadcast]{$String}Sends a message to all the players
[KickSelf]{$String}Kicks the player with the given message
[KickOther]{TargetPlayer} {$String}Kicks the target player with the given message
[KillSelf]Kills the player running the command
[KillOther]{TargetPlayer}Kills the targetplayer
[ClearSelf]Clears the players inventory
[ClearOther]{TargetPlayer}Clears the targetplayer's inventory

<sub>Command Edit - Patrick le Duc / KoffiePatje</sub>


Comments

Posts Quoted:
Reply
Clear All Quotes