Essentials: Command cost behaviour with teleporting

Created on 5 Aug 2020  路  3Comments  路  Source: EssentialsX/Essentials

Feature request

Add additional customisation to how a player is charged in regards to the success of a teleport.

Feature description
There should be an option in the config to determine whether players are charged either when initiating a teleport (whether that is a /tpa request, /warp, /spawn etc..) or whether they are charged once a teleport is successful.

Something like:
charge-on-teleport-success: true
could determine whether players are charged for initating a teleport, or charged for successfully teleporting.

How the feature is useful
This would allow a server owner to prevent users from being charged for failed teleports, such as moving during the wait delay, or being denied a teleport request. It is unknown to the player whether a teleport will be successful, and so implementing this could mitigate teleporting being a gamble, where a player risks wasting their money for no reason.

Implementation might also solve #3518

unconfirmed

All 3 comments

Why would there be two options, one for initiating the teleport and one when the event completed successfully?
When would you charge someone for unsuccessful teleports?

My idea is to move the payment strictly to successful teleports rather than charging it before.

My idea is to move the payment strictly to successful teleports rather than charging it before.

this is how it should be. if you're being charged for failed teleports thats a bug which should be fixed

if you're being charged for failed teleports thats a bug which should be fixed

Should this be labeled as an (unconfirmed) bug rather than enhancement?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Zhythero picture Zhythero  路  3Comments

HexedHero picture HexedHero  路  3Comments

fieu picture fieu  路  3Comments

TheMattVid picture TheMattVid  路  3Comments

MithrandirCraft picture MithrandirCraft  路  3Comments