CalculatorUI

A PocketMine-MP plugin that allows you to calculate simple arithmetic operations using a form calculator

General

CalculatorUI is a Pocketmine plugin that works to calculate simple math operating systems

Features

  • Using UI form view
  • Can edit forms and messages in config.yml
  • Adding addition calculation operation
  • Adding subtraction calculation operations
  • Adding multiplication calculation operation
  • Added division calculation operation

Configuration

# Configuration for CalculatorUI Plugin

form:
  # Title for input number forms
  input_title: "CalculatorUI"
  
  # Prompt for entering a number
  input_content: "Enter a number:"
  
  operation:
    # Title for operation selection form
    title: "CalculatorUI"
    
    # Instructions for selecting an operation
    content: "Select a mathematical operation:"
    
    # Buttons for mathematical operations
    button_increase: "[+] Increase"
    button_reduction: "[-] Reduction"
    button_multiplication: "[x] Multiplication"
    button_distribution: "[÷] Distribution"

  result:
    # Title for the result form
    title: "CalculatorUI"
    
    # Content showing the detailed calculation result
    content: |
      First Number: {number1}
      Math Operation: {operation}
      Second Number: {number2}
      
      Result of mathematical operations = {result}
    
    # Example:
    # If number1 = 10, operation = +, number2 = 5, and result = 15
    # This will display:
    # First Number: 10
    # Math Operation: +
    # Second Number: 5
    # 
    # Result of mathematical operations = 15
    
    # Exit button text
    exit_button: "Exit"

messages:
  # Error message for invalid input
  invalid_input: "§cPlease input a valid number only."

Installation

  1. Download the plugin.
  2. Place the plugin's .phar file in the plugins folder of your PocketMine-MP server.
  3. Start or restart the server to load the plugin.

Details

Version: 1.0.0

Downloads: 24

Updated: 2/9/2025

Supported API versions: 5.0.0 to 5.30.1

Categories: General, Educational, Informational

License: APACHE-2.0

Producers

Collaborator