Skip to content

skytopia/Chatterbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chatterbot

Casino is a lightweight plugin that integrates a chatbot into the server chat to perform helpful functions.

Contributors

  • lavuh (Plugin development)

Features

  • Different 'Modules' that serve different purposes within the bot:
  • Welcome Module: This module privately messages everyone in a CommandBook message format notifying them of any first-time players that join. Rewards are also given to players that welcome the new player.
  • Insult Module: This module is designed to drive off trolls and other chat-related rulebreakers. When targeted, the player will be bombarded with a random insult every 0.5 seconds, and will not be able to chat. Their chat will still be recorded in console for humor purposes.
  • GitHub Module: This module listens to a predefined list of GitHub repositories, and broadcasts any new commits that are pushed.

In order to properly use the GitHub module, the github-api requires you to place your login details at ~/.github with the following content:

login=username
password=123456

Compiling

You will need to install Maven to compile this program.

Note: You will need to install the Spigot/CraftBukkit libraries by using BuildTools.

Once you have these libraries compiled, on your commandline, type the following.

cd /path/to/Chatterbot
mvn clean install

Maven automatically downloads the other required dependencies. Output JAR will be placed in the /target folder which can be then put into the plugins folder.

Dependencies

Chatterbot will not run without the presence of the FasterXML Jackson Core libraries. These are present within the Skyblock plugin, but in order to run the bot standalone you will need to include these libraries in a shaded Uber JAR.

To include these dependencies in Maven, include the following:

<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-core</artifactId>
    <version>2.9.8</version>
</dependency>

<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-annotations</artifactId>
    <version>2.9.8</version>
</dependency>

<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-databind</artifactId>
    <version>2.9.8</version>
</dependency>

About

Lightweight plugin that integrates a chatbot into the server chat to perform helpful functions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages