Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/55honey/acore_levelupreward
LUA script for Azerothcore with ElunaLUA to reward players for reaching certain levels. Now with playercounter for official ranks.
https://github.com/55honey/acore_levelupreward
azerothcore azerothcore-lua hacktoberfest lua-script
Last synced: 7 days ago
JSON representation
LUA script for Azerothcore with ElunaLUA to reward players for reaching certain levels. Now with playercounter for official ranks.
- Host: GitHub
- URL: https://github.com/55honey/acore_levelupreward
- Owner: 55Honey
- License: agpl-3.0
- Created: 2021-03-01T17:27:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-06T19:22:39.000Z (over 1 year ago)
- Last Synced: 2024-05-01T16:25:52.071Z (7 months ago)
- Topics: azerothcore, azerothcore-lua, hacktoberfest, lua-script
- Language: Lua
- Homepage:
- Size: 157 KB
- Stars: 12
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## lua-LevelUpReward
Lua script for Azerothcore with ElunaLUA to reward players for reaching certain levels. The ingame mail they receive will also contain their rank to reach this level.**Proudly hosted on [ChromieCraft](https://www.chromiecraft.com/)**
#### Find me on patreon: https://www.patreon.com/HoneysAdds a db scheme specified in `Config_customDbName` on first startup.
## Requirements:
Compile your [Azerothcore](https://github.com/azerothcore/azerothcore-wotlk) with [Eluna Lua](https://www.azerothcore.org/catalogue-details.html?id=131435473).
The ElunaLua module itself usually doesn't require much setup/config. Just specify the subfolder where to put your lua_scripts in its .conf file.If the directory was not changed in the ElunaLua config, add the .lua script to your `../lua_scripts/` directory as a subfolder of the worldserver.
Adjust the top part of the .lua file with the config flags.Decide your mode:
`local Config_mailText = 2` 2 is the new, lore-friendly mode which includes a counter. With this flag set to 2, players will get to know their rank in the mail. 1 sends the original standard letter.If you add this script to an existing server, make sure to populate it's table with meaningful numbers.
## Player Usage:
- Play, reach a level set in the config and be rewarded by ingame mail## Example config:
`Config_mailText` is added to the "Hello [playerName]" head part of the mails sent.`Config_Gold[10] = 10000` grants 1 Gold to the players when they reach level 10.
`Config_ItemId[29] = 5740` sends one rocket to the players when they reach level 29.
A missing Item_Amount always results in *one* item.`Config_ItemId[29] = 5740`
`Config_ItemAmount[29] = 5` sends five rockets to the players when they reach level 29.Only one kind of item can be awarded per level. Multiple Config_ItemId flags for the same level do not work.
## Default config:
- 1g at Level 10
- 7g at Level 20
- 18g at Level 30
- 35g at Level 40
- 70g at Level 50
- 140g at Level 60
- 280g at Level 70
- 500g at Level 80