|
|
@ -5,7 +5,7 @@ local S = minetest.get_translator("creative_regions") |
|
|
|
creative_regions = {} |
|
|
|
|
|
|
|
|
|
|
|
areas_owner_privs = minetest.settings:get("creative_regions.owner_privs") or "+creative, +fast, +fly" |
|
|
|
areas_interact_privs = minetest.settings:get("creative_regions.interact_privs") or "+creative, +fast, +fly" |
|
|
|
areas_guest_privs = minetest.settings:get("creative_regions.guest_privs") or "" |
|
|
|
noregion_privs = minetest.settings:get("creative_regions.noregion_privs") or "-creative, +fast, -fly" |
|
|
|
default_privs = minetest.settings:get("creative_regions.default_privs") or "+creative, +fast, +fly" |
|
|
@ -92,7 +92,7 @@ function creative_regions:update_player(player, initialize) |
|
|
|
|
|
|
|
-- overwrite |
|
|
|
if areas_owner or areas_open then |
|
|
|
creative_regions:add_privs_from_string(new_privs_table, areas_owner_privs) |
|
|
|
creative_regions:add_privs_from_string(new_privs_table, areas_interact_privs) |
|
|
|
creative_regions:add_privs_from_string(new_privs_table, "-arena") |
|
|
|
end |
|
|
|
|
|
|
|