6 Replies
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
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.
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
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.
https://www.spigotmc.org/resources/conditionalevents-custom-actions-for-specific-events-1-8-1-20.82271/ conditional events has one time events
SpigotMC - High Performance Minecraft
ConditionalEvents | Custom Actions for specific Events [1.8-1.20]
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