promotional bannermobile promotional banner

AgeAsker

Ask a player's age and promotes if older than required

AA Logo

Introduction

Hello and thank you for looking at this page. This plugin is designed to ask a player's age and if he/she is older than X then he/she is automatically promoted, otherwise they will be added to a fail list and will have to manually added by a staff member.

I got this idea from a few servers I was on, all of which were 16+. They all required staff to manually promote users and some complained that it was hard to get on at the right time to have a staff member present, and owners weren't keen on adding lots of staff just for this purpose. So this plugin was born.

Installation

I will make a more in-depth tutorial once I successfully upload some files to bukkit and get everything set up. But here are the basics:

  1. You need to have Vault also on your server.
  2. Download the plugin from Bukkit ONLY. This ensures that the plugin has no viruses and is safe to use since each upload is inspected by staff before being allowed to be downloadable.
  3. Extract the zip file into your plugins folder NOTE: if a lib folder already exists then merge them together, this plugin uses joda-time which is an external library (not plugin) and needs to be contained there so it doesn't crash the server.
  4. Start/Reload/Restart your server
  5. Edit the config as you want it
  6. If edited config reload or restart server again
  7. ...
  8. Profit!

Just if I cannot package joda time in my plugin zip, the backup way of installing is here

Usage

Normal User

If a time limit is set, then they will not be a able to use the /upme (asks age plus promotes) command until time runs out. Upon doing /upme you will be prompted with a few questions. Note: this plugin utilizes the conversation API, so for prompts you can just answer normal chat and no commands are required e.g) Are you ready? Response: Yes [I may make this an in-game pic later]. After answering the questions, if you are the appropriate age you will be automatically promoted. If not then you will have to wait for staff to add you manually

Staff

Nothing really. Though once people register, their DOB are saved on file and you can do /listnm <pass/fail> to view those who passed (correct age) and those who didn't. Lists can be cleared with /clearlist <pass/fail>.

Commands

  • /ageasker - basic info on the plugin
  • /upme - goes into interview mode (as I call it)
  • /listnm <pass/fail> - shows lists of user who passed and failed the DOB test
  • /clearlist <pass/fail> - clears pass list or fail list

Permission Nodes

  • AgeAsker.remove - ability to do /clearlist
  • AgeAsker.list - ability to use /listnm command

Disclaimers and other warnings

  • This plugin uses player usernames in the process to document the age of players for the staff to know, as well as give a small adjustment to /ageasker (nothing major)

To-Do

  • Add MCStats compatability

My other plugins

Thank you and Source

Octocat

The source can be found here. Also please visit the JProfiler site available in the Big Thanks section of the README. They are a big help to the project and help me keep going by providing tools to help me optimize the plugin for consumers.

LethalHosting has kindly provided one of its awesome servers to assist me in testing my plugins. Big thanks to them, and I will try make it public in the days to come

The AgeAsker Team

profile avatar
  • 5
    Projects
  • 18.5K
    Downloads

More from sirNikolaiView all

  • ArmorSaddles project image

    ArmorSaddles

    • 9.2K
    • Bukkit Plugins

    a simple plugin which lets you craft horse armor, saddles, nametags and now horse eggs

    • 9.2K
    • April 12, 2015
    • Bukkit Plugins
    • +1
  • BotTest project image

    BotTest

    • 871
    • Bukkit Plugins

    Prevent bots spamming your chat

    • 871
    • March 20, 2015
    • Bukkit Plugins
    • +1
  • MineKnowledge project image

    MineKnowledge

    • 1.6K
    • Bukkit Plugins

    Learn basic info on your surroundings with a click of the mouse

    • 1.6K
    • December 27, 2013
    • Bukkit Plugins
    • +1
  • MineCasino project image

    MineCasino

    • 5.3K
    • Bukkit Plugins

    A small plugin that's let you earn in-game cash... If you're lucky that is

    • 5.3K
    • May 25, 2014
    • Bukkit Plugins
    • +2
  • ArmorSaddles project image

    ArmorSaddles

    • 9.2K
    • Bukkit Plugins

    a simple plugin which lets you craft horse armor, saddles, nametags and now horse eggs

    • 9.2K
    • April 12, 2015
    • Bukkit Plugins
    • +1
  • BotTest project image

    BotTest

    • 871
    • Bukkit Plugins

    Prevent bots spamming your chat

    • 871
    • March 20, 2015
    • Bukkit Plugins
    • +1
  • MineKnowledge project image

    MineKnowledge

    • 1.6K
    • Bukkit Plugins

    Learn basic info on your surroundings with a click of the mouse

    • 1.6K
    • December 27, 2013
    • Bukkit Plugins
    • +1
  • MineCasino project image

    MineCasino

    • 5.3K
    • Bukkit Plugins

    A small plugin that's let you earn in-game cash... If you're lucky that is

    • 5.3K
    • May 25, 2014
    • Bukkit Plugins
    • +2