AmpleChatBot v1.2.6

Details

  • Filename
    ample-chat-bot.jar
  • Uploaded by
  • Uploaded
    May 28, 2012
  • Size
    52.66 KB
  • Downloads
    640
  • MD5
    46d2f0aac3b42863ae5583cb7078defd

Supported Bukkit Versions

  • CB 1.2.5-R3.0

Changelog

1.2.6:

  • reduced error stack printout.
  • quotes sql error. (Supports single quotes.)
  • added numerical wildcards: %1-%200
  • changed response system to smart comparing system
  • add the ablity to do multiple things in response with the ; delimiter
  • added pm: prefix to allow private messaging to the player
  • added chat: prefix to force player to say something in chat
  • fixed botname formating
    (See Known caveats to see config changes)

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

# 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

# Acceptable response rate in percentage:
# Acceptable range 0-100
# Anything greater then the percentage will be the response,
Allowable: 80

#
# 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: 3;20
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: ''