Like in other games like Arma Epoch, there have to be a database that stores information about elements placed on the map (and more, like their health points etc.)
Is there any way to edit the database in real-time? I think that everything I have is a Storage.db and UserPersistence.db, but I don't know if I can edit this to make a SQL query that could fix all server elements with hp lower than 100%
I don't even know if I can access this file with some help of IDE software
Before I start to dig a google for (I suppose) SQLite tools, I want to ask if real-time editing works in this game, it can be also encrypted
Solved Editing Rust databases?
Discussion in 'Rust Discussion' started by Płomyk, Feb 20, 2016.
-
If you dont wan´t decay (builded blocks and wall deployables loose HP overtime) use plugin for it TwigsDecay for Rust | Oxide or if you want just some certain buildings or blocks, use Zones Manager for Rust | Oxide best with Timed Permissions for Rust | Oxide and PrivateZones for Rust | Oxide
-
I want to learn how to write plugins, but first off I need to understand how Oxide communicates with game entities after hooks like onHit has been triggered. Can I modify object properties by accessing it's data in raw form, or I have to use pre-built functions for this? I gave an example about data I would like to find in database, but every sqlite IDEs won't show any data from *.db files
-
Wulf Community Admin
Also, the .db files from Rust simple store signs and player blueprints, nothing more. You shouldn't edit them directly though while the server is running. -
Ok thanks
-
All the other stuff is stored in the .sav-files.
Basically, you modify those by simply altering data in Rust itself directly, and whenever server.save is called, those changes are stored to the file system.