EssentialsX / Essentials

The modern Essentials suite for Spigot and Paper.
https://essentialsx.net
GNU General Public License v3.0
1.96k stars 979 forks source link

Respect teleport delay for "others" commands #1496

Open Kryniowesegryderiusz opened 7 years ago

Kryniowesegryderiusz commented 7 years ago

Works: When executing the command "/warp [warpName] [player]" as an OP (in-game), the player is instantly teleported to the warp location (even when a delay is set in the config).

Not working: When executing the command "warp [warpName] [player]" through the server console or with a command block, the player is teleported after the teleport delay set in the config passes (instead of teleporting instantly). All teleportations by console should be instant just like it is when an OP executes the command.

mdcfe commented 7 years ago

I think this would need some refactoring - at the minute, running the command from the console behaves differently to running the command on someone else with the essentials.warp.others permission as there isn't a user running the command when it's run from the console.

Kryniowesegryderiusz commented 7 years ago

I know, but still that's really annoying, when you add ex. to armorstands command runned by console and he must wait.

eUipKh commented 3 years ago

Any updates on this? I think warping players from console should behave the same way that /spawn [player].

Is really annoying for player to wait the warmup time when the command is executed by the console.