Skip to content

Matthiesen Core Extensions

  • Function
    q.player.economy()

    Returns the player's UUID for use with the economy functions.

    Returns { "playerUUID": "string" }
  • Function
    q.player.economy.get_balance(<string providerID>, <string currency>)

    Gets the player's balance for a specific currency from the specified provider.

    Returns double
  • Function
    q.player.economy.deposit(<string providerID>, <int amount>, <string currency>)

    Deposits a specific amount of currency into the player's account from the specified provider.

    Returns 1 for success, otherwise 0
  • Function
    q.player.economy.withdraw(<string providerID>, <int amount>, <string currency>)

    Withdraws a specific amount of currency from the player's account from the specified provider.

    Returns 1 for success, otherwise 0
  • Function
    q.player.economy.has_enough(<string providerID>, <int amount>, <string currency>)

    Checks if the player has enough of a specific currency in their account from the specified provider.

    Returns 1 for true, otherwise 0
  • Function
    q.player.text_parser()

    Returns the player's UUID for use with the text parser functions.

    Returns { "playerUUID": "string" }
  • Function
    q.player.text_parser.vanilla(<string message>)

    Parses and sends a message using the vanilla Minecraft text parser, allowing for formatting and color codes.

    Returns 1 for success, 0 for failure
  • Function
    q.player.text_parser.adventure(<string message>)

    Parses and sends a message using the Adventure text parser, allowing for advanced text formatting.

    Returns 1 for success, 0 for failure
  • Function
    q.player.text_parser.emberstextapi(<string message>)

    Parses and sends a message using the Ember's Text API parser, allowing for custom text formatting.

    Returns 1 for success, 0 for failure
  • Function
    q.server.text_parser()

    Returns the server's platform for use with the text parser functions.

    Returns { "serverPlatform": "string" }
  • Function
    q.server.text_parser.vanilla(<string message>)

    Parses and sends a message using the vanilla Minecraft text parser, allowing for formatting and color codes.

    Returns 1 for success, 0 for failure
  • Function
    q.server.text_parser.adventure(<string message>)

    Parses and sends a message using the Adventure text parser, allowing for advanced text formatting.

    Returns 1 for success, 0 for failure
  • Function
    q.server.text_parser.emberstextapi(<string message>)

    Parses and sends a message using the Ember's Text API parser, allowing for custom text formatting.

    Returns 1 for success, 0 for failure