Skip to content

Commit

Permalink
chore. update api and module (#25)
Browse files Browse the repository at this point in the history
* chore. update api and module

* name locale and update sql
  • Loading branch information
pangolp authored Mar 12, 2024
1 parent 6ba366f commit 7e0a09d
Show file tree
Hide file tree
Showing 18 changed files with 376 additions and 267 deletions.
49 changes: 0 additions & 49 deletions .git_commit_template.txt

This file was deleted.

27 changes: 13 additions & 14 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Handle line endings automatically for files detected as
## text and leave all files detected as binary untouched.
## This will handle all files NOT defined below.
* text=auto eol=lf
* text eol=lf

# Text
*.conf text
Expand All @@ -28,20 +28,19 @@
*.h++ text
*.hh text


## For documentation

# Documents
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain

## DOCUMENTATION
*.markdown text
Expand All @@ -59,13 +58,13 @@ CHANGES text
CONTRIBUTING text
COPYING text
copyright text
*COPYRIGHT* text
COPYRIGHT text
INSTALL text
license text
LICENSE text
NEWS text
readme text
*README* text
README text
TODO text

## GRAPHICS
Expand Down
72 changes: 72 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Bug report
description: Create a bug report to help us improve.
title: "Bug: "
body:
- type: textarea
id: current
attributes:
label: Current Behaviour
description: |
Description of the problem or issue here.
Include entries of affected creatures / items / quests / spells etc.
If this is a crash, post the crashlog (upload to https://gist.github.com/) and include the link here.
Never upload files! Use GIST for text and YouTube for videos!
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected Behaviour
description: |
Tell us what should happen instead.
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce the problem
description: |
What does someone else need to do to encounter the same bug?
placeholder: |
1. Step 1
2. Step 2
3. Step 3
validations:
required: true
- type: textarea
id: extra
attributes:
label: Extra Notes
description: |
Do you have any extra notes that can help solve the issue that does not fit any other field?
placeholder: |
None
validations:
required: false
- type: textarea
id: commit
attributes:
label: AC rev. hash/commit
description: |
Copy the result of the `.server debug` command (if you need to run it from the client get a prat addon)
validations:
required: true
- type: input
id: os
attributes:
label: Operating system
description: |
The Operating System the Server is running on.
i.e. Windows 11 x64, Debian 10 x64, macOS 12, Ubuntu 20.04
validations:
required: true
- type: textarea
id: custom
attributes:
label: Custom changes or Modules
description: |
List which custom changes or modules you have applied, i.e. Eluna module, etc.
placeholder: |
None
validations:
required: false
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Feature request
description: Suggest an idea for this project
title: "Feature: "
body:
- type: markdown
attributes:
value: |
Thank you for taking your time to fill out a feature request. Remember to fill out all fields including the title above.
An issue that is not properly filled out will be closed.
- type: textarea
id: description
attributes:
label: Describe your feature request or suggestion in detail
description: |
A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
id: solution
attributes:
label: Describe a possible solution to your feature or suggestion in detail
description: |
A clear and concise description of any alternative solutions or features you've considered.
validations:
required: false
- type: textarea
id: additional
attributes:
label: Additional context
description: |
Add any other context or screenshots about the feature request here.
validations:
required: false
23 changes: 23 additions & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# ![logo](https://raw.githubusercontent.com/azerothcore/azerothcore.github.io/master/images/logo-github.png) AzerothCore

## RandomEnchantsModule

- Latest build status with azerothcore:

[![Build Status](https://github.com/azerothcore/mod-random-enchants/workflows/core-build/badge.svg?branch=master&event=push)](https://github.com/azerothcore/mod-random-enchants)

- Make sure to support the main project:

https://github.com/azerothcore/azerothcore-wotlk/

- This is a "fun" script/module converted from an LUA script I found, credits to whoever did this originally

## What this does

- Will sometimes add random enchantments on any item Looted, Quest Rewarded or Profession created

## Configurable

- Login message for the module (on, off and what to display)
- Select if you want to enchant loot, quest reward, profession or all
- Modify the source to mess with the chances of enchantment
25 changes: 25 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!-- First of all, THANK YOU for your contribution. -->

## Changes Proposed:
-
-

## Issues Addressed:
<!-- If your fix has a relating issue, link it below -->
- Closes

## SOURCE:
<!-- If you can, include a source that can strengthen your claim -->

## Tests Performed:
<!-- Does it build without errors? Did you test in-game? What did you test? On which OS did you test? Describe any other tests performed -->
-
-


## How to Test the Changes:
<!-- Describe in a detailed step-by-step order how to test the changes -->

1.
2.
3.
27 changes: 13 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,27 @@
#
#Generic
#

.directory
.mailmap
*.orig
*.rej
*.*~
.hg/
*.kdev*
* .orig
* .rej
* .*~
.hg /
*.kdev *
.DS_Store
CMakeLists.txt.user
*.bak
*.patch
*.diff
*.REMOTE.*
*.BACKUP.*
*.BASE.*
*.LOCAL.*
* .bak
* .patch
* .diff
* .REMOTE.*
* .BACKUP.*
* .BASE.*
* .LOCAL.*

#
# IDE & other softwares
#
/.settings/
/ .settings/
/.externalToolBuilders/*
# exclude in all levels
nbproject/
Expand Down
15 changes: 0 additions & 15 deletions README.md

This file was deleted.

Empty file added conf/.gitkeep
Empty file.
9 changes: 0 additions & 9 deletions conf/conf.sh.dist

This file was deleted.

File renamed without changes.
Empty file added data/.gitkeep
Empty file.
File renamed without changes.
9 changes: 0 additions & 9 deletions include.sh
Original file line number Diff line number Diff line change
@@ -1,9 +0,0 @@
#!/usr/bin/env bash

MOD_RANDOMENCHANTS_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/" && pwd )"

source "$MOD_RANDOMENCHANTS_ROOT/conf/conf.sh.dist"

if [ -f "$MOD_RANDOMENCHANTS_ROOT/conf/conf.sh" ]; then
source "$MOD_RANDOMENCHANTS_ROOT/conf/conf.sh"
fi
4 changes: 0 additions & 4 deletions setup_git_commit_template.sh

This file was deleted.

Loading

0 comments on commit 7e0a09d

Please sign in to comment.