GithubHelp home page GithubHelp logo

surveys's Introduction

Surveys

A Bukkit plugin that allows creation of questionnaires for players to answer

Building

Building Surveys is made simple with maven, simply use the following command:

mvn clean install

The resulting jar files will be found in the /target folder for each module.

In-game commands

The subcommands for this plugin are as follows:

  • /surveys start <survey>
  • /surveys viewresults <survey>
  • /surveys createsurvey <name>
  • /surveys createquestion <survey> <name> <description>
  • /surveys addoption <question> <text>

Usage

Creation of a survey follows three simple steps:
   1. Create a survey with the createsurvey sub-command
   2. Add a question to the survey with the createquestion sub-command
   3. Add an option to the question using the addoption sub-command

Usage Example

Let's quickly walk through the creation of a survey asking people about their favorite flavor of ice-cream.

Step 1. Let's create a survey for players to answer.
Creating a survey

Step 2. Now that we've created the survey, we can create questions. Let's find out what flavor people prefer.
Adding a question

Step 3. Asking a question is great, but people need to have something to reply to. Let's add some choices.
Adding an option

We can repeat steps 2 and 3 as many times as we want to add questions and options. Now that we're done our questionnaire, players can answer it with the /surveys start ice-cream command. The results can be viewed with /surveys viewresults ice-cream.

surveys's People

Contributors

sainttx avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.