Announcement

Collapse
No announcement yet.

Sandbox Editor

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    TOOL Sandbox Editor

    Hi,

    Couple days ago I released an editor with a camera for making complex worlds.

    Features
    • Camera.
    • Spawn objects, weapons, vehicles, doors & clothing.
    • Precise editing.
    • World saving and loads on server start.
    • World auto saves every 15 minutes.
    • Clothing fully synced.
    • Copy pasting objects (rotation & scale).
    • Select multiple objects.
    • Delete object(s).
    • Move, scale, rotate and copy object(s).
    • Move & rotate doors.
    • Schematic support (save & load custom builds).

    Installation
    • Create new folder inside your packages folder called sandbox.
    • Copy all files from HERE into the sandbox folder.
    • Add sandbox to server_config.json packages array.

    Commands
    • /save - Manually save the world.
    • /objectspeed <0-200> - Set the speed of editing objects (moving, rotating and scaling).
    • /schematic save <name> - Save the current selection you have.
    • /schematic load <name> - Load the saved schematic and put it on your clipboard.
    • /schematic list - List all available schematics.
    • /select <objectID> [radius] - Select all objects with that ID in radius.

    Controls
    • P - Toggle editor.
    • F10 - Toggle UI.
    • TAB - Hold to open scoreboard.
    • DOUBLE LEFT CLICK - Select object on cursor [EDITOR].
    • F - Teleport player on cursor location [EDITOR].
    • G- Spawn fireworks on cursor location [EDITOR].
    • LALT - Switch edit mode [EDITOR].
    • SCROLL - Change camera speed [EDITOR].
    • CTRL - Select multiple objects while holding CTRL or SHIFT [EDITOR].
    • CTRL + C - Copies object(s) [EDITOR].

    World saving and loading
    The world will be automatically saved every 15 minutes and can be manually saved using /save. This creates a save file called world.json inside the root server directory. When the server next starts, the world will be loaded and objects will be spawned at their correct position, rotation and scale. If you wish to reset the world, delete the world.json and start the server.

    World load with no editor
    I've created another standalone package which will just load the world with no editor. It can be downloaded here:
    https://github.com/dig/onset-world
    Make sure you do not enable both sandbox and world, only enable one at any given time!

    Planned
    Feel free to submit pull requests.
    • Undo/Redo.
    • Grid snapping.
    • Search bar.

    Download
    https://github.com/dig/onset-sandbox-editor

    Media

    Click image for larger version  Name:	d2c11920a417e765118a25d1f8a07816.png Views:	0 Size:	777.8 KB ID:	1329
    Click image for larger version  Name:	c56de900778947bd42cae2deb246ab96.png Views:	0 Size:	720.8 KB ID:	1234Click image for larger version  Name:	e68f2ed093420786f742d612ffffa8a8.png Views:	0 Size:	754.5 KB ID:	1235
    Click image for larger version  Name:	b9d66ca4a4633510de6918dd508f24f5.png Views:	0 Size:	802.9 KB ID:	1236
    Click image for larger version  Name:	04fb7fc70b9a83ba2c4fe8f835d1e2c3.png Views:	0 Size:	754.0 KB ID:	1237

    Enjoy.
    Last edited by Digital; 12-20-2019, 01:32 AM.

    #2
    Soo where does it save? xP

    Comment


      #3
      Latest version now supports world saving and loading. The world will automatically be saved every 15 minutes and you can manually save using /save. Objects are saved to a world.json file inside the root server directory.

      Enjoy.

      Comment


        #4
        Nice plugin, helps me do my job.

        Comment


          #5
          After you have created your world, you can just load the world (without editor) using this package:
          https://github.com/dig/onset-world

          Please don't enable both sandbox and world at the same time, there is checks to prevent this.

          Comment


            #6
            Just added door support, can now move & rotate doors. Enjoy.

            Comment


              #7
              onset-world don't work... With world.json

              Comment


                #8
                Originally posted by ChewbaccaFR View Post
                onset-world don't work... With world.json
                Working for me fine. do you get any errors in the console?

                Please make sure world.json is in the server root directory.

                Comment


                  #9
                  Yes world.json is in the server directory and don't load
                  Look the screen : http://prntscr.com/qbtn82
                  No error : http://prntscr.com/qbtox4
                  Last edited by ChewbaccaFR; 12-17-2019, 04:12 AM.

                  Comment


                    #10
                    Originally posted by ChewbaccaFR View Post
                    Yes world.json is in the server directory and don't load
                    Look the screen : http://prntscr.com/qbtn82
                    No error : http://prntscr.com/qbtox4
                    onset-world will print the following to the console if the package is setup correctly,
                    Code:
                    [2019-12-17 03:18:53] [info] Starting package "world"
                    [2019-12-17 03:18:53] [script] Server: Attempting to load world.
                    [2019-12-17 03:18:53] [script] Server: World loaded!
                    Message me on discord so I can properly help you: Digital#4937

                    Comment


                      #11
                      Nice work; I'll keep an eye on that !

                      Comment


                        #12
                        Nice work !

                        Comment


                          #13
                          Just added a scoreboard which you can access by holding Tab.
                          Click image for larger version

Name:	4700a73b336d24c0d13eacfa224a2c68.png
Views:	1014
Size:	793.7 KB
ID:	1285

                          Comment


                            #14
                            Good work you should add a way to precisely edit the cords instead of just rolling so you can properly do 90 degrees all together instead of 90.003321 or similair

                            Comment


                              #15
                              Precise editing has been added due to the amount of requests I got for it, enjoy.
                              Click image for larger version

Name:	d2c11920a417e765118a25d1f8a07816.png
Views:	956
Size:	777.8 KB
ID:	1328

                              Comment

                              Working...
                              X