Dear PMMP Community, Thank you, everyone, for helping me with my last problem. Everyone here is so helpful and knowledgeable! I use Minecraft PE with my students as a tool in our art and steam class. Everything works but I want to streamline some steps for myself and for other teachers in my school to use the pocket mine server. Using terminal on an apple computer to run the pocket mine server... 1. How can I create a file that automatically opens terminal, opens the containing folder "cd <pocketmine folder>", and does the "./start.sh" command. So I could just click one file and have everything start 2. How can I have the server start and automatically enter a few commands. The commands I want the server to start with are "time set 6000", then "time stop". Thank you, Daniel
That can either be done through a plugin (dispatching commands using a yml config file) or (using the api to set time). If you don't want to use that you can make a start script that opens a pipe and enters cmds into the server.
for the first one you can make a bash script If clicking on start.sh dosent work for some reason for the second one you could probably do with a simple plugin that lock the time itself
A shell for cd-ing & starting: you can put this in a plain text file with .sh at the end Code: /DIR_TO_SERVER/start.sh Remeber to do chmod +x