So you can have different cooldowns if it was triggered from different InteractiveCommands or different custom alias. if command starts with ucooldown:! then differently than previous cooldown this will apply depending on source.Example: cooldown:5! cmi heal will heal player, but not more frequently than every 5sec. if command starts with cooldown:! then that line or any following ones (if defined) will have cooldown before reusing it. Keep in mind that this will not perform as player who initialized command, but as completely different fake OP player. This is slightly different then asConsole! as you will not receive any feedback message and server will process command like it was done by real player. If command starts with asFakeOp! command will get performed as a player who has OP.This can be used in ares like customAlias which by default performs commands like player if not defined specifically to be performed as console. If command starts with asConsole! then command will be performed from console.If command starts with asPlayer! then command will be performed as player who sent original initialising command.If command starts with kickall! then all players will be kicked from server with defined message.If command starts with subtitle! then all players will get subtitle message defined after this variable.If command starts with title! then all players will get title message defined after this variable.If command starts with actionbar! then all players will get action bar message defined after this variable.If command starts with broadcast! then message will be sent to everyone on server in simple manner without any additional prefixes. If command starts with msg! and then player name is given, a simple message will be sent to that player if he is online.This will not work with scheduler as we have no clue which player should be used in that case. If command contains then target player name will be used if possible.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |