ForumReaderLikeMe
What does this do
This plugin reads a topic on a forum of your choose and performs commands when it finds a playername.
Commands
There are no commands for this plugin, this will run in the background.
Usage
That is the nice thing about this plugin. It works pretty much straight out of the box, the only thing that you need to change is the link to the thread to check.
Default config
This is the default configuration:
# Thank you for using this plugin # I will explain some stuff about the configuration # The "Allowed ForumType" is a list that is set by the plugin, every time you change it it will be overridden # The "ForumType" is the type of forum you are using, this is needed for checks in the page system # The "PermaLink" is a link to the thread, preferabiliy a link that won't change # "TimeBetweenChecks" is the time in seconds between every time that the plugin checks the forum # "CheckFor" determines what the plugin will look for, the plugin will append a space to it and then there should the name be # "MinAmountOfPosts" Most forums have the ability to only show posts from page ... or post ... , with this you can put the starting post on a different post, this will decrease lag # "MaxAmountOfPosts" This is a pretty stupid plugin, it will continue checking each post till it hits this number # "Commands" A list of commands that the command is running, playername variable is "%p" # "Added" A list of players that is found already, don't modify this list unless you want to reset the plugin. Allowed ForumType: [] ForumType: MINECRAFTFORUM_NET PermaLink: http://changeme.com TimeBetweenChecks: 300 CheckFor: 'IGN:' MinAmountOfPosts: 0 MaxAmountOfPosts: 1000 Commands: - say Thank you %p for posting your username - money give %p 50 Added: []
Additional notes
This plugin is not ( and will never be ) checking if the player is online. So give commands won't work with this!
This is actually a really unique plugin; I’d never have thought of reading a forum to award players. Nice job!
In reply to 0ct0ber_:
Glad that you like it ;)
Let me know if you can think of any improvments.
@Marium0505
Please make a ticket for this.
Can you consider adding the option for a reset every x hour (i.e. every 24 hour)? Would be exteremly nice! :)
@Timtower
Ok yea, now it's starting to log them. Sorry about that :P
However, it'd be a really nice feature if you allowed for multiple things to look for.
Also, it's not wanting to look for names in other pages. I have the link taking it to the start of the forums. I'm using MinecraftForums.
@BuildersUnite
As far as I know: when the command runs the player gets logged.
It only saves the file when the plugins stops. that is probably the part that is confusing you.
And what forum are you using then?
I seem to be having multiple issues with this plugin. It does run the command when somebody posts on the forums, however, it doesn't log their name, and the Minamountofpost part doesn't seem to be working either. I make it 15, and it still starts at the first post.
@MC_Squared
What needs to be updated then? Do you get error logs? Anything to indicate that it isn't working on 1.7.9?
I only update my plugins if I need to. This plugins isn't version dependent.
Update to 1.7.9 please!
Almost there I think with 0.0.4
At server start, just after FroumReaderLikeMe enables, I have this in the log: [ForumReaderLikeMe] You should never see this!
A test post didn't seem to pick up until the server restarted, then it fired OK. Don't know if this is important, in the config.yml for Added Players it produced this: - crunchy_nerfed - "crunchy_nerfed\t\t\t\t\t\t"
Making a second player test post, it didn't fire on schedule but did fire on server restart, but it seems to get the player name wrong; maybe the string with the \t series in it?
Only thing in the log is the "never see this" message.
Hope that helps. :)
Edit to add: Here's the resulting config.yml http://pastebin.com/v33tUu0S
@Timtower
Sorry mate, still having a problem; though a different one.
My config and server log extract are here: http://pastebin.com/NnFRPYd5
(For info: If I set it to MINECRAFTFORUM_NET it does run the scheduler, but just picks up the first post).
@Timtower
Hopefully the next will work, but I'll be glad to send a donation as a thankyou.
@Crunchy_Slipper
[email protected] on paypal.
And does it work then?
@Timtower
Thanks :) I don't see a donate link on here, I think I owe you a beer/coffee/energy drink/cake for this :)
@Crunchy_Slipper
Upload a new file that should fix the issue.
@Timtower
Not sure if I'm missing something.
I set the forum type to EasyDiscuss but I see this in the server log: java.lang.IllegalArgumentException: No enum constant nl.timdebrouwer.forumreaderlikeme.forums.ForumType.EASYDISCUSS
The start of my config looks like this: Allowed ForumType: - MINECRAFTFORUM_NET - EasyDiscuss ForumType: EasyDiscuss
Amazing. First useful plugin I've seen in a while.
Thanks, really appreciate it. I'll check it out when it's approved and let you know how it goes. :)
@Crunchy_Slipper
Uploaded a new file which hopefully adds EasyDiscuss support, should be at least. Just wait for the file to get approved ;)
@Timtower
It looks like it just tags a thread all on one page. The pagination options only affects the category where it lists the different topics; they go on several pages, but a single thread is one page.
I set pagination to 8 items per page and added more test psots, but the thread still stays as a single page. The categories however do split at 8 per page, so it doesnt look like i can get a multiple page thread.
Edit to add: this is at the original thread link: http://dev.itchy-dog.co.uk/discussions/forum-reader-test