![]() ![]() clickable reward_drop usages:1 save:reward - announce " ] > !" #Use to generate a clickable message that will run a task script named 'reward_drop', that can be used by only the first person to click it. clickable test_script save:my_clickable - narrate "Click ] > !" #Use to generate a clickable message that will run a task script named 'test_script'. ![]() clickable save:my_clickable : - narrate "Hello there!" - narrate "Click ] > !" #Use to generate a clickable that just narrates "hello there!" when clicked. ] > Adds a click command to the element, which makes the element execute the input command when clicked. returns the command to use in "on_click". You can cancel a clickable at any time via "cancel:", where ID is the generated ID from saving the initial generated command. Players will need the permission "denizen.clickable" to be able to use this. This internally generates a command of the form "/denizenclickable ". Note that it is possible for a player to find the generated command ID in their logs and send it to another player to "/" execute, so if you don't restrict player access it may be abused in that way. Defaults to unrestricted (any player that sees the click message may use it). Optionally specify what players are allowed to use it. WARNING: if you use clickables very often without a duration limit, this can lead to a memory leak.Ĭlickables that have a specified max duration will occasionally be cleaned from memory. If no duration is specified, the clickable will remain valid until the server stops or restarts. Optionally specify a maximum duration it can be used for with 'until'. Optionally specify a maximum number of usages (defaults to unlimited). When using a sub-section, the running commands will be in their own queue, but copy out the original queue's definitions and context source. When running a task, optionally any definitions to pass. Specify a task script to run, or put an executable script section as sub-commands. Generated clickables are a utility intended to enable clickables that are restricted from being normally accessed without receiving a clickable message. Generally, prefer to write a command script and simply "on_click" rather than using generated clickables. Generates a clickable command for players. bungeeexecute "alert Network restart in 5 minutes."Ĭlickable ( /cancel : ) (def : |. If you specify "as:", you can use a PlayerTag or a UUID to automatically execute as that player, similar to "execute as_player". This command runs a command on the Bungee proxy server. Runs a command on the Bungee proxy server, or a player. #Use to make the linked (non-op) player execute a command that normally only ops can use. #Use to execute the save-all command as the server. returns the output to an as_server sender. Usually the 'execute' command should be reserved for interacting with external plugins. Generally, you should never use this to execute a vanilla command, there is almost always a script command that should be used instead. It can also be used with 'as_player' or 'as_op' to use network interception to silence the command output to player chat. Note that 'silent' might or might not work with different plugins depending on how they operate. The 'silent' option can be specified with 'as_server' to hide the output. ![]() This can be considered the inverse of '/ex' (a Bukkit command that executes Denizen script commands). Note that this is a Denizen script command that executes Bukkit commands. A slash at the start will be interpreted equivalent to typing two slashes at the front in-game. Note: do not include the slash at the start. Note that you should generally avoid using 'as_op', which is only meant for very specific special cases. Showing 22 search results for execute out of 3714 meta-documentation entries.Įxecute (silent)Įxecutes an arbitrary server command as if the player, NPC, or server typed it in.Īllows the execution of server commands through a Denizen script.Ĭommands can be executed as the server, as an npc, as an opped player, or as a player, as though it was typed by the respective source. Learn about how Denizen works in The Beginner's Guide. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |