Difference between revisions of "TC-Coasters/Commands and Permissions"
(Created page with "« Go back TC-Coasters has a few commands, here's a list of all TC-Coasters commands. == Normal Commands== • /tcc give - Gives an intera...") |
|||
Line 5: | Line 5: | ||
== Normal Commands== | == Normal Commands== | ||
• /tcc give - Gives an interactive Map editor for creating, adjusting and removing coaster tracks | • /tcc give - Gives an interactive Map editor for creating, adjusting and removing coaster tracks | ||
+ | |||
• /tcc undo/redo - Undo or redo last changes you made | • /tcc undo/redo - Undo or redo last changes you made | ||
+ | |||
• /tcc reload - Reload all coasters from disk | • /tcc reload - Reload all coasters from disk | ||
+ | |||
• /tcc save - Forces a save to write all pending contents to disk | • /tcc save - Forces a save to write all pending contents to disk | ||
+ | |||
• /tcc copy - Copies the selected nodes to the player's clipboard | • /tcc copy - Copies the selected nodes to the player's clipboard | ||
+ | |||
• /tcc paste - Pastes the contents of the clipboard at the player's position, aligned by block, rotated based on how the player looks | • /tcc paste - Pastes the contents of the clipboard at the player's position, aligned by block, rotated based on how the player looks | ||
+ | |||
• /tcc cut - Copies and deletes the selected nodes | • /tcc cut - Copies and deletes the selected nodes | ||
+ | |||
• /tcc delete - Deletes all selected nodes | • /tcc delete - Deletes all selected nodes | ||
+ | |||
• /tcc lock - Locks the selected coasters so that no more changes can be made to it, unless unlocked. Requires permission. | • /tcc lock - Locks the selected coasters so that no more changes can be made to it, unless unlocked. Requires permission. | ||
+ | |||
• /tcc unlock - Unlocks the selected coasters so that they can be modified again by players. Requires permission. | • /tcc unlock - Unlocks the selected coasters so that they can be modified again by players. Requires permission. | ||
+ | |||
• /tcc export - Exports all selected nodes as a coaster CSV file, and uploads it to a Hastebin server ( https://paste.traincarts.net by default) | • /tcc export - Exports all selected nodes as a coaster CSV file, and uploads it to a Hastebin server ( https://paste.traincarts.net by default) | ||
+ | |||
• /tcc export nl2 - Exports in NoLimits2 CSV format instead | • /tcc export nl2 - Exports in NoLimits2 CSV format instead | ||
+ | |||
• /tcc import - Imports the coaster by downloading from a Hastebin server. Supports TCC CSV format and NoLimits2 CSV format) | • /tcc import - Imports the coaster by downloading from a Hastebin server. Supports TCC CSV format and NoLimits2 CSV format) | ||
+ | |||
• /tcc export (nl2) [filename] - Exports the coaster to file, saved to the plugins/TCCoasters/export directory. | • /tcc export (nl2) [filename] - Exports the coaster to file, saved to the plugins/TCCoasters/export directory. | ||
+ | |||
• /tcc import [filename] - Imports the coaster from file. Place the .csv file to import in the plugins/TCCoasters/import directory. It is possible to import from the export directory as well. | • /tcc import [filename] - Imports the coaster from file. Place the .csv file to import in the plugins/TCCoasters/import directory. It is possible to import from the export directory as well. | ||
==Advanced Commands== | ==Advanced Commands== | ||
• /tcc posx [value] - Sets the x-coordinate of all selected nodes | • /tcc posx [value] - Sets the x-coordinate of all selected nodes | ||
+ | |||
• /tcc posy [value] - Sets the y-coordinate of all selected nodes | • /tcc posy [value] - Sets the y-coordinate of all selected nodes | ||
+ | |||
• /tcc posz [value] - Sets the z-coordinate of all selected nodes | • /tcc posz [value] - Sets the z-coordinate of all selected nodes | ||
+ | |||
• /tcc posx add [value] - Adds a value to the x-coordinate of all selected nodes (moves it). Works for posy/posz too. | • /tcc posx add [value] - Adds a value to the x-coordinate of all selected nodes (moves it). Works for posy/posz too. | ||
+ | |||
• /tcc posx align [value] - Sets the x-coordinate of all selected nodes relative to the current position block | • /tcc posx align [value] - Sets the x-coordinate of all selected nodes relative to the current position block | ||
+ | |||
• /tcc posx average - Sets the x-coordinate of all selected nodes to the average value of all selected nodes. Works for posy/posz too. | • /tcc posx average - Sets the x-coordinate of all selected nodes to the average value of all selected nodes. Works for posy/posz too. | ||
+ | |||
• /tcc orientation [x] [y] [z] - Sets the orientation (up-direction) of all selected nodes | • /tcc orientation [x] [y] [z] - Sets the orientation (up-direction) of all selected nodes | ||
+ | |||
• /tcc orientation (up/down/north/etc.) - Sets the orientation (up-direction) of all selected nodes to a given face | • /tcc orientation (up/down/north/etc.) - Sets the orientation (up-direction) of all selected nodes to a given face | ||
+ | |||
• /tcc rail [x] [y] [z] - Sets the rail block of all selected nodes to the coordinates specified | • /tcc rail [x] [y] [z] - Sets the rail block of all selected nodes to the coordinates specified | ||
+ | |||
• /tcc rail (up/down/north/etc.) - Moves the rail block by one block | • /tcc rail (up/down/north/etc.) - Moves the rail block by one block | ||
+ | |||
• /tcc railx (add/average) ([value]) - Similar to posx/y/z, but for the rail block position of all selected nodes | • /tcc railx (add/average) ([value]) - Similar to posx/y/z, but for the rail block position of all selected nodes | ||
+ | |||
• /tcc rail reset - Resets the rail block to the default position (where the node is located) | • /tcc rail reset - Resets the rail block to the default position (where the node is located) | ||
+ | |||
• /tcc animation select [name] - Selects an animation, so that all future changes to nodes that have this animation will be saved under this name | • /tcc animation select [name] - Selects an animation, so that all future changes to nodes that have this animation will be saved under this name | ||
+ | |||
• /tcc animation play [name] [time] - Plays an animation by name for all selected nodes, with a time duration in seconds | • /tcc animation play [name] [time] - Plays an animation by name for all selected nodes, with a time duration in seconds | ||
+ | |||
• /tcc animation add [name] - Creates a new animation with the given name for all selected nodes, overwriting previous ones | • /tcc animation add [name] - Creates a new animation with the given name for all selected nodes, overwriting previous ones | ||
+ | |||
• /tcc animation remove [name] - Removes an animation from all selected nodes | • /tcc animation remove [name] - Removes an animation from all selected nodes | ||
+ | |||
• /tcc animation clear - Removes all animations in all selected nodes | • /tcc animation clear - Removes all animations in all selected nodes |
Revision as of 15:37, 15 April 2021
TC-Coasters has a few commands, here's a list of all TC-Coasters commands.
Normal Commands
• /tcc give - Gives an interactive Map editor for creating, adjusting and removing coaster tracks
• /tcc undo/redo - Undo or redo last changes you made
• /tcc reload - Reload all coasters from disk
• /tcc save - Forces a save to write all pending contents to disk
• /tcc copy - Copies the selected nodes to the player's clipboard
• /tcc paste - Pastes the contents of the clipboard at the player's position, aligned by block, rotated based on how the player looks
• /tcc cut - Copies and deletes the selected nodes
• /tcc delete - Deletes all selected nodes
• /tcc lock - Locks the selected coasters so that no more changes can be made to it, unless unlocked. Requires permission.
• /tcc unlock - Unlocks the selected coasters so that they can be modified again by players. Requires permission.
• /tcc export - Exports all selected nodes as a coaster CSV file, and uploads it to a Hastebin server ( https://paste.traincarts.net by default)
• /tcc export nl2 - Exports in NoLimits2 CSV format instead
• /tcc import - Imports the coaster by downloading from a Hastebin server. Supports TCC CSV format and NoLimits2 CSV format)
• /tcc export (nl2) [filename] - Exports the coaster to file, saved to the plugins/TCCoasters/export directory.
• /tcc import [filename] - Imports the coaster from file. Place the .csv file to import in the plugins/TCCoasters/import directory. It is possible to import from the export directory as well.
Advanced Commands
• /tcc posx [value] - Sets the x-coordinate of all selected nodes
• /tcc posy [value] - Sets the y-coordinate of all selected nodes
• /tcc posz [value] - Sets the z-coordinate of all selected nodes
• /tcc posx add [value] - Adds a value to the x-coordinate of all selected nodes (moves it). Works for posy/posz too.
• /tcc posx align [value] - Sets the x-coordinate of all selected nodes relative to the current position block
• /tcc posx average - Sets the x-coordinate of all selected nodes to the average value of all selected nodes. Works for posy/posz too.
• /tcc orientation [x] [y] [z] - Sets the orientation (up-direction) of all selected nodes
• /tcc orientation (up/down/north/etc.) - Sets the orientation (up-direction) of all selected nodes to a given face
• /tcc rail [x] [y] [z] - Sets the rail block of all selected nodes to the coordinates specified
• /tcc rail (up/down/north/etc.) - Moves the rail block by one block
• /tcc railx (add/average) ([value]) - Similar to posx/y/z, but for the rail block position of all selected nodes
• /tcc rail reset - Resets the rail block to the default position (where the node is located)
• /tcc animation select [name] - Selects an animation, so that all future changes to nodes that have this animation will be saved under this name
• /tcc animation play [name] [time] - Plays an animation by name for all selected nodes, with a time duration in seconds
• /tcc animation add [name] - Creates a new animation with the given name for all selected nodes, overwriting previous ones
• /tcc animation remove [name] - Removes an animation from all selected nodes
• /tcc animation clear - Removes all animations in all selected nodes