oh well i used forge, installed the server profile, ran the server properties, changed the eula to true, ran it again, then i port forwarded, then whenever i go on the server i just double click on minecraft_server.1.12.2 and it starts it. then to stop it i
type stop in the chat in the server window