Permission to do commands just once?

Is there a way to allow a default player to do /warp once?
6 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by kiri2022#0
Kiri
KiriOP2y ago
Im essentially looking for a way to get new players from A->B upon joining, without allowing them to use it beyond that, as the server is vanilla.
Torrent
Torrent2y ago
there's a few ways you can do that, but what I did on a server once was created a "board" with buttons on it, and using the commandbuttons plugin I added the /rtp command run from console. In your case you could give the /warp command to the button but just don't give players permission or you could use simpleportals and use the /portals addcmd command to give players the warp command upon going through the portal as for just giving them a one time command, i think luck perms has a setting for that, read their docs
Kiri
KiriOP2y ago
I will have to check in with luckperms wiki. as far as i know they allow for expiry dates on permissions, i was not able to find much else in the editor.
Torrent
Torrent2y ago
You could do the following: •Give players the permission to warp •use conditionalevents to set the permission node to false upon running the command •then players will only be able to run it once, they will have the permission by default but the permission is removed upon running the command for the first time I think you’re right about luck perms tho, not sure if they have the capability of doing one time perms, but if you look deeper you might be able to find if. “Contexts” in luck perms can do a lot

Did you find this page helpful?