Shoutout to @Tux for helping me out!
Need a new Hub game to spice up you're server? You're in luck! Now you can offer you're players a way to make money by... well... clicking. This is a proof of concept for the unappreciated Redis database. Because it uses Redis, you can have the same game on multiple lobbies and stats will carry over. What's great about Redis as opposed to MySQL is speed; if a player quickly switches lobbies and clicks, a race condition would occur. With redis, the sync is fast and thread-safe. Basically, you can have it on as many different servers as you want and it won't get unsynchronized.
With all that said, what you need to run this plugin is a locally hosted Redis server (support for AUTH coming soon). The reason it should be hosted is that I was having issues with AUTH, so you're server can't be password protected. If it's locally hosted it should be perfectly safe.
Please, please, please do not use this with PerWorldPlugins. It's untested and you will receive no support if "it dun work."
This is also a hidden hack detector. Most anti-cheat plugins will detect auto click and rapid click, even on the cookie. This has been tested.
- /ccl or /cookieclickerleaderboard: Get the leaderboard.
- /cookies, /cookie, /c [PLAYER]: Get a player's cookie count.
- Coming soon: /
Here's some screenshots:
How do you install a Redis server? Glad you asked!
Ubuntu All you have to do is run "apt-get install redis-server", then "redis-server". Done!
CentOS Follow the instructions found at http://sharadchhetri.com/2014/10/04/install-redis-server-centos-7-rhel-7/
Mac Follow the instructions found at http://jasdeep.ca/2012/05/installing-redis-on-mac-os-x/
Windows http://redis.io/download 'Nuff said.
This plugin uses MCStats to collect anonymous statistical data. To opt out, change opt-out to true in you're configuration.