QuickFAQ

Information

Built against 1.6.4. Untested otherwise. The plugin has one command, /faq. When the command is followed by a listed topic then it will provide the information associated with it in the config.

This is a very rudimentary plugin that I put together in about an hour while I'm learning bukkit/java. Because of that, I can't claim it's flawless and the writing is probably a little unorthodox but it's so simple that I can't forsee any issues.

Commands

/faq - list all topics, taken from the nodes within the config.yml

/faq <topic> - display the information related to that specific node.

Topics in the config file must be lower-case to function properly.

Notes

The config file will be generated with a line on top, it must stay on top and have some sort of value or the plugin will assume it should add the default values again.

The default config.yml looks something like this, change anything in it except the top line:

LEAVE: THIS LINE OR RISK OVER-WRITING! TOPICS (LEFT OF COLON) MUST BE lower case TO WORK.
item1: "This is an example of how the plugin works."
item2: "Another listing. Formatting codes can be used as well but weren't directly planned and can't be guaranteed."
item3: "And one more listing."

/faq will return:

Available topics:

[item1, item2, item3]

/faq item1 will return to the player:

[ ITEM1 ]

This is an example of how the plugin works.

&

/faq item3 will return:

[ ITEM3 ]

And one more thing.

No permissions.


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    78465
  • Created
    Apr 18, 2014
  • Last Released File
    Apr 18, 2014
  • Total Downloads
    255
  • License

Categories

Members

Recent Files

Bukkit