Flemmli97 / Flan

Fabric Landclaiming Mod
81 stars 34 forks source link

[Feature Request]: Ability to create claims from server console #259

Closed bjcosta closed 10 months ago

bjcosta commented 11 months ago

Suggestions

I use a script to setup new fabric servers, and want to automate creating some claims as part of that initial setup process for both admin and some base users. For my use case it would be great to allow a server op to create claims from the server terminal (for themselves, other user etc) instead of having to be logged in as a player in order to execute the commands.

I looked at the wiki commands list: https://github.com/Flemmli97/Flan/wiki/Commands

I propose adding some new optional parameters to the addClaim command:

addClaim <x y z> <x y z> [dimension] [username]

Where username can be a UUID or a username and dimension identifies in which dimension the position is for.

I assume a few of the commands currently use the player context and maybe could have this optional [username] and dimension added to them to allow ops to do things for other players.

Solution

No response