![]() 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. ![]() Learn about how commands work in The Beginner's Guide.Ĭlickable ( /cancel : ) (def : |. ![]() Commands are always written with a '-' before them, and are the core component of any script, the primary way to cause things to happen. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |