Clears out all key-value pair entries for the current plugin in the internal database and invokes a callback.
The callback function that is invoked with a bool representing whether the clear was successful.
osrs.Persistence.clear( function(ok) if ok then osrs.print("Cleared all entries for the plugin!") else osrs.print("Clear failed.") endend) Copy
osrs.Persistence.clear( function(ok) if ok then osrs.print("Cleared all entries for the plugin!") else osrs.print("Clear failed.") endend)
Clears out all key-value pair entries for the current plugin in the internal database and invokes a callback.