Posts by LordFoobar

A new update is now available, introducing fishing, climbing gear, clothes and more!
Latest hotfix: 0.8.5.3 (2025-05-09)

    I have been trying to use this Script but I cant seem to clear any blocks that are in a selected area... I have tried EVERYTHING! Its driving me absolutely bonkers.
    Is there a command like: "/we set air' or "/we place 0"


    I just want to clear a area completely with no placed blocks, no wood blocks metal blocks, or anything. can you please help me with this? And is there anyway I can keep the selected area after it runs a command? I would like to clear a area of blocks and then try another type. Also is there an "/we undo [1,2,3...Ect] to roll back edits?


    Thanks in advance.


    You can type /we help for in-game help. Other than that, I just tried and it works, you can do either


    Code
    /we select
    /we clear abs


    or


    Code
    /we select
    /we fill air -c


    NOTE: the -c (or -clean is the same) is the same as doing /we clear abs before /we fill.


    Type /we help clear or /we help fill for more information.


    Hope this helps!



    Edit


    Sometimes, the chunks will not update after executing a command. This has nothing to do with World Edit. If you don't see any error after executing a command, or any message, exit the world chunk (move away), than come back. You have to move away until the blocks disappear (seeing low details terrain is fine, as long as the blocks are no longer visible), then come back. If the command failed, nothing will have changed. Otherwise, you'll see that the command had succeeded indeed!


    Regarding your /we undo, I'm afraid it is not quite possible at the moment, but we'll keep that in mind. And as for keeping the previous selection in memory (i.e. re-using a previous selection instead of selecting again and again the same area), yes, this is something that we can implement. :)

    I have finally put some time to finally fix the linux startup script!


    If anybody noticed (or maybe not?), the line


    Code
    if ! [[ $SCREEN_NAME =~ ^[a-zA-Z0-9_.-]+$ ]]; then


    was always evaluating to true, thus exiting prematurely. The problem was that fetching the screen name from the configuration file also snatched the new line character \n (or carriage return caracter \r) and, thus, failed as it is an invalid screen character name! Piping with tr -d '\n\r' removed any trailing invalid characters and solved it. (Yay!)


    Same thing with the memory limit config option.


    Also, the nice colors weren't reset. This also was fixed.


    Enjoy!


    We've had an issue a few days ago where an admin screwed up (LOL you know who you are!) big time by not completing a selection before calling a World Edit command... which resulted in using a previous coordinate and filling up a few hundred meters of blocks, destroying most of the map; he basically started a selection, but never selected an end point, which used (probably) a previous end point a few hundred meters from there.


    While I agree that he screwed up on that, it made me wonder if I could receive feedback from


    Code
    event.player:enableMarkingSelector(function()
    -- receive feedback here about the selection???
    end);


    But the function is, actually, never being called! When reading the API, it is in fact required to pass a function... so... what's the function used for, then? :P


    My guess was that it was being called once an end point was selected, no? Could be nice if that was it's purpose. Then, we could validate the a full selection was being made before calling event.player:disableMarkingSelector, no?

    @LordFoobar: Thanks for sending us the world! There was indeed a problem with the conversion: When a particular table (e.g. chests) was empty, it hasn't been converted. You can fix the problem by deleting all tables that are empty, then they will be recreated when loading the world. If the worlds are not too important, you can simply create a new world ^^
    We also uploaded a new version, Steam should automatically download it. If you're using the Standalone you need to delete any file (since this update has no new version number), e.g. server.jar in the data subfolder.
    Thanks for helping us to find this issue :)


    No problem! Happy to help you guys! These world weren't important, so I'll just create new ones.


    Cheers!

    3 Weeks is okay, as long as it's not a few months old there should be no problem^^
    What happened when loading the world for the first time after today's update? There should have been a small yellow indicator about conversion in the loading screen? Or did you perhaps cancel the loading process?


    I have seen the yellow rectangle for the second world, but did not have time to see what it was, it was there a fraction of a second, and I didn't think of copying the debug output :( I haven't noticed that the first time (for the first world).

    It was fine before today's update... as far as I know, and the world has been created about 3 weeks ago. (about two updates back) I have two test worlds that I randomly choose to test scripts. If I'm the only one to report this, then I'll just delete it and create a new test world :) Just thought I'd share this.



    UPDATE : same thing with the other world, same error. The other world has been created when update 0.5.6.4 was released (the bear and moose update).


    UPDATE 2 : I have noticed a brief yellow rectangle while loading the world, but did not notice any particular output, sorry.

    Tested a script in singleplayer and got this at a 10 secs interval or so



    The code should check that such column doe exist and ALTER the table accordingly...


    I would create a "Guild Script" of the like for that, IMO, so to not mix responsibilities of the admin script. But I like the idea. And, I would not necessarily remove the group if the group creator disconnect... Perhaps, instead, invalidate the group only if the group creator has been disconnected for some period of time, just to avoid breaking the group if the group creator is disconnected briefly.


    As for protecting against griefers, only admins should protect anything. This is to insure ownership of the server to admins only; a player is a guest, unless granted by an admin and should not grant himself rights without approval. This is why I was proposing "admin" grant "Group Admin", and "Group Admin" grant "Group Owner", and "Group Owner" grant "Group Guest". But this should go into the AreaProtection script discussion. :)


    my2cents

    i would like to see /viewplayersaddedtoarea to see what player was added


    /listplayersinarea perhaps? But, yeah, this should definitely be added.


    Also, the group Owner have no rights to destroy blocks. This is a problem; I don't see why anyone could be added as a Owner without running into problems when misplacing something. This is odd and not very practical. Basically, owners should be free to modify the area at will. And Admin players (belonging to the Admin group of AreaProtection) should be able to add and remove other players as Guest or Owner. RW admins should be able to create and remove areas, and manage players in areas, too. Also, a Owner should be able to add/remove Guest, too.


    I would like to put AreaProtection to Github, so it is available to the community, so things like that can be discussed and actions taken more easily. @KingGenius I can add you as admin of that repo. All that, if you don't mind, of course.

    Considering how things work at the moment, I think this will be implemented after the next update, since different blocks require different ores, destroying blocks would return back different ores as well.


    This is a logical expectation anyway.

    Like I said, it would make things easier for everyone, including the devs, if scripters would have more API to make this sort of ambiance themes.create/remove sound objects at a given coordinates, moveable

    • create/remove 3D models with or without collision detection / physics
    • create/remove lights (with RGB spec)
    • create/remove shaders
    • etc


    Then, all the devs need to do is implement in-game features, add contents, etc. Bottom line, let players customize the game :)

    I personally would not really like it, unless I want to play that game type.


    But, perhaps this could be done via scripts at some point; being able to play sound from a 3D point of origin from the player. This would totally allow scripts to create different environment... even set custom sounds at a given location (i.e. a radio playing music, a machine making noise, etc.)


    Just not as a core game type. Let the community mod the game through API :)
    My opinion.