Skip to content

Conversation

@DmitriyColeman
Copy link

This PR refines the map teleport functionality by adding the corresponding ACL permission and implementing logic to teleport to the ground instead of a fixed coordinate.
Additionally, the teleport has been moved to the server side to avoid issues with onPlayerTeleport and other server-side anti-cheat mechanisms.

@DmitriyColeman DmitriyColeman requested a review from qaisjp as a code owner January 6, 2026 21:24
Copy link
Contributor

@omar-o22 omar-o22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

end
)

function UpdateMapPermissions()
Copy link
Contributor

@omar-o22 omar-o22 Jan 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noticed something, rename this function to

function aMap.UpdateMapPermissions()

Then remove local from aMap


function UpdateMapPermissions()
aMap.permission = hasPermissionTo("general.adminMapWarp")

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this empty line

aMap.permission = hasPermissionTo("general.adminMapWarp")

end

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This too

@DmitriyColeman
Copy link
Author

Done :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants