Commit Graph

34 Commits

Author SHA1 Message Date
Shnimlz
7661b2b8b1 initial 2025-12-01 18:59:48 +00:00
Shnimlz
a5fbc573d0 v3.13.0-dev.1 2025-11-24 16:16:01 -06:00
Shni
585a351785 feat: actualizar la gestión de rutas de plantillas y archivos estáticos para mejorar la flexibilidad y la detección de archivos 2025-10-15 23:32:40 -05:00
Shni
408ac0e3fb feat(dashboard): enhance dashboard settings UI and add item management scripts
- Updated the dashboard settings partial to include a semi-transparent background for better visibility.
- Introduced a new script for validating the syntax of dashboard item scripts, ensuring better error handling and diagnostics.
- Added a comprehensive JavaScript file for managing dashboard items, including fetching, rendering, editing, and deleting items.
- Implemented various utility functions for handling alerts, rewards, and modal interactions within the item management interface.
- Created temporary scripts for debugging and parsing errors in item scripts, aiding in development and maintenance.
2025-10-15 15:53:50 -05:00
Shni
852b1d02a2 feat: Add scripts for mob dependency management and server setup
- Implemented `findMobDependencies.ts` to identify foreign key constraints referencing the Mob table and log dependent rows.
- Created `fullServerSetup.ts` for idempotent server setup, including economy items, item recipes, game areas, mobs, and optional demo mob attacks.
- Developed `removeInvalidMobsWithDeps.ts` to delete invalid mobs and their dependencies, backing up affected scheduled mob attacks.
- Added unit tests in `testMobUnit.ts` and `mob.test.ts` for mob functionality, including stats computation and instance retrieval.
- Introduced reward modification tests in `testRewardMods.ts` and `rewardMods.unit.ts` to validate drop selection and coin multiplier behavior.
- Enhanced command handling for mob deletion in `mobDelete.ts` and setup examples in `setup.ts`, ensuring proper permissions and feedback.
- Created utility functions in `testHelpers.ts` for deterministic drop selection from mob definitions.
2025-10-14 14:58:38 -05:00
Shni
f36fa24e46 Refactor item property parsing and centralize utility functions
- Moved `parseItemProps` function to `core/utils.ts` for reuse across modules.
- Updated various services to import and utilize the centralized `parseItemProps`.
- Introduced new utility functions for handling consumable cooldowns and healing calculations.
- Enhanced mob management with a new repository system, allowing for dynamic loading and validation of mob definitions from the database.
- Added admin functions for creating, updating, listing, and deleting mobs, with validation using Zod.
- Implemented tests for mob management functionalities.
- Improved error handling and logging throughout the mob and consumable services.
2025-10-14 12:57:53 -05:00
959ade0c3d Actualiza la versión en package.json a 2.0.22 2025-10-11 19:41:17 -05:00
Shni
19e3da18f1 Remove New Relic license key from package.json 2025-10-10 02:12:51 -05:00
0a67c80f64 feat: Actualizar la licencia a MIT y añadir guía de contribución 2025-10-10 00:53:04 -05:00
94dcfdc1d9 Refactor code structure for improved readability and maintainability 2025-10-09 23:47:24 -05:00
c9dd77b4bd feat: Mejorar el diseño del pie de página con nuevas secciones y estilos 2025-10-09 23:26:55 -05:00
e3994c352a Refactor code structure for improved readability and maintainability 2025-10-09 23:23:11 -05:00
646f62d2e9 feat(minigames): implement dual durability system for tools and weapons
- Introduced separation between `tool` (for gathering) and `weaponTool` (for combat) in minigames.
- Adjusted durability reduction logic to apply a 50% reduction for weapons used in combat to prevent instant breakage.
- Updated `RunResult` type to include `weaponTool` information.
- Enhanced `runMinigame` logic to handle weapon degradation during combat scenarios.
- Updated user commands to reflect both tool and weapon durability in outputs.
- Modified scheduled mob attacks to respect the new durability system.
- Added comprehensive documentation on the new dual durability feature and its implications for gameplay balance.
2025-10-09 02:23:51 -05:00
519e905384 feat: agregar penalizaciones por derrota en minijuegos y mejorar la visualización de estadísticas del jugador 2025-10-09 01:17:59 -05:00
3904c00114 feat: Add complete EJS documentation layout and sections for Amayo Bot
- Created main index.ejs view with header, footer, and content structure.
- Developed layout.ejs for consistent styling across pages.
- Implemented partials for various sections including admin, alliances, chests, basic commands, crafting, economy, and more.
- Added a table of contents for easy navigation.
- Included responsive design elements and animations using Tailwind CSS.
- Migrated content to EJS format for dynamic rendering.
2025-10-07 12:08:58 -05:00
a9087261ca feat: introduce Appwrite guild cache support and refactor guild config caching 2025-10-07 10:52:47 -05:00
875990b299 feat: add New Relic integration and optimize memory settings for production start 2025-10-06 10:58:03 -05:00
d168d7f40c fix: update version number in package.json and index.html to 2.0.1-dev 2025-10-06 00:15:13 -05:00
925be32519 feat(minigames): add seed script for minigames initialization 2025-10-05 00:50:59 -05:00
2d8a48d607 feat(env): conditionally load .env file for Node.js 20.6+; remove dotenv dependency 2025-10-04 18:17:38 -05:00
e005702480 feat(env): load dotenv in entrypoint; add .env.example; stop tracking .env files 2025-10-04 18:05:41 -05:00
c933da6c90 feat: update discord-api-types to version 0.38.26 for improved compatibility 2025-10-03 23:25:26 -05:00
1bbb273bc9 feat: update discord.js to version 15.0.0 for improved features and performance 2025-10-03 22:38:56 -05:00
630d58e8be feat: integrate pino logger for improved error handling and logging consistency 2025-10-02 20:11:33 -05:00
916b85acb4 feat: implement reminder command with Appwrite integration and polling mechanism 2025-09-28 01:00:43 -05:00
f56c98535b implement advanced memory optimization system with configurable settings 2025-09-25 22:57:24 -05:00
40b7597a3e feat: bump version to 0.11.20 and add README for bot multipurpose functionality 2025-09-23 22:56:17 -05:00
494617c4f6 feat: implement Prisma singleton for memory efficiency and add memory monitoring options 2025-09-23 22:38:06 -05:00
de7bcccb88 feat: enhance error handling and retry logic for Discord bot connections 2025-09-22 22:00:11 -05:00
ebc3c7226d feat: add Google AI command for Discord with token estimation and error handling 2025-09-21 15:10:28 -05:00
21210816c9 feat: add start script to package.json for easier development 2025-09-21 00:39:46 -05:00
dead584bec feat: enable Display Components V2 and add back navigation button 2025-09-21 00:16:04 -05:00
136baedfc9 chore: update version to 0.10.200 and enable Display Components V2 2025-09-20 20:26:38 -05:00
bf6a7e3024 Version Estable 2025-09-17 13:33:10 -05:00