Add build scripts
This commit is contained in:
parent
cf37a31fd9
commit
b1e5ebeb29
9
build/minetest/auth-allprivs.txt
Normal file
9
build/minetest/auth-allprivs.txt
Normal file
@ -0,0 +1,9 @@
|
||||
player8::fast,noclip,grant,teleport,fly:
|
||||
player7::fast,noclip,grant,teleport,fly:
|
||||
player6::fast,noclip,grant,teleport,fly:
|
||||
player5::fast,noclip,grant,teleport,fly:
|
||||
player4::fast,noclip,grant,teleport,fly:
|
||||
player3::fast,noclip,grant,teleport,fly:
|
||||
player2::fast,noclip,grant,teleport,fly:
|
||||
player1::fast,noclip,grant,teleport,fly:
|
||||
admin::fast,noclip,grant,teleport,fly:1549284667
|
15
build/worldpainter/export-world.js
Normal file
15
build/worldpainter/export-world.js
Normal file
@ -0,0 +1,15 @@
|
||||
var filename = arguments[0];
|
||||
var exportDir = arguments[1];
|
||||
|
||||
print('Loading world ' + filename);
|
||||
var world = wp.getWorld()
|
||||
.fromFile(filename) // The filename of the world to load; may be absolute or relative to the current directory
|
||||
.go();
|
||||
|
||||
print('Exporting world to ' + exportDir);
|
||||
wp.exportWorld(world)
|
||||
.toDirectory(exportDir)
|
||||
.go();
|
||||
|
||||
print('Export completed')
|
||||
|
Loading…
x
Reference in New Issue
Block a user