Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sogladev/mod-deathroll-aio
module that implements Deathroll with ElunaLUA and AIO, compatible for AzerothCore, ElunaTrinityWotlk
https://github.com/sogladev/mod-deathroll-aio
azerothcore-lua lua-scripts trinitycore-lua
Last synced: about 1 month ago
JSON representation
module that implements Deathroll with ElunaLUA and AIO, compatible for AzerothCore, ElunaTrinityWotlk
- Host: GitHub
- URL: https://github.com/sogladev/mod-deathroll-aio
- Owner: sogladev
- License: agpl-3.0
- Created: 2024-07-22T15:22:45.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-07-31T23:55:06.000Z (5 months ago)
- Last Synced: 2024-08-01T03:01:48.636Z (5 months ago)
- Topics: azerothcore-lua, lua-scripts, trinitycore-lua
- Language: Lua
- Homepage:
- Size: 143 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: .github/README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Module Deathroll
This is a module compatible for [AzerothCore](http://www.azerothcore.org), [ElunaTrinityWotlk](https://github.com/ElunaLuaEngine/ElunaTrinityWotlk) that implements Deathroll with ElunaLUA and AIO
## Features
- challenge other player to a deathroll
- set bet in gold
- set start roll
- mode to roll to the death
- no need to be grouped
- timeout after a set amount, refund players or award winner
- database persistence
- automatically awards winning player, if winnings are too large then gold is send through ingame mailui:
![deathroll_ui](https://github.com/user-attachments/assets/1fbe1299-3366-45fc-87c5-6b194272fa46)
to the death example:
https://github.com/user-attachments/assets/50a748df-52c2-429a-90e5-02596d377733
challenge and to the death example: https://www.youtube.com/watch?v=2YXcdoI8CQ0
## Configuration
- removeGoldAtStart: enable to take gold from players upon start of the game
- enableDB: enable database persistence, if removeGoldAtStart is enabled, on restart will refund games that were still in progress
- customize strings
- allowToTheDeath: enable/hide skull button
- set timeouts: how much time is allowed between rolls## Tested with
AzerothCore
ElunaTrinityWotlk## How to play:
- `.dr` to open the window
- `.dra` to accept a challenge
- `.drd` to decline a challenge, challenge can automatically timeout and decline
- `.drroll` to roll without using the gui
- `.drrefund` request refund if there was a server issueTarget another player and click "Challenge" or the "Skull". Skull will do "Challenge" and kill the losing player
## Requirements
AIO https://github.com/Rochet2/AIO/tree/master## Database
If config enabled, requires a table `deathroll`. This table will be auto generated on launch.These will be auto-executed on launch with `ac_eluna` changes based on your config
Recorded data
stores completed and in progress deathrolls
```
|id|challengerGUID|targetGUID|wager|status|time|
|--|--------------|----------|-----|------|----|
|1|94|70|10000|3|2024-07-24 21:37:43|
```## License
[LICENSE](./../LICENSE)
## How to create your own module
1. Use the script `create_module.sh` located in [`modules/`](https://github.com/azerothcore/azerothcore-wotlk/tree/master/modules) to start quickly with all the files you need and your git repo configured correctly (heavily recommended).
1. You can then use these scripts to start your project: https://github.com/azerothcore/azerothcore-boilerplates
1. Do not hesitate to compare with some of our newer/bigger/famous modules.
1. Edit the `README.md` and other files (`include.sh` etc...) to fit your module. Note: the README is automatically created from `README_example.md` when you use the script `create_module.sh`.
1. Publish your module to our [catalogue](https://github.com/azerothcore/modules-catalogue).