cd
is the command to change directories. Here we use cd to mistakenly access scripts and then to exit out of it.
..
means to access the "parent" folder of scripts. You can think of it as going "up" once.
...
will allow us to access it's "grandparent" folder and more dots will do the same so on so forth.
In the next few steps, we'll be learning about a new command line tool called sftp! We'll be using it to upload worldedit and the arena schematic to our server
Download worldedit.jar Download arena-ctf.schematicType in put Downloads/arena-ctf.schematic data/plugins/schematics
and put Downloads/worldedit.jar data/plugins
data/plugins was the path for the folder we were hunting for!
The first argument for the put
command is the location of whatever we want to transfer over to the server.
The second argument is where we want to put it!
Downloads/arena-ctf.schematic
and Downloads/worldedit.jar
are called relative paths! They'll only work if we sftp from the home directory and have both of those files in our downloads! The Downloads folder is located in the home directory.
See if worldedit works the next time your start your server!
Teach coding to your students with MVCode Teach
MVCode offers an integrated product designed to teach coding to students.