Improved flags system & reduce query usage in online list

Using http://flag.znote.eu as an external image server for flags.
Online list is now stored in a 30 seconds quick cache.
Reduced query usage in online list to 1 instead of 1 + players online amounts of queries.
This commit is contained in:
Znote
2017-01-26 22:09:53 +01:00
parent ac8da54d78
commit 2fad7a3efb
5 changed files with 59 additions and 28 deletions

View File

@@ -560,7 +560,13 @@
$config['use_guild_logos'] = true;
// Use country flags
$config['country_flags'] = false;
$config['country_flags'] = array(
'enabled' => true,
'highscores' => true,
'onlinelist' => true,
'characterprofile' => true,
'server' => 'http://flag.znote.eu'
);
// Level requirement to create guild? (Just set it to 1 to allow all levels).
$config['create_guild_level'] = 8;