Command64 : custom cmds, items, rewards, & tasks icon

Command64 : custom cmds, items, rewards, & tasks -----

Run commands with configurable triggers, delays, and checks to create custom items, events, +




- Stopped running join commands asynchronously (fixed JoinCommandEntries)
- Started loading entries even if the consoleCommands section is null (empty), so that checks and check commands still process

https://github.com/tbm00/Command64/releases/tag/v1.2.2
----------, Mar 26, 2025

- Added RANDOM_PLAYER argument to every sub-command: run commands on, sudo commands as, and enqueue rewards for random online players.
- Added <random_player> replacement for every consoleCommands' section.
- Added firstJoinCheck to JoinCommandEntries:
Code (YAML):
# You can add an firstJoinCheck to any customCommandEntry, that confirms player who joined
#   is not joining for the first time before running the consoleCommands. If they have not,
#   are joining for the first time, any defined backup commands will run.
#   Use this module on any joinCommandEntries:
#     firstJoinCheck:
#       enabled: true
#       isFirstJoinConsoleCommands:
#         - "say <argument> joined for the first time!"
- Added onlineCheck to CustomCommandEntries:
Code (YAML):
# You can add an onlineCheck to any customCommandEntry, that confirms ARGUMENT or SENDER is
#   online before running the consoleCommands. If they are not, any defined backup commands
#   will run. Use this module on any customCommandEntry:
#     onlineCheck:
#       enabled: true
#       checkOnPlayer: "ARGUMENT"
#       ifNotOnlineConsoleCommands:
#         - "msg Console <argument> is not online!"
- Changed `_`->` ` replacement to `+`->` ` for CustomCommandEntries' argument2 and RewardEntries' argument ( UPDATE YOUR CONFIG ACCORDINGLY)
- Fixed invCheck bug: now works with immediate CustomCommandEntries, not just delayed
- Updated default config (new entries + more)

https://github.com/tbm00/Command64/releases/tag/v1.2.1
----------, Mar 26, 2025

- Added RANDOM_PLAYER argument to every sub-command: run sudo commands as, enqueue rewards for, and run commands on random online players.
- Added <random_player> replacement for every consoleCommands' section.
- Added firstJoinCheck to JoinCommandEntries:
Code (YAML):
# You can add an firstJoinCheck to any customCommandEntry, that confirms player who joined
#   is not joining for the first time before running the consoleCommands. If they have not,
#   are joining for the first time, any defined backup commands will run.
#   Use this module on any joinCommandEntries:
#     firstJoinCheck:
#       enabled: true
#       isFirstJoinConsoleCommands:
#         - "say <argument> joined for the first time!"
- Added onlineCheck to CustomCommandEntries:
Code (YAML):
# You can add an onlineCheck to any customCommandEntry, that confirms ARGUMENT or SENDER is
#   online before running the consoleCommands. If they are not, any defined backup commands
#   will run. Use this module on any customCommandEntry:
#     onlineCheck:
#       enabled: true
#       checkOnPlayer: "ARGUMENT"
#       ifNotOnlineConsoleCommands:
#         - "msg Console <argument> is not online!"
- Changed `_`->` ` replacement to `+`->` ` for CustomCommandEntries' argument2 and RewardEntries' argument ( UPDATE YOUR CONFIG ACCORDINGLY)
- Fixed invCheck bug: now works with immediate CustomCommandEntries, not just delayed
- Updated default config (new entries + more)

https://github.com/tbm00/Command64/releases/tag/v1.2.1
----------, Mar 26, 2025

- Added Cron Scheduler: schedule commands to be ran at any time. To use this feature, add this new config module and enable it:
Code (YAML):
# -----------------------------------cronSchedule--------------------------------------- #
# consoleCommand gets scheduled by the entry's cron expression.
#
# Use https://crontab.guru/ for help.
# -------------------------------------------------------------------------------------- #
cronSchedule
:
  enabled
: false
  taskEntries
:
  # - "m h dom mon dow consoleCommand"
    - "0 0 */1 * * say This command is triggered at midnight!"
    - "0,*/10 11-14 * * * say This command is triggered every 10 minutes between 11:00 AM and 2:59 PM!"
https://github.com/tbm00/Command64/releases/tag/v1.2.0
----------, Nov 21, 2024

- Fixed exceptions stemming from the rewardEntries' new optional argument

https://github.com/tbm00/Command64/releases/tag/v1.1.4
----------, Nov 9, 2024

- Added sudo sub-command. Use /cmd sudo CONSOLE/<player> <cmd> to run a command as someone else (underscores convert to spaces in cmd).
- Added optional quantity argument to give sub-command. Use /cmd give <itemKey> [player] [amount] to spawn custom items.

https://github.com/tbm00/Command64/releases/tag/v1.1.3
----------, Nov 9, 2024

- Added an optional <argument> for rewardEntries (underscores convert to spaces)
- Added an optional <argument2> for customCommandEntries (underscores convert to spaces)
- Reordered command usage logging before dispatching
- Improved default config comments

https://github.com/tbm00/Command64/releases/tag/v1.1.2
----------, Nov 8, 2024

- Added a configurable message for players when they receive a reward. To use it, add a string to rewardSystem.newRewardMessage. For example:
Code (YAML):
newRewardMessage : "&8[&fRewards&8] &aYou just received a reward, claim it with &2/redeemreward&a!"
https://github.com/tbm00/Command64/releases/tag/v1.1.1
----------, Nov 7, 2024

- Added the reward system: admins give players rewards, and players redeem their rewards when they want to (with per-reward inventory checks). All a player has to do is run /redeemreward, and they will receive the first reward in their queue. If their inventory is full and the reward requires space, they will instead receive the first reward that doesn't require space (if any exists). This is particularly useful for plugins that give items directly to the user without checking inventory space. To use this feature, add this new config module and enable it:
Code (YAML):
# -------------------------------------------------------------------------------------- #
# This module gives players the ability redeem pending rewards (commands).
# 1st) Admins/Console add rewardEntries to a player's pending queue
#        by using `/cmd reward <rewardName> <username>`.
# 2nd) Players redeem rewards (in-order, unless there are skips due to full inv) by using `/redeemreward`.
#      -- If the player has no pending rewards, they will be sent noPendingRewardMessage.
#      -- Else if the the player has inventory space, the first rewardEntry's consoleCommands
#           in the player's pending queue will be run.
#      -- Else if there is no pending reward without an invCheck, they will be sent noInvSpaceMessage.
#      -- Else the first rewardEntry's consoleCommands that doesn't have a invCheck will be run.
#
# Optional Argument:
# <player> == player who is rewarded
# -------------------------------------------------------------------------------------- #
rewardSystem
:
  enabled
: false
  saveDataInterval
: 15 # save data to json every X minutes, -1 to only save on shutdown
  pendingRewardsJoinMessage
:
    message
: "&8[&fRewards&8] &aYou have reward(s) to claim! &2/redeemreward"
    tickDelay
: 300
  redeemMessages
:
    noRewardMessage
: "&8[&fRewards&8] &cYou don't have any pending rewards!"
    noInvSpaceMessage
: "&8[&fRewards&8] &cYou don't have enough inventory space for your reward!"
    rewardedMessage
: "&8[&fRewards&8] &aYou redeemed a reward!"
  rewardEntries
:
    '1'
: # Usage: `/cmd reward cratekey <player>`
      name
: "cratekey"
      consoleCommands
:
       - "crates givekey Crate <player>"
      invCheck
: true
    '2'
: # Usage: `/cmd reward money <player>`
      name
: "money"
      consoleCommands
:
       - "eco give <player> 100"
      invCheck
: false
    # Add more entries as needed
https://github.com/tbm00/Command64/releases/tag/v1.1.0
----------, Nov 7, 2024

- Replaced <sender> with <player> everywhere in config
- Replaced checkPlayer with checkOnPlayer everywhere in config

https://github.com/tbm00/Command64/releases/tag/v1.0.1
----------, Nov 5, 2024

Resource Information
Author:
----------
Total Downloads: 165
First Release: Nov 5, 2024
Last Update: Mar 26, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings