robinp7720 / Blue-Stats-Minecraft

Ever wanted a stat interface for truly everything?
http://stats.mysunland.org/
Apache License 2.0
33 stars 14 forks source link

Cannot find plugin "lolmewnStats" #25

Closed dfdgsdfg closed 9 years ago

dfdgsdfg commented 9 years ago

I have plugin folder and lolmewnStats plugin.

If I don't have a cache something like below. Error on http://minec.semaul.net/stats/

Warning: Invalid argument supplied for foreach() in /Users/ipx/opt/bukkit/plugins/Stats/web/index.php on line 48
Base plugin does not exist: lolmewnStats
Please install this plugin or change the base plugin

BlueStats Config Table

row_id  server_id   option  plugin  value
1   1   theme   BlueStats   "material"
2   1   plugins BlueStats   "["query","themeText","lolmewnStats"]"
3   1   expiry-time cache   36000
4   1   enabled cache   "true"
5   1   cache-directory cache   "\/Users\/ipx\/opt\/bukkit\/plugins\/Stats\/web\/cache\/"
6   1   server-name BlueStats   "Semaul"
7   1   base_plugin BlueStats   "lolmewnStats"
8   1   view_path   BlueStats   "\/Users\/ipx\/opt\/bukkit\/plugins\/Stats\/web\/themes\/{THEME}\/"
9   1   homepage    BlueStats   "home"
10  1   username    BlueStats_admin "admin"
11  1   password    BlueStats_admin "admin"
12  1   MYSQL_host  lolmewnStats    "localhost"
13  1   MYSQL_username  lolmewnStats    "minecraft"
14  1   MYSQL_password  lolmewnStats    "minecraft"
15  1   MYSQL_database  lolmewnStats    "minecraft"
16  1   MYSQL_prefix    lolmewnStats    "Stats_"
17  1   include_in_player_stats lolmewnStats    "true"
18  1   stats   lolmewnStats    {"arrows":"Arrows Shot","beds_entered":"Beds Entered","blocks_broken":"Blocks Broken","blocks_placed":"Blocks Placed","buckets_emptied":"Buckets Emptied","buckets_filled":"Buckets Filled","commands_done":"Commands Done","damage_taken":"Damage Taken","death":"Times Died","eggs_thrown":"Eggs Thrown","fish_caught":"Fish Caught","items_crafted":"Items Crafted","items_dropped":"Items Dropped","items_picked_up":"Items Picked Up","joins":"Joins","kill":"Kills","last_join":"Last Joined","last_seen":"Last Seen","move":"Blocks Traversed","omnomnom":"Food Eaten","playtime":"Play Time","pvp":"PvP Kills","shears":"Times striped a sheep","teleports":"Teleports","times_changed_world":"Worlds Changed","times_kicked":"Times Kicked","tools_broken":"Tools Broken","trades":"Trades","votes":"Votes","words_said":"Words Said","xp_gained":"Xp Gained"}
19  1   ip  query   "127.0.0.1"
20  1   port    query   "25565"
21  1   player-url  BlueStats-Url   "http:\/\/minec.semaul.net\/stats\/{page}\/{player}\/"
22  1   default-url BlueStats-Url   "http:\/\/minec.semaul.net\/stats\/{page}\/"
23  1   default-player-page BlueStats-Url   "player"
24  1   useUUID BlueStats-Url   "true"
25  1   english MODULE__lolmewnStats___topPlayers   {"arrows":"Sot {VALUE} arrows","beds_entered":"Entered {VALUE} beds","blocks_broken":"Broke {VALUE} blocks","blocks_placed":"Placed {VALUE} blocks","buckets_emptied":"Emptied {VALUE} buckets","buckets_filled":"Filled {VALUE} buckets","commands_done":"Executed {VALUE} commands","damage_taken":"Took {VALUE} damage","death":"Died {VALUE} times","eggs_thrown":"Threw {VALUE} eggs","fish_caught":"Caught {VALUE} fish","items_crafted":"Crafted {VALUE} items","items_dropped":"Dropped {VALUE} items","items_picked_up":"Picked up {VALUE} items","joins":"Joined {VALUE} times","kill":"Killed {VALUE} things","last_join":"Last Joined","last_seen":"Last Left","move":"Traveled {VALUE} blocks","omnomnom":"Ate {VALUE} foods","playtime":"Played for {VALUE}","pvp":"Died {VALUE} to another player","shears":"Striped {VALUE} sheep","teleports":"Teleported {VALUE} times","times_changed_world":"Traveled through {VALUE} realms","times_kicked":"Was kicked {VALUE} times","tools_broken":"Broke {VALUE} tools","trades":"Traded {VALUE} times","votes":"Voted for the server {VALUE} times","words_said":"Said {VALUE} words","xp_gained":"Gained {VALUE} XP"}
26  1   stats   MODULE__lolmewnStats___topPlayers   ["playtime","joins","move","votes"]

MariaDB

mysql  Ver 15.1 Distrib 10.0.21-MariaDB, for osx10.10 (x86_64) using readline 5.1

PHP

'./configure' '--prefix=/usr/local/Cellar/php56/5.6.13' '--localstatedir=/usr/local/var' '--sysconfdir=/usr/local/etc/php/5.6' '--with-config-file-path=/usr/local/etc/php/5.6' '--with-config-file-scan-dir=/usr/local/etc/php/5.6/conf.d' '--mandir=/usr/local/Cellar/php56/5.6.13/share/man' '--enable-bcmath' '--enable-calendar' '--enable-dba' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-mbregex' '--enable-mbstring' '--enable-shmop' '--enable-soap' '--enable-sockets' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-wddx' '--enable-zip' '--with-freetype-dir=/usr/local/opt/freetype' '--with-gd' '--with-gettext=/usr/local/opt/gettext' '--with-iconv-dir=/usr' '--with-icu-dir=/usr/local/opt/icu4c' '--with-jpeg-dir=/usr/local/opt/jpeg' '--with-kerberos=/usr' '--with-libedit' '--with-mhash' '--with-ndbm=/usr' '--with-pdo-odbc=unixODBC,/usr/local/opt/unixodbc' '--with-png-dir=/usr/local/opt/libpng' '--with-unixODBC=/usr/local/opt/unixodbc' '--with-xmlrpc' '--with-zlib=/usr' '--with-readline=/usr/local/opt/readline' '--without-gmp' '--without-snmp' '--with-apxs2=/usr/sbin/apxs' '--libexecdir=/usr/local/Cellar/php56/5.6.13/libexec' '--with-bz2=/usr' '--disable-debug' '--with-openssl=/usr/local/opt/openssl' '--enable-fpm' '--with-fpm-user=_www' '--with-fpm-group=_www' '--with-curl' '--with-xsl=/usr' '--with-ldap' '--with-ldap-sasl=/usr' '--with-mysql-sock=/tmp/mysql.sock' '--with-mysqli=mysqlnd' '--with-mysql=mysqlnd' '--with-pdo-mysql=mysqlnd' '--disable-opcache' '--enable-pcntl' '--without-pear' '--enable-dtrace' '--disable-phpdbg' '--enable-zend-signals' 'CC=clang' 'CXX=clang++'

nginx

nginx: stable 1.8.0 (bottled), devel 1.9.4, HEAD
robinp7720 commented 9 years ago

Remove the quotes from the plugins config option. So make "["query","themeText","lolmewnStats"]" look like ["query","themeText","lolmewnStats"] That should fix it.

dfdgsdfg commented 9 years ago

@robinp7720 Thanks. Works just perfectly. :+1: