Recent Discussions

Restricting player commands to specific plots

Unanswered
Red-crowned Parrot posted this in #questions
Messages36 messages
Views0 views
Red-crowned ParrotOP
I've been put in charge of setting up a sister server for the SMP I play on. It will be a creative server. Attempting to allow the use of Litematica pasting, but need a way to limit the areas in which a player can run commands such as fill and setblock. Any ideas?

Currently using PlotSquared and Griefdefender.
limit the areas in which a player can run commands
WorldGuard regions + LuckPerms Extra Contexts: https://github.com/LuckPerms/ExtraContexts

You select a region with WorldEdit, make it a WorldGuard region, then configure the permissions nodes/groups for the commands you want to region-limit to only activate within the LuckPerms WG region context corresponding to the region you defined.
@PM_ME_YOUR_REPO
limit the areas in which a player can run commands
WorldGuard regions + LuckPerms Extra Contexts:
https://github.com/LuckPerms/ExtraContexts

You select a region with WorldEdit, make it a WorldGuard region, then configure the permissions nodes/groups for the commands you want to region-limit to only activate within the LuckPerms WG region context corresponding to the region you defined.
Red-crowned ParrotOP
Do you know if this would work in tandem with PlotSquared? The idea would be to only allow players to use these commands within the plots they claim and not on the roads in between or plots claimed by other players.
Connecticut Warbler
The intersection between powerful editing tools and region protection, etc is one of those things that have to be basically built into the interacting plugins. Either plotsquared needs to know about worldedit, or vice versa. Same with setblock commands and the like.

Luckily, it seems PGDK found the page that details Plotsquared's WE support.
Red-crowned ParrotOP
Worldedit is up and going and is restricted within the plots, but I haven't figured out a way for a player to load/paste a schematic with world edit without uploading the schematic file to the server folder which is not something we would want to have to do for each player.
Connecticut Warbler
vanilla comands limits are always gonna be funky
Red-crowned ParrotOP
That's what I'm quickly realizing. Litematica using the vanilla commands is the issue honestly.
Plugin that lets you upload WE schematics from Discord directly to server
Red-crowned ParrotOP
I also have about 10 hours of experience at this point with setting up a server and browsing config files/adding permission with LP. So I'm basically useless lmao
Connecticut Warbler
fawe has a upload utility
Red-crowned ParrotOP
Oh! I'll definitely look into that.
Connecticut Warbler
put schem there and you get a cmd*
Red-crowned ParrotOP
Let me look at these options. Thank you all so much for the feedback! This has been daunting to say the least.
Loading...