Jump to content
  • 0

How to do warp with essentials enabled?


Grangeye

Question

So I have the essentials plugin meaning I can't do "@p" without typing "minecraft:" before the first command. So I want to make a command block do "/warp @p JoelArena"

how do I do this since I can't do "minecraft:warp" as it's not a default minecraft command. Also I have 12/12 plugins I can't get another to fix it.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hey! 

With the essentials plugin you can have the user have permission to be sent to that arena as command blocks wouldn't work unless you sudo (force) the user to run the command. Even if you sudo (force) the user to run the command [Such as: /warp JoelArena] they would require permission to do so.

 

You can easily sort this if you have a permission plugin such as any of the following: PermissionsEx and LuckPerms. I personally suggest LuckPerms.

 

The permission node for this specific warp you would be giving to the user(s)/rank(s) would be: essentials.warp.joelarena

For other warps the permission node would be: essentials.warp.[WARP-NAME]

Just replace "[WARP-NAME]" with the name of the warp

 

Yes, I am aware that you said you got 12/12 plugins but a permission/rank plugin is essential while making a server. Hope this helps, if you got anymore questions feel free to ask below!

Link to comment
Share on other sites

  • 0

You can't get the nearest player(@p) in a command block with essentials alone. However, you can use minecraft methods to make the player execute the command themselves.

For example: /give <your name> oak_sign{BlockEntityTag:{Text1:'{"text":"","clickEvent":{"action":"run_command","value":"warp JoelArena"}}',Text2:'{"text":"Warp to Arena"}',id:"minecraft:sign"},display:{Name:'{"italic":false,"text":"Place Me"}'}}

When a player right clicks the sign and the player has the permissions to run the command /warp JoelArena, it will execute the command. This is a bit of a cluncky method, however, it would work with no extra plugins.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...