AmpleChatBot v1.2

Details

  • Filename
    ample-chat-bot.jar
  • Uploaded by
  • Uploaded
    Apr 28, 2012
  • Size
    50.25 KB
  • Downloads
    1,255
  • MD5
    174518add28b35706c197bd48f19607d

Supported Bukkit Versions

  • CB 1.2.5-R1.2

Changelog

1.2:

  • changed plugin file name do to updater plugins not detecting updated versions.
  • added the cmd: prefix to answers so you can run commands as response as console.
  • added the ability to set the delay in bot responses.
  • added the pcmd: prefix to answers so you can run commands as response as player.
  • added GPL3 license to plugin.
  • expanded database handlers to allow prepared statement with 1 string paramater.
  • fixed the /qlist bug.

1.1:

  • improve db stack tracing for errors.
  • complete MYSQL DB support.
  • corrected connection references in checkTable in MYSQL Support and SQLite Support.
  • added anti-abuse abilities and settings. (Config change see Known Caveats)
  • added requirement to pass the plugin instance to DB Handler constructor.
  • change the error handling levels on DB handlers.
  • Added TODO to the jar so you can see what I plan todo with it.

1.0b3:

  • add result contains check on listener.

1.0b2:

  • added a minium length to question of 3 or greater. I attempt to prevent false responses.
  • improved ample help command.

1.0b1:

  • added MySQL support
  • finished the ample command
  • added lastID to the get the last ID query ran.
  • added message formating of the response
  • finalize the answer command.
  • changed the commands to /answer, /question, /qlist, /delquestion, /ample
  • added ample.edit permission to /answer, qlist, and /questions
  • created qlist command.
  • made question command.
  • added checkConnection() to DB Library
  • Completed SQLite support
  • Added general settings to config.
  • Created db classes and SQLite support.
  • Defined plugin.yml and command definitions.
  • created the plugin defined classes

you will need to delete old plugin jar file on this update.

There has been another config.yml change. The example config:

# Ample Auto Responder - config.yml
#
# To enable a feature just uncomment it.

#
# General Settings
#

# BotName is what users see in chat as the player name.
BotName: 'AmpleBot'

# Message Display:
# %botname = BotName
# %player = Player invoking the question
# %message = Message the bot sends to players.
# * Chat Colors and formating is supported!
Display: '<%botname> %message'

# Response Delay
# Allows you to set how long the bot will wait to respond in server ticks.
#   - The Default is 2 server ticks.
#   - There are 20 ticks per second.
Delay: 2

#
# Anti-Abuse Settings For Bot:
# Protects bot from people looking to abuse it.
#
# AbuseRatio: Triggered Responses;seconds
# Action: kick|ignore
# kickMsg: reason for kicking them.
AbuseRatio: 5;10
AbuseAction: ignore
AbuseKick: '[AmpleBot] Do not abuse me or I will keep kicking you!'

#
# Database Settings
#

#  Supports Database types:
#    - MYSQL
#    - SQLITE

# SQLite
DbType: 'SQLITE'
DbName: 'Ample'
DbPrefix: 'Ample_'
DbHost: 'plugins/Ample/'

# MYSQL
#DbType: MYSQL
#DbHost: 'localhost'
#DbPort: 3306
#DbName: 'minecraft'
#DbPrefix: 'Ample_'
#DbUser: 'minecraft'
#DbPass: ''