Question Trying to get /<command> to populate external files

pigeonnuggetz

New member
Aug 31, 2024
1
0
1
I'm pretty new to development but I managed to get a command registered. /restore is supposed to populate any existing server backups in the specific directory on the pi that hosts the server. Instead it just populates my MC username.

In my case, I am already using eBackups to get a head start and I'm sure that there is some nifty restore plugin out there already but I'm using this as a chance to learn java. Anyway, I see all the .zip files when I ssh into my pi and the plugin so far seems to find the directory (otherwise I have it set to create one) I have double checked the path to the backups several times.

UPDATE: I see now that what I was attempting was not going to populate predictive text in game chat, I instead need to add a tab completer class.
 
Version Output
This server is running Paper version git-Paper-496 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 7ac24a1 on ver/1.20.4)
Last edited: