Twitter for Spigot
- Put the plugin in your plugins folder
- Restart your server
- Edit the config.yml (see 'Configuration' for an explanation)
- Add a Twitter Subscriber with
/t4s subscriber add <Mode> <Tag>
(see 'Modes & tag' for an explanation) - Add a Information Holder with
/t4s subscriber edit <Sub Id> createInformationHolder
(see 'Information Holders' for an explanation) - Configure the information holders
Before you can use the plugin you need to edit the config.yml and create a Twitter app.
Name the app something like 'Twitter4Spigot', type something random in the description field, enter a random url and type something random in the 'How will this app be used' field. After that switch to the 'Keys and Tokens' tab and create a access token. Fill the tokens and secrets into the appropriate fields in the config.
The mode specifies what kind of tweets should be pulled. There are 4 different modes: USER_RECENT, USER_POPULAR, HASHTAG_RECENT and HASHTAG_POPULAR.
Displays the most recent tweet of the user specified in the tag.
Displays a popular tweet of the user specified in the tag.
Displays the most recent tweet of the hashtag specified in the tag.
Displays a popular tweet of the hashtag specified in the tag.
A information holder consists of 5 holograms: A tweet hologram, a author hologram, a like hologram, a retweet hologram and a comment hologram.
The tweet hologram displays the tweet, the author hologram displays the author, the like hologram displays the like count, the retweet hologram displays the retweet count and the comment hologram displays the comment count.
The holograms can be set with /t4s edit <Sub Id> editInformationHolder <I.h. Id> set...
(e.g. /t4s edit 3 editInformationHolder 0 setTweetHolo
)