dev-master
9999999-dev https://github.com/maniaplanet/manialive-pluginsManiaLive plugins
LGPL-3.0
The Requires
by NadeoLive
maniaplanet shootmania trackmania manialive
ManiaLive plugins
This plugin automatically post server events on your twitter acocunt., (*1)
Example: https://twitter.com/SMLiveTweet, (*2)
NadeoLive
folder to your ManiaLive\libraries\ManiaLivePlugins
directoymanialive.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)
It's a plumbing script which allows you to receive XmlRpc events from script as ManiaLive events., (*4)
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);
ManiaLive plugins
LGPL-3.0
maniaplanet shootmania trackmania manialive