Posts: 6,482
	Threads: 176
	Joined: Jan 2012
	
Thanks: 131
	Given 1085 thank(s) in 857 post(s)
	 
	
	
		It's the hooks that'll be slow - either you read an entire INI file whenever a player digs / places a block, or you keep all that data in memory (and risk losing it).
This is exactly the kind of situation that you want to use database for.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 4,637
	Threads: 115
	Joined: Dec 2011
	
Thanks: 697
	Given 518 thank(s) in 441 post(s)
	 
	
	
		What do you think about the way I store bans in my ReWrite project for the Core. I load them in a table, and create an object with functions to edit/read it. Then I return the object.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 1,162
	Threads: 68
	Joined: Mar 2013
	
Thanks: 245
	Given 128 thank(s) in 101 post(s)
	 
	
	
		I dont know how to use SQLite. If i learn I may rewrite storage.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 1,162
	Threads: 68
	Joined: Mar 2013
	
Thanks: 245
	Given 128 thank(s) in 101 post(s)
	 
	
	
		I noticed my plugin is usseless, because you could break blocks from a protected chunk being out, Is there any way of getting the chunk pos of a coordinates? If no, it would be fine if you make a cWorld:GetChunkXat() and cWorld:GetChunkZat() functions. I made an issue on github