Sueta
BE

BetterCommandExecutor

1.0

Better command execution for certain stuff.

·Plugin

A simple command execution plugin that can do delayed commands with custom args, sync or async, your choice.

Current config:

config
Messages:
  NoPermission: "&cYou do not have access to that command."
  UnknownType: "&cUnknown type. Please make sure you typed the \"type\" correctly or check the config.yml for list of types."

# Different types of stuff.
Types:
  # The name of this type will be "Example"
  Example:
    PAPI:
      # Should this support PlaceholderAPI?
      Supports: true
      # Which arg should be used as player?
      Player: 1
    Amount:
      # How does it store the amount?
      # PAPI support if enabled.
      # %sender% is command sender.
      Store: '%1%%2+%'
      # Types allowed.
      # Number, ex: 0, 1, 2, 3, 4, etc
      # Letter, ex: a, b, c, .... aa, ab, ac, etc
      # Roman, ex: i, ii, iii, iv, v, vi, etc
      # CapLetter, ex: A, B, C, .... AA, AB, AC, etc
      # CapRoman, ex: I, II, III, IV, V, VI, etc
      Type: Number
    Timing:
      # Does it do timing sync or async (on the main thread or not)?
      Async: false
      # If it does it async, should it still use ticks? If set to true, then the time is calculated in milliseconds.
      AsyncUseTicks: true
    # What should execute? Console or Sender or %x%? Doesn't actually work.
    Executor: Console
    Commands:
      # %a% is the amount.
      # After 0 ticks do these commands.
      '0':
        - 'say %1% %2+% (%a%)'
        - 'say uwu %1% %2+% (%a%)'
      # After 20 ticks, or 1 second, do these commands.
      '20':
        - 'say 1: %1% %2% %3+% (%a%)'
        - 'say 2: %1% %2% %3+% (%a%)'

May not fully work.

Probably will work on every version of spigot that is above 1.7.

Please report any errors you encounter with this plugin thanks

Similar projects

Plugin →