-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Worldedit Selections (optional) #15
base: master
Are you sure you want to change the base?
Conversation
@@ -118,25 +118,52 @@ minetest.register_chatcommand("area_pos", { | |||
end, | |||
}) | |||
|
|||
function areas.useWorldedit(playerName) | |||
if worldedit then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Throws a warning if WorldEdit isn't installed.
Sounds good, but commands like |
I was thinking of same feature but in different way : |
All access to the area positions are now done through functions.
Commit e93e5c0 modifies all access to the position storage to use functions. If a user a user with the worldedit privilege uses the /area_pos command, it will update the worldedit selection (being used by areas). |
If you have no WE privilege, you won't be able to set markers. And if you can't set markers there will be none? Is it still relevant to check WE privileges? |
Uses WorldEdit selections if WorldEdit is installed, and the player has the 'worldedit' privilege.