Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
Update!
Changelog:
Fixed annoying "You havent got the Permission for that"-Bug when punching Blocks
Each Player now has his/her own P1 and P2
e.g. sfan5 has selected his house while jordan4ibanez has selected a tnt cannonDownload in first Post!
a cannon..A CANNON..i didn't know 2500x3000x1000 was a cannon :D
Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
sfan5 wrote:Update!
Changelog:
Fixed annoying "You havent got the Permission for that"-Bug when punching Blocks
Each Player now has his/her own P1 and P2
e.g. sfan5 has selected his house while jordan4ibanez has selected a tnt cannonDownload in first Post!
a cannon..A CANNON..i didn't know 2500x3000x1000 was a cannon :D
That was just an Example!!!
Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
Even with the weperms.txt file in my bin folder, it still gives me permision denied when i try to set blocks. weperms.txt is just a txt document right?
Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
needs to be where ever it was launched. if theres a link on your desktop then it needs to be there
Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
hmm, im running minetest just on my desktop in a file, where i go to bin and click the compiled minetest application. in my weperms.txt is : {Scott}
Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
you need to make the text file look like this:
{scott}Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
but isnt it case sensitive? my username is (capital S) Scott
Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
then why wouldnt it work? im running latest unstable, on the single player tab were it desnt give me an option to put a username or password anywere.
Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
then why wouldnt it work? im running latest unstable, on the single player tab were it desnt give me an option to put a username or password anywere.
World Edit doesn't work in Single Player, use the multiplayer mod and leave blank the ip adress
Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
Or add the user "singleplayer" to weperms.txt
Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
Or add the user "singleplayer" to weperms.txt
That's a good tip, should be in the first post.
Latest article: Mesecons Basics.
Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
thx! adding {singleplayer} to weperms.tx worked perfectly, totaly should be in original post. +1 to the mod, i built my comic book city in less then an hour.
Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
I suggest:
diff -rupN worldedit/init.lua worldedit_modified/init.lua
--- worldedit/init.lua 2012-02-24 21:31:10.000000000 +0200
+++ worldedit_modified/init.lua 2012-03-28 12:36:48.324525439 +0300
@@ -50,6 +50,9 @@ function string:split(delimiter)
return result
end
function check_player_we_perms(pname)
+ if pname == "singleplayer" then
+ return true
+ end
local fi = ""
local f = io.open("weperms.txt", "r")
if f ~= nil thenEDIT: Actually, that is not exactly safe... somebody can log in as "singleplayer" on a regular server. 8D I'll figure out a way for this...
Also, weperms.txt should not be in bin/; it should be in the world directory. The bin/ directory is not even writeable on normal Linux installations, and also it isn't actually the bin/ directory, it is the *working directory*, which just happens to always be bin/ on Windows. Thus I suggest:
minetest.get_worldpath().."/weperms.txt"EDIT: In a future version, there will be minetest.is_singleplayer(); thus I recommend doing this:
diff -rupN worldedit/init.lua worldedit_modified/init.lua
--- worldedit/init.lua 2012-02-24 21:31:10.000000000 +0200
+++ worldedit_modified/init.lua 2012-03-28 12:36:48.324525439 +0300
@@ -50,6 +50,9 @@ function string:split(delimiter)
return result
end
function check_player_we_perms(pname)
+ if minetest.is_singleplayer and minetest.is_singleplayer() then
+ return true
+ end
local fi = ""
local f = io.open("weperms.txt", "r")
if f ~= nil thenRe: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
hey sfan! i have a crazy idea for this..why not a //nuke command..which turns EVERYTHING into tnt? :)
Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
hey sfan! i have a crazy idea for this..why not a //nuke command..which turns EVERYTHING into tnt? :)
so when you set it of it crashs the server niceXD
Minetest.com Editor. The one stop shop to all your textures, mods, and servers:D
Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
I suggest:
diff -rupN worldedit/init.lua worldedit_modified/init.lua --- worldedit/init.lua 2012-02-24 21:31:10.000000000 +0200 +++ worldedit_modified/init.lua 2012-03-28 12:36:48.324525439 +0300 @@ -50,6 +50,9 @@ function string:split(delimiter) return result end function check_player_we_perms(pname) + if pname == "singleplayer" then + return true + end local fi = "" local f = io.open("weperms.txt", "r") if f ~= nil thenEDIT: Actually, that is not exactly safe... somebody can log in as "singleplayer" on a regular server. 8D I'll figure out a way for this...
Also, weperms.txt should not be in bin/; it should be in the world directory. The bin/ directory is not even writeable on normal Linux installations, and also it isn't actually the bin/ directory, it is the *working directory*, which just happens to always be bin/ on Windows. Thus I suggest:
minetest.get_worldpath().."/weperms.txt"EDIT: In a future version, there will be minetest.is_singleplayer(); thus I recommend doing this:
diff -rupN worldedit/init.lua worldedit_modified/init.lua --- worldedit/init.lua 2012-02-24 21:31:10.000000000 +0200 +++ worldedit_modified/init.lua 2012-03-28 12:36:48.324525439 +0300 @@ -50,6 +50,9 @@ function string:split(delimiter) return result end function check_player_we_perms(pname) + if minetest.is_singleplayer and minetest.is_singleplayer() then + return true + end local fi = "" local f = io.open("weperms.txt", "r") if f ~= nil then
I am working on this
Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
Make some setting like:
worldedit_singleplayer_mode() --settable mode called from single player to enable worldedit for singleplayer.
It's abstract I know, but however, it should work.
Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
Update!
Changelog:
Added .we Postfix when using //save and //load
Moved weperms.txt to World-Folder
Moved Positon-Files and *.we Files to WorldEdit-Mod Folder
Made *.we Files smaller by disabling Comments in Table-Save/Load-Library and stop saving param1|param2 if it's equal to 0
Download-Link: http://dl.dropbox.com/u/30267315/worldedit0.4.zip
Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
Okay sfan, I am willing to try that later.
Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
Woot! Finally I can test it.
Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}
Old saves still work right? (I didn't know they had the .we extension xD)