User:Xenon dichloride/Terminal: Difference between revisions

No edit summary
Line 50: Line 50:
  is_su = false
  is_su = false
  privileges = 2
  privileges = 2
If that file already exists (the player has the same id), is_player = true. If multiple players would have files of the same name, subsequent player files have an integer appended to their name to represent their place when joining.
If that file already exists (the player has the same id), is_player = true. If a player's name contains "/" characters, they are replaced by "|". If multiple players would have files of the same name, subsequent player files have an integer appended to their name to represent their place when joining.


When a player ceases being a player, is_player = false. If a player or ex-player leaves the server, they are no longer a player and their file is removed.
When a player ceases being a player, is_player = false. If a player or ex-player leaves the server, they are no longer a player and their file is removed.
Line 65: Line 65:
|mk
|mk
|make
|make
|mk {location} {name} {contents as attached .txt file or code block} {owner or if blank: you}
|mk {location} {name (no "/")} {contents as attached .txt file or code block} {owner or if blank: you}
|Creates a file at the specified location.
|Creates a file at the specified location.
|-
|-
|mkdir
|mkdir
|make_directory
|make_directory
|mkdir {location} {name} {owner or if blank: you}
|mkdir {location} {name (no "/")} {owner or if blank: you}
|Creates a directory at the specified location.
|Creates a directory at the specified location.
|-
|-
Line 90: Line 90:
|rn
|rn
|rename
|rename
|rn {location} {new name}
|rn {location} {new name (no "/")}
|Changes the name of a file or directory.
|Changes the name of a file or directory.
|-
|-