[FEATURE] More Operator Commands
ginsm opened this issue ยท 5 comments
Anytime, I love the mod and hope you add some server operator commands like restore graves to players and clear graves and it could definately be among the most used I think.
Suggested by Boodlyneck on YouTube
Not sure of the ETA but I'll definitely get around to adding it at some point.
Started working on this today.
Currently, each death's grave data is stored on the server via Persistent State per-player. By default, there's a limit of 10 graves stored per player but it's configurable between 0 and 20 as it is; the maximum limit may change eventually. This data will also be used in issue #2 eventually.
I still need to work on creating a command to list the graves and a command to restore a specific grave.. but there's still no ETA for when that'll be finished due to work and what not.
Both the restore and list commands have been completed (though further testing is needed). I'll be making two more commands and then I think this feature is more or less feature complete.
The next command I'll be working on is one to clear a player's graves or individual graves. The last one will be a command to list all of the players that have graves stored on the server.
All of the commands have been created and seem to be working as intended. I need to do further testing and port the functionality to 1.19.3 and 1.19.4 before releasing it.
Note: Currently, the list interface is chat-based and rather spammy.. eventually I'll convert it into an actual GUI that's accessible from the Grave Compass (#2).
I've sent out an update for 1.19.2 containing this functionality (version 3.1.0). Both 1.19.3 and 1.19.4 will get the functionality later today when I get time.