Coming Soon!
Don't Ask Me When
Inspired by Oxcorp and awesome few hours of eventing database without this mod build.... ....
Servers With This Event:DarkLights RP (Official)
Zekes ServerWe are Beta testing the database event in DarkLight's RP. What is the Database Event? It acts somewhat like a
mySQL database, allowing multiple rows and databases.
The database info is all stored on the server, so it's always saved. This will never replace the variable system, I'm making it work with it to make the database experience much better.
What does the database event have?:
Outputs:databaseDump - Dumps your database to the chat.
ifPlayerInDatabase - returns true or false.
ifDatabaseRowEquals - returns true or false.
addToBLIDDatabase - Add a BLID to your database, along with 3 rows. (Makes new Database) (Beginners)
addToBLIDDatabaseADV - Add a BLID to your database, unlimited rows. (Makes new Database) (Advanced)
databaseToDatabase - Appends a new database on your existing database, 3 starting rows. (In dev, but database is created)
databaseToDatabaseADV - Appends a new database existing database, unlimited rows. (In dev, but database is created)
appendToDatabaseID - Append more rows to the selected BLID.
RemoveFromBLIDDatabase - Delete player from database.
setDatabaseRow - Change a row without appending.
Inputs:onDataBaseRowEquals - We all know what this means.
onDataBaseRowNotEquals - We know what this is also.
onDatabaseQuery - When someone query's your database this function is called. (1 Second Timeout)
onDataBaseError - This is called when there is an error with your Database.
Also, for security, the database files are stored in your own data folder. (By BL User Name)
You can test this on DarkLight's RP.
Screenshots:





What does this do, it allows the player to create databases for their builds, for a hotel as an example. Say you created a hotel, and someone wants a room. But you have database protection on that room, they will not be able to get in without being on the database. So you can simply just use the addToBLIDDatabase or addToBLIDDatabaseADV to add them to the database. A quick example on a 3 row database.
BL_ID Column1 Column2 Column3
Here is an example if you were to do a permission database for doors or something.
BL_ID: Room1 Room2 Room3
0 1 0 0
BL_ID: Room1 Room2 Room3
1 0 1 1
With the advanced database you can have more rows. Or you can use appendToDatabaseID.