2017 © Pedro Peláez
 

library manialive-plugins

ManiaLive plugins

image

maniaplanet/manialive-plugins

ManiaLive plugins

  • Wednesday, May 7, 2014
  • by magnetik
  • Repository
  • 3 Watchers
  • 2 Stars
  • 136 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

manialive-plugins

AutoTweet

This plugin automatically post server events on your twitter acocunt., (*1)

Example: https://twitter.com/SMLiveTweet, (*2)

Installation

  • Copy NadeoLive folder to your ManiaLive\libraries\ManiaLivePlugins directoy
  • Add this configuration to your manialive.ini :
manialive.plugins[] = 'NadeoLive\AutoTweet'
manialive.plugins[] = 'NadeoLive\XmlRpcScript'

ManiaLivePlugins\NadeoLive\AutoTweet\Config.twitterOauthAccessToken = ''
ManiaLivePlugins\NadeoLive\AutoTweet\Config.twitterOauthAccessTokenSecret = ''
ManiaLivePlugins\NadeoLive\AutoTweet\Config.twitterConsumerKey = ''
ManiaLivePlugins\NadeoLive\AutoTweet\Config.twitterConsumerSecret = ''

To obtain twitter oauth tokens and keys, create an application on twitter dev website., (*3)

XmlRpcScript

It's a plumbing script which allows you to receive XmlRpc events from script as ManiaLive events., (*4)

Usage

In the function onLoad of your plugin :, (*5)

\ManiaLive\Event\Dispatcher::register(\ManiaLivePlugins\NadeoLive\XmlRpcScript\Event::getClass(), $this);

Then, the functions will be called from your plugin :, (*6)

function onXmlRpcEliteArmorEmpty($content);
function onXmlRpcEliteShoot($content);
function onXmlRpcEliteHit($content);

The Versions

07/05 2014

dev-master

9999999-dev https://github.com/maniaplanet/manialive-plugins

ManiaLive plugins

  Sources   Download

LGPL-3.0

The Requires

 

maniaplanet shootmania trackmania manialive