Separate names with a comma.
The massive economy plugin with many features
creating shop signs. the signs are stored in memory and looking at the code, it saves the signs stored in memory to its Shop.yml when server stops.
im not sure of the queue stuff but when player taps on sign, its somehow store their names in memory also.
since i guess theres no chance of being saved directly to files, ill modify my own version to save some memory and TPS.
If you save to and read from files every time, it will be even more laggier. Use an SQL database.
i have a modified EconomyS shop where it uses my currency from my mysql database instead of EconomyAPI.
its just storing on memory takes a lot of TPS slowing down the server.
Depends on how many shops you have and how you save them. Remember our PocketFactions memory SQLite3 database? also, a database like levelDb may be useful for these usages.
In another thinking, maybe it is because PHP is slow itself. Shh, don't let @shoghicp read this! @shoghicp if you do, throw your device out of your window and assume you have never read this.
not only the shop but also the $playerQueue. when player tap on shop signs, as i understand on the code, it stores players to memory. ill check again if it stores in memory.
Maybe Pundler doesn't solve my problems.
$playerQueue is the variable used to reduce the memory. You do not have to care about them. This variable is created and removed in 1 second. Check the function onPlaceEvent().
If the variable doesn't exist, I will have to check the existing shops to cancel block place event.
Please retry downloading the lastest version
Using an in-memory SQLite3 is possibly the fastest.
Nope, I think not. The structure of the EconomyShop is checking the key in array is existing. It saves the position as the key of the array and checks when the players touch the sign. It doesn't call any other functions, classes, only touches the array.
$this->shops would be faster if you use an SQLite3 database or use numeric keys.
yea, it turned out to be fast too. using mysqli calls data fast. im converting all plugins session data that are stored in memory to database.
MySQLi != SQLite3
In-memory SQLite3 should be faster than MySQLi unless your machine is very slow and your network is very good.
my MySQL server is just in localhost. using it remotely is quite useless and not worth it or probably laggy.
It is useful if you host servers in different machines.
you need it or you will die? We don't have the duty to finish a plugin for you.
Then ask the author of KillMoney...
I have submitted version 5.1, wonder when it will be released
onebone updated €¢onom¥$ with a new update entry:
€¢onom¥$ v5.1 UPDATE
Read the rest of this update entry...