Skip to content

Cmdr v1.8.0

Compare
Choose a tag to compare
@evaera evaera released this 14 Oct 20:07
· 175 commits to master since this release
  • Add var and var= default commands, which act as a persistent key-value store.
    • Keys can begin with a dot to be per-session only.
    • Keys can begin with a $ to be game-wide, shared among all players.
    • Keys can begin with $. to be game-wide and per-session.
  • Add fetch command, which fetches and returns data from the Internet.
  • Generalize the *, ., ?, and ?N operators from the player type for all types.
    • Adds a Default function to types to determine their "default" value, this maps to .
    • * is determined by calling the Autocomplete function with an empty string
    • ? is a single random value from the above;
    • ?N represents a list of N random values;
    • ** is * (all) minus . (default), which is commonly referred to as "others" in the player type
  • Fix client side validation to disallow sending commands with incomplete arguments
  • New commands json-array-encode and json-array-decode
  • New command resolve, which resolves the argument value operators into lists.
  • New commands len, pick, and rand.
  • run now has an alias: >
  • replace now has an alias: //
  • run command now supports multiple commands delimited by &&
    • Slot operator allows you to insert the output of the previous command in a chain of commands separated by &&. For example: > echo evaera && kill || (evaera dies)
  • New command edit allows you to edit text within a text area
  • New join and map commands
  • New goto-place, follow-player, rejoin, and get-player-place-instance commands.
  • New refresh command.
  • New uptime command.
  • Cmdr no longer removes preceding skipped arguments ("") when using AutoComplete on a later argument (#104)
  • GetCommandsAsStrings has been renamed to GetCommandNames; old name still works for backwards compatibility