{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":449034435,"defaultBranch":"rewrite","name":"Paradox_AntiCheat","ownerLogin":"Visual1mpact","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-01-17T20:09:40.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/97915078?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1710866054.0","currentOid":""},"activityList":{"items":[{"before":"e85225572103141cee87336c0cfdcc0f8129d7b9","after":"54a1342eca7df7cbdfa141971622236c93e4cd15","ref":"refs/heads/rewrite","pushedAt":"2024-04-26T07:07:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Refactor displayAllCommands method in CommandHandler class\n\nOptimized the displayAllCommands method in the CommandHandler class to improve performance and readability. Instead of redundantly calling decryptMap multiple times, the method now calls it once to retrieve both the decrypted commands and the clearance level from the cached data. Additionally, streamlined the conditional logic for sending commands to the player by checking for the absence of cached commands at the beginning of the function. This refactor enhances code efficiency and organization.","shortMessageHtmlLink":"Refactor displayAllCommands method in CommandHandler class"}},{"before":"63570b0545213765bd53ff716bc8b7770b276820","after":"e85225572103141cee87336c0cfdcc0f8129d7b9","ref":"refs/heads/rewrite","pushedAt":"2024-04-26T06:50:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Refactor CommandHandler caching methods for improved clarity and efficiency\n\n- Enhanced the cacheCommands method to clearly outline the caching process with detailed comments explaining each step.\n- Optimized the displayAllCommands method to directly retrieve cached commands from the player's dynamic properties, ensuring efficiency and reducing redundancy.","shortMessageHtmlLink":"Refactor CommandHandler caching methods for improved clarity and effi…"}},{"before":"a14c55c5c48642ec3e608e4592f010a308d79f70","after":"63570b0545213765bd53ff716bc8b7770b276820","ref":"refs/heads/rewrite","pushedAt":"2024-04-23T22:57:28.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Update dependencies for 1.20.80","shortMessageHtmlLink":"Update dependencies for 1.20.80"}},{"before":"25dd3f0262449839da8230b1b54925858e4fdcc4","after":"a14c55c5c48642ec3e608e4592f010a308d79f70","ref":"refs/heads/rewrite","pushedAt":"2024-04-23T00:32:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Enhance lockdown command security clearance to level 4","shortMessageHtmlLink":"Enhance lockdown command security clearance to level 4"}},{"before":"c167206ce1a7e94af95c73811d03b991456aaf35","after":"25dd3f0262449839da8230b1b54925858e4fdcc4","ref":"refs/heads/rewrite","pushedAt":"2024-04-22T23:52:28.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Refine permission logic in opsecCommand\n\nIn the opsecCommand script, the permission logic has been refined to prevent users without op status from granting security clearance level 4 to other players. This enhancement ensures that only users with both security clearance level 4 and op status can grant such high-level clearance, maintaining better control over security permissions.","shortMessageHtmlLink":"Refine permission logic in opsecCommand"}},{"before":"44d2b31c206699b1b1ef8f3751a68596b4a62008","after":"c167206ce1a7e94af95c73811d03b991456aaf35","ref":"refs/heads/rewrite","pushedAt":"2024-04-22T23:32:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Refactor moderation commands and event listeners\n\n- In 'deop.ts':\n - Updated JSDoc comments in the 'execute' function to accurately reflect the message object type.\n - Modified the 'removePlayerPermissions' function to decrement 'isClearanceGranted' if clearance is revoked, set 'isClearanceGranted' to undefined if clearance count is zero, and removed Paradox-Op permissions.\n\n- In 'lockdown.ts':\n - Modified the logic in the 'lockdownCommand' to check 'securityClearance' and '__paradox__op' properties of players for lockdown, rather than individual permission prefixes.\n - Updated the 'handlePlayerSpawnDuringLockdown' function to check 'securityClearance' and '__paradox__op' properties of players for lockdown.\n\n- In 'op.ts':\n - Removed unused functions for retrieving permissions.\n - Refactored the logic in the 'opCommand' to use 'securityClearance' and '__paradox__op' properties of players and 'isClearanceGranted' property of the world for authorization and clearance checks.\n - Updated the setting of '__paradox__op' property and 'securityClearance' property of players, and incremented 'isClearanceGranted' if clearance is granted.\n\n- In 'worldInitialize.ts':\n - Updated the 'handlePlayerSpawnDuringLockdown' function to check 'securityClearance' and '__paradox__op' properties of players for lockdown.\n\nThese changes enhance code clarity, improve authorization and permission handling, and ensure consistent usage of player properties across commands and event listeners.","shortMessageHtmlLink":"Refactor moderation commands and event listeners"}},{"before":"c88d92c50b0170672b824c88a44329448ae050bf","after":"44d2b31c206699b1b1ef8f3751a68596b4a62008","ref":"refs/heads/rewrite","pushedAt":"2024-04-22T15:43:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"feat: Add opsec command for changing player security clearance\n\n- Added a new command `opsec` to modify a player's security clearance level.\n- The command allows specifying the player's name and the desired clearance level.\n- Handles different formats of player names, including first name only or full name.\n- Validates the provided clearance level to ensure it falls within the range of 1 to 4.\n- Updates the player's security clearance accordingly and notifies the sender and the player.\n- Integrated the `opsec` command into the command registration process.\n- Updated test build script to ensure consistency across operating systems.","shortMessageHtmlLink":"feat: Add opsec command for changing player security clearance"}},{"before":"c3cf1d55d92c282a929a8a99c1b266167d3423d0","after":"c88d92c50b0170672b824c88a44329448ae050bf","ref":"refs/heads/rewrite","pushedAt":"2024-04-22T00:18:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Fix destructuring assignment in opCommand\n\nExplanation:\n- Removed unnecessary type annotations from destructuring assignments in `opCommand`.\n- Updated the code to use implicit typing for destructured variables.","shortMessageHtmlLink":"Fix destructuring assignment in opCommand"}},{"before":"e072f875125c0597a15ed34f93702245aba52b0a","after":"c3cf1d55d92c282a929a8a99c1b266167d3423d0","ref":"refs/heads/rewrite","pushedAt":"2024-04-21T22:33:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Update dependencies\n\n- Updated `@types/node` from version 20.11.27 to 20.12.7.\n- Updated `typescript` from version 5.4.2 to 5.4.5.\n- Updated `glob` from version 10.3.10 to 10.3.12.\n- Updated `path-scurry` from version 1.10.1 to 1.10.2.\n- Updated dependency versions in `package-lock.json` to match `package.json`.","shortMessageHtmlLink":"Update dependencies"}},{"before":"b5fa29faeba3e4369796136bbf1e5859e929d486","after":"e072f875125c0597a15ed34f93702245aba52b0a","ref":"refs/heads/rewrite","pushedAt":"2024-04-21T20:27:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"feat: Add invsee command to display player inventory\n\n- Added a new command `invsee` to the utility category.\n- Allows players to view the entire inventory of a specified player.\n- Displays player inventory with enchantments if present.\n- Enchantment information includes type, level, and max level.\n- If player argument is not provided, displays a message requesting a player name.\n- If specified player is not found or their inventory cannot be viewed, displays an appropriate error message.","shortMessageHtmlLink":"feat: Add invsee command to display player inventory"}},{"before":"cfaa6b4e8d226c5905d905dffdd0f2d628695af5","after":"b5fa29faeba3e4369796136bbf1e5859e929d486","ref":"refs/heads/rewrite","pushedAt":"2024-04-21T19:17:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Adjust security clearance level for the punish command to 4","shortMessageHtmlLink":"Adjust security clearance level for the punish command to 4"}},{"before":"aa1dab3c5b75571b4c3dc04d69f0006a4dceb375","after":"cfaa6b4e8d226c5905d905dffdd0f2d628695af5","ref":"refs/heads/rewrite","pushedAt":"2024-04-21T19:09:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Refactor: Update event listener function name for player spawn\n\n- Renamed `subscribeToPlayerSpawn` function to `onPlayerSpawn` for clarity and consistency with event listener naming convention.\n- Updated the import and usage of the event listener function in the main `paradox.ts` file to reflect the name change.","shortMessageHtmlLink":"Refactor: Update event listener function name for player spawn"}},{"before":"02c3d9557f7104ab6d6b991da8dd8b5de04e574d","after":"aa1dab3c5b75571b4c3dc04d69f0006a4dceb375","ref":"refs/heads/rewrite","pushedAt":"2024-04-21T19:06:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Refactor: Modularize lockdown operations for player spawn event\n\n- Moved lockdown operations for player spawn event to separate functions for better modularity and readability.\n- Introduced functions `lockDownMonitor`, `handlePlayerSpawnDuringLockdown`, and `kickPlayerDuringLockdown` to handle lockdown logic during player spawn events.\n- Implemented subscription and unsubscription mechanisms for the player spawn event handler to manage event subscriptions dynamically.\n- Updated `onWorldInitialize` function to call the `lockDown` function for executing lockdown operations during world initialization.","shortMessageHtmlLink":"Refactor: Modularize lockdown operations for player spawn event"}},{"before":"aedd5971546190eb3b3b1d00b83aeb403996203b","after":"02c3d9557f7104ab6d6b991da8dd8b5de04e574d","ref":"refs/heads/rewrite","pushedAt":"2024-04-21T18:52:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Refactor: Modularize event handling and command caching\n\n- Refactored event handling in `playerSpawn.ts` to `handlePlayerSpawn` and `handleSecurityClearance` functions for better modularity and readability.\n- Updated `onPlayerSpawn` function to call `initializeEventHandlers` for initializing event subscriptions.\n- Moved security clearance initialization logic to `handleSecurityClearance` for clearer separation of concerns.\n- Simplified logic in `CommandHandler.ts` to remove redundant code and improve readability. Now directly uses `playerSecurityClearance` without unnecessary checks and redundant assignments.","shortMessageHtmlLink":"Refactor: Modularize event handling and command caching"}},{"before":"2795ac5cdd407b89ec32ebd341320a7c4556b260","after":"aedd5971546190eb3b3b1d00b83aeb403996203b","ref":"refs/heads/rewrite","pushedAt":"2024-04-21T03:06:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"feat: Ensure default security clearance level for players\n\n- In `CommandHandler`, updated the `cacheCommands` method to ensure that commands cached for players default to a security clearance level of 1 if the player's security clearance is undefined. This ensures consistency and prevents errors when filtering commands based on security clearance.\n\n- Added a new file `playerSpawn.ts` in `src/eventListeners` to handle player spawn events. The `securityClearanceMonitor` function ensures that players spawning into the world have their security clearance level set to 1 if it's undefined or falls outside the valid range (1-4).\n\n- Updated `paradox.ts` to subscribe to player spawn events using the `subscribeToPlayerSpawn` function, ensuring that player security clearance is initialized properly upon spawn.\n\nThis commit addresses the need for consistent handling of player security clearance levels and ensures that players have a default clearance level set when joining the server.","shortMessageHtmlLink":"feat: Ensure default security clearance level for players"}},{"before":"fd7403fa807114a47828c0d007712eba882f58fc","after":"2795ac5cdd407b89ec32ebd341320a7c4556b260","ref":"refs/heads/rewrite","pushedAt":"2024-04-21T02:12:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Create new seed for Beta API testing\n\nA new world for a new journey","shortMessageHtmlLink":"Create new seed for Beta API testing"}},{"before":"92b8d9702c40407a290455d6134b71e4d2aeba9d","after":"fd7403fa807114a47828c0d007712eba882f58fc","ref":"refs/heads/rewrite","pushedAt":"2024-04-21T01:26:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"61e61b565309e56783b75d5ec7adc6ad936647b1","after":"92b8d9702c40407a290455d6134b71e4d2aeba9d","ref":"refs/heads/rewrite","pushedAt":"2024-04-21T00:51:29.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Refactor build-package.js to create either a .zip or .mcpack distribution file based on command line arguments\n\nChanges:\n- Updated the script to conditionally choose the output file format based on command line arguments\n- Added logic to check if the \"--mcpack\" argument is included in the command line arguments, and if so, create a .mcpack file; otherwise, create a .zip file.\n\nInstructions:\nTo create a .zip distribution file, run `npm run build`.\nTo create a .mcpack distribution file, run `npm run dist`.","shortMessageHtmlLink":"Refactor build-package.js to create either a .zip or .mcpack distribu…"}},{"before":"6b164c4a7af65a239ee30bfb7b3ed1be33cff8f4","after":"61e61b565309e56783b75d5ec7adc6ad936647b1","ref":"refs/heads/rewrite","pushedAt":"2024-04-20T23:36:50.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Make cacheCommands method private\n\nWith all of the debugging and rewriting I did in 6b164c4a7af65a239ee30bfb7b3ed1be33cff8f4 I somehow removed this without paying attention lol.","shortMessageHtmlLink":"Make cacheCommands method private"}},{"before":"bff08695803b9037d561b7cee82a7bbcdf41ba17","after":"6b164c4a7af65a239ee30bfb7b3ed1be33cff8f4","ref":"refs/heads/rewrite","pushedAt":"2024-04-20T23:10:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"feat: Enhance command handling and security\n\n- Added enum `SecurityClearance` to represent different security clearance levels.\n- Modified `Command` interface to include `securityClearance` property.\n- Updated command execution logic to check player's security clearance before executing commands.\n- Improved caching mechanism to cache decrypted commands based on player's security clearance.\n- Updated command implementations to include `securityClearance` property.\n- Modified `opCommand` to update player's security clearance to level 4 if necessary.\n- Updated various moderation commands to include `securityClearance` property.","shortMessageHtmlLink":"feat: Enhance command handling and security"}},{"before":"72a376ffccf1fc9def61dc732862a1d049c7e4fb","after":"bff08695803b9037d561b7cee82a7bbcdf41ba17","ref":"refs/heads/rewrite","pushedAt":"2024-04-20T17:18:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"fix: Add missing return type annotation in deopCommand\n\nIn the deop command implementation, the return type annotation was missing for the execute function. This commit adds the missing return type annotation to ensure clarity and correctness.","shortMessageHtmlLink":"fix: Add missing return type annotation in deopCommand"}},{"before":"5524e80732804dc92cfb1c8a806ecdc8a0552da9","after":"72a376ffccf1fc9def61dc732862a1d049c7e4fb","ref":"refs/heads/rewrite","pushedAt":"2024-04-20T17:14:55.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"refactor: Update command implementations and add function documentation\n\nThis commit includes various changes across multiple files:\n- Updated command implementations.\n- Added JSDoc comments for function documentation and clarity.\n- Refactored code for improved readability and maintainability.\n\nThese changes enhance the command functionalities and provide better documentation for understanding and future development.","shortMessageHtmlLink":"refactor: Update command implementations and add function documentation"}},{"before":"a91b064c4aa1732e34ef9a041b13274e9d29caed","after":"5524e80732804dc92cfb1c8a806ecdc8a0552da9","ref":"refs/heads/rewrite","pushedAt":"2024-04-20T15:53:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"refactor: Add JSDoc comments to MinecraftEnvironment class\n\nAdded JSDoc comments to the MinecraftEnvironment class in Dependencies.ts file to improve code documentation and readability.","shortMessageHtmlLink":"refactor: Add JSDoc comments to MinecraftEnvironment class"}},{"before":"91341ab791d4ee4bb0bc5544de1fa468e287915f","after":"a91b064c4aa1732e34ef9a041b13274e9d29caed","ref":"refs/heads/rewrite","pushedAt":"2024-04-18T01:36:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Add support for managing home locations\n\n- Updated Command interface to include CryptoES dependency for homeCommand execution.\n- Added homeCommand to manage home locations, including set, delete, teleport, list, and help subcommands.\n- Implemented functions to encrypt and decrypt home location data.\n- Implemented logic to prevent creating duplicate home locations with the same name.\n- Implemented logic to format dimension strings for better readability.\n- Updated CommandHandler to register the homeCommand.","shortMessageHtmlLink":"Add support for managing home locations"}},{"before":"cf80871331ddee26fa8bbd5160df80a0bcc6b98b","after":"91341ab791d4ee4bb0bc5544de1fa468e287915f","ref":"refs/heads/rewrite","pushedAt":"2024-04-16T00:06:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Improve error handling in updatePrefix method\n\nPreviously, the updatePrefix method would throw an error if another update was\nalready in progress. This behavior has been updated to send a message to the\nplayer indicating that a prefix update is already in progress, ensuring a more\nuser-friendly experience. The method now also accepts a Player parameter to\nproperly send the message to the affected player.","shortMessageHtmlLink":"Improve error handling in updatePrefix method"}},{"before":"8c9b759fb64d75381a143609c6c539d0321197b1","after":"cf80871331ddee26fa8bbd5160df80a0bcc6b98b","ref":"refs/heads/rewrite","pushedAt":"2024-04-15T23:56:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Clear commandsByCategory map after caching and encrypting commands\n\nAfter caching and encrypting the commands in the cacheCommands() method, wipe\nthe commandsByCategory map to free up memory and ensure it's ready for garbage\ncollection. This cleanup step enhances memory management and maintains code\ncleanliness.","shortMessageHtmlLink":"Clear commandsByCategory map after caching and encrypting commands"}},{"before":"ebf04fe276661b4f4fdb04737004ec1c4966e2f8","after":"8c9b759fb64d75381a143609c6c539d0321197b1","ref":"refs/heads/rewrite","pushedAt":"2024-04-15T23:50:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Group commands by category in CommandHandler\n\n- Added a private property `commandsByCategory` in CommandHandler to store commands grouped by category.\n- Modified the `registerCommand` method to add each command to its respective category in `commandsByCategory`.\n- Updated the `cacheCommands` method to display commands grouped by category when caching decrypted commands.\n- Implemented a `getCommandDescription` method to retrieve the description of a command.\n- Modified existing commands to include a `category` property.\n- Updated command registration to categorize commands based on the provided category.","shortMessageHtmlLink":"Group commands by category in CommandHandler"}},{"before":"0949049111cda21db2e64ce825ab64c1300753a8","after":"ebf04fe276661b4f4fdb04737004ec1c4966e2f8","ref":"refs/heads/rewrite","pushedAt":"2024-04-14T20:54:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Refactor tpa command to simplify player object assignment\n\nIn the tpa command implementation, modified the logic for assigning player objects to target1 and target2 based on chosen player names. Introduced target1 and target2 variables to store the player objects. This change simplifies the code structure and improves readability.\n\nChanges:\n- Added target1 and target2 variables to store Player objects.\n- Modified the logic for determining which player objects to assign to target1 and target2 based on chosen player names.\n- Refactored code for improved clarity and maintainability.","shortMessageHtmlLink":"Refactor tpa command to simplify player object assignment"}},{"before":"6d7d4767a8b125bf7609fa2cb9b9adc37fc11596","after":"0949049111cda21db2e64ce825ab64c1300753a8","ref":"refs/heads/rewrite","pushedAt":"2024-04-14T20:32:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"Add tpa command for teleporting players\n\nThis commit adds a new command called \"tpa\" (Teleport Assistance) to facilitate teleportation between players or vice versa.\n\nThe logic of the command is structured as follows:\n- If two arguments are provided, they represent the first name of both players.\n- If four arguments are provided, they represent the first and last name of both players.\n- If three arguments are provided, they represent either the first and last name of one player and the first name of the other player, or vice versa. In this case, the command checks both possibilities and selects the one that results in valid player names.\n- If the provided player names are valid, the command attempts to teleport the first player to the location of the second player.\n\nThe commit also registers the tpa command with the CommandHandler in the Paradox module.","shortMessageHtmlLink":"Add tpa command for teleporting players"}},{"before":"712b97a03b3515ed28effd5fc5371503b645d797","after":"6d7d4767a8b125bf7609fa2cb9b9adc37fc11596","ref":"refs/heads/rewrite","pushedAt":"2024-04-14T00:58:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Visual1mpact","name":null,"path":"/Visual1mpact","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97915078?s=80&v=4"},"commit":{"message":"refactor: Remove PlayerSpawnSubscription class and its usage\n\n- Removed PlayerSpawnSubscription class and its usage from Dependencies.ts.\n- Changed the lockdown command to directly subscribe and unsubscribe to playerSpawn events instead of using PlayerSpawnSubscription.\n- Updated worldInitialize event listener to directly subscribe and unsubscribe to playerSpawn events instead of using PlayerSpawnSubscription.","shortMessageHtmlLink":"refactor: Remove PlayerSpawnSubscription class and its usage"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEOuEgYAA","startCursor":null,"endCursor":null}},"title":"Activity · Visual1mpact/Paradox_AntiCheat"}