Skip to content

AndresTube/CalculatorChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CalculatorChat

CalculatorChat Preview


Description

This is a simple calculator in chat that can perform basic arithmetic operations. It can add, subtract, multiply, and divide numbers. It can also handle multiple operations in a single expression.

Features

  • Addition
  • Subtraction
  • Multiplication
  • Division
  • Multiple operations in a single expression
  • Customizable messages
  • Toggeable calculator
  • Reloadable config

How to use

  1. Clone the repository
  2. Compile the plugin
  3. Place the plugin in the plugins folder of your server
  4. Start your server
  5. Type your expression and press enter
  6. The result will be displayed in chat: [CalculatorChat]: %result%

Example

You can define your own format in config.yml.

Player: 2 + 3 * 4 = (Important that it finish with =)
Result: [CalculatorChat]: 14

Dependencies

  • Java 17
  • Spigot 1.16.5
  • Maven (For compile)

License

MIT License

Author

  • Fendrixx / AndresTube
  • CubicLemming749

Note

This is my second plugin ever maded lol, so if you find some errors or some that can be better, dont be mad, just open an issue or a pull request.

Contact

Discord: andrxs.f

About

A simple plugin that adds a calculator in chat

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages