Quantcast
Channel: Server Mods from Bukkit.org
Viewing all articles
Browse latest Browse all 2356

TwitterBoard

$
0
0

Display the latest tweet from any user on Twitter, such as your server’s official updates, in your minecraft world. The latest tweet will occupy at most 3 signs, thanks to twitter’s 140 characters limitation.

Setup

To use the plugin, build or find a wall that is at least 3 blocks high. You can then place a sign and enter the following two lines:

[Twitter]
user-name

For example, if you like players to see the recent tweet posted by Katy Perry, you need to enter:

[Twitter]
katyperry

It is important to specify the username (katyperry) and not the display name (Katy Perry). Just like in the address of her twitter page: https://twitter.com/katyperry.


Step One

Step Two


Immediately after setting the sign, nothing will happen. But when a redstone signal hit the sign, at most three signs will appear and display the recent tweet. Redstone isn't just the way to generate the twitter board for the first time, it is also the mechanism that updates it. So if you want to refresh the board, just apply redstone again!


Step Three


The easiest way to input a redstone signal to the sign is to add a button right next to the sign.

Configuration

This redstone mechanism allows you and the players on your server to fetch the latest tweet without running jobs in the background or other command-based manual updates. You can also use redstone clocks to automatically update the board. A different option would be to setup a command block testing for a nearby player (i.e. with the /testfor command). When a player is detected, the command block will output a redstone signal which will update the board.

You can have as many Twitter boards as you like. By default, only operators/admins will be able to place the twitter sign, but any player on the server will be able to refresh the board with redstone.

Some techy stuff

The plugin is based on the Twitter4j library. The OAuth consumer key, secret and access token will be encrypted in the config files. You may replace them with your own keys if you wish, using the non-encrypted mode (see the plugin's config.yml for more details).

Also note that the plugin has a built-in limitation on the number of API requests that are sent to Twitter. It is possible that the board will not be immediately refreshed even though redstone was applied. The cooldown time is around 30 seconds, depending on the version of the plugin.


Viewing all articles
Browse latest Browse all 2356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>